fdai7207
|
e2b5f842b6
|
Merge remote-tracking branch 'origin/development-backup' into Alpha
|
2 years ago |
fdai7207
|
09d2d7fd8e
|
Merge branch 'backup-for-employees-infos-access' into 'Alpha'
merge From backup-for-employees-infos-access into Alpha
See merge request fdai7057/bankmanagement-system!36
|
2 years ago |
fdai7207
|
4c7665e527
|
Merge branch 'Alpha' into 'backup-for-employees-infos-access'
# Conflicts:
# build-project.sh
# src/main.c
|
2 years ago |
fdai7207
|
b6ec68c25e
|
refactoring: made unit test of the function isValidAdress() more readable by removing code duplicates.
|
2 years ago |
fdai7207
|
97fd90edae
|
refactoring: removed redundancy in the isValidAdress() function.
|
2 years ago |
fdai7207
|
f194873640
|
implement unit tests for the isValidAdress() function.
|
2 years ago |
fdai7207
|
9cad95ce80
|
implement the function isValidAdress().
|
2 years ago |
fdai7207
|
4c49a78378
|
refactoring : removed code duplicates for better readability in the unit tests of the function isValidPhoneNumber().
|
2 years ago |
fdai7207
|
fc6033da00
|
refactoring: removed redundant code from the function isValidPhoneNumber() and the constant from the function and added it to the header file.
|
2 years ago |
fdai7207
|
1e047c30b0
|
implement the function isValidPhoneNumber() in the getNewEmployeeCredentials() function.
|
2 years ago |
fdai7207
|
57292f4b64
|
implement unit tests for the function validPhoneNumber().
|
2 years ago |
fdai7207
|
1112a6f365
|
refactoring: removed redundant codes from the unit tests of the isValidName() function.
|
2 years ago |
fdai7207
|
5ba7c64f53
|
correct some logical mistakes in the test_createEmployeeAccount.c file
|
2 years ago |
fdai7207
|
d5952a55bf
|
refactoring: removed some constants from the .c file and added them to the header file and made the isValidName() function more readable.
|
2 years ago |
fdai7207
|
cb92ce69b6
|
implement the isValidName() in the getNewEmployeeCredentials() and fixed a bug in the createNewEmployee() function.
|
2 years ago |
fdai7207
|
80b26f2a6d
|
implement unit tests for the new function isvalidName().
|
2 years ago |
fdai7207
|
6a1e132e53
|
refactoring: replaced 4 arrays in the unit tests of the function storeEmployeeData() with one matrix to avoid repeated code and removed unnecessary lines.
|
2 years ago |
fdai7207
|
6ad040483c
|
refactoring: removed unnecessary lines and changed variables to constants in the storeEmployeeData() given that the function doesnt modify them.
|
2 years ago |
fdai7207
|
b5a764b566
|
implemented the storeEmployeeData() function in the getnewEmployeeCredentials() function in order for the new employee to enter his personal data.
|
2 years ago |
fdai7207
|
c659f9b9aa
|
implement unit tests for the function storeEmployeeData() and fixed a bug in the unit tests of the function chooseOption.
|
2 years ago |
fdai7057
|
6f595fb2dd
|
Implementation of unit test for calculateStringLength().
|
2 years ago |
fdai7057
|
0a3e444766
|
refactoring: renamed function calLen() to calculateStringLength and inner variables in order to increase readability. Now it is easier to understand.
|
2 years ago |
fdai7057
|
68e5650300
|
Implementation of function calLen().
|
2 years ago |
fdai7057
|
73813b54cb
|
refactoring: Changed name of function charIsUp to characterIsUpperCase() and inner variable in order to increase readability.
|
2 years ago |
fdai7057
|
75eb70c8b3
|
Implementation of function charIsUp()
|
2 years ago |
fdai7057
|
0f7ae88baa
|
Implementation of unit test for function customerChoiceForMenuItem().
|
2 years ago |
fdai7057
|
5068387141
|
Modification of the function customerChoiceForMenuItem(). Change void to int. This function now has a return value. Each return value has a meaning. The meaning of the return value lies in the user's choice for a menu item.
|
2 years ago |
fdai7057
|
f55f596853
|
Integrated the customer menu in our programm. The user gains access to the customer menu if the login was successful. From there the user can choose between different menu entries. In the build-script, the file customerMenu.c is added to the files which get compiled.
|
2 years ago |
fdai7057
|
afa674f8d2
|
refactoring: Where possible, remove the use of printf() and use puts() instead in customerMenu.c. One advantage is that it prints the new line character automatically.
|
2 years ago |
fdai7057
|
57d68ed3ed
|
Merge branch 'feature/customer-menu' into 'development'
Merge feature/customer-menu into development.
See merge request fdai7057/bankmanagement-system!17
|
2 years ago |
fdai7057
|
ae13e9fbd1
|
prepare merge from feature/customer-menu into development
|
2 years ago |
fdai7057
|
fc927da8c0
|
Extend the test for errorMessage() by adding new test values and assertions.
|
2 years ago |
fdai7057
|
1d3092544f
|
Add new cases inside the switch of the function errorMessage(). Remove the call to the function exit() inside errorMessage(). It is now done by the function that calls it. Now the different return values of this function make sense.
|
2 years ago |
fdai7207
|
95aadea7bb
|
refactoring: replaced the redundant arrays in the unit tests of verifyPassword() function with a matrix for better readability
|
2 years ago |
fdai7207
|
c06136470d
|
refactoring: improved code readability by removing redundant lines, renaming variables and adding comments for documentation.
|
2 years ago |
fdai7207
|
cd4fb8fb7d
|
implement the verifyPassword() function in the getNewEmployeeCredentials() so that the validity of the password can be checked twice.
|
2 years ago |
fdai7207
|
69a25cfa6a
|
implemented unit tests for the new function verifyPassword() and changed the .txt files name while adding a new .txt file for personal emoyees data.
|
2 years ago |
fdai7207
|
1dc001b251
|
refactoring: removed redundant code from the unit tests of the function isValidPassword().
|
2 years ago |
fdai7207
|
0ec4eadc97
|
refactoring: made code more readable by changing some variable name in the isValidPassword() function and added some documentation.
|
2 years ago |
fdai7207
|
39fce8d436
|
implement the isValidPassword() function in the getNewEmployeeCredentials() function in order to check the validity of the entered password.
|
2 years ago |
fdai7207
|
17327b8e43
|
implement unit tests for the function isValidPassword().
|
2 years ago |
fdai7207
|
7f0db86eb1
|
refactoring : removed redundant code from the unit tests of the isValidEmployee() function.
|
2 years ago |
fdai7207
|
25b42cd0c0
|
refactoring: changed some variabales names in createEmployeeAccount.c for better readability.
|
2 years ago |
fdai7207
|
fed4a0a3ad
|
implement the isValidEmployeeID() in the getNewEmployeeCredentials to check Id's validity
|
2 years ago |
fdai7207
|
5e72e1f652
|
optimised the isValidEmployeeID() function and its unit tests
|
2 years ago |
fdai7057
|
1d49c20634
|
Call to errorMessage() with error code -12 in collectCustomerProperties if the user enters too many digits for the account balance.
|
2 years ago |
fdai7057
|
58704be59a
|
Modification of the function collectCustomerProperties. It now contains a call to balanceToDouble(). The reason is: The function scanf() is eliminated. Instead, the input is completely handled by getchar(). Each character is stored consecutively. Thus it can be the parameter for balanceToDouble().
|
2 years ago |
fdai7057
|
fe311209d7
|
refactoring: rename stod to balanceToDouble and its internal variable. The purpose of this function is to convert the user input for the account balance into a double and the new names states this purpose better.
|
2 years ago |
fdai7057
|
ac04c8d244
|
Implementation of function stod() and rename file stringManipulation.{c,h} to helperFunctions.{c,h} because the functions implemented there address different problems and not only string-specific problems.
|
2 years ago |
fdai7057
|
be8ceb2652
|
Modified error handling. The error for invalid input for forename and surname when creating a new customer account is caught.
|
2 years ago |