From 24ec8ae3978d4c47b5b76eda58b9378e682a1622 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 20 Jan 2023 17:22:16 +0100 Subject: [PATCH 1/4] implementation of checkLogin() --- src/LoginCustomer.c | 5 +++++ src/LoginCustomer.h | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 src/LoginCustomer.c create mode 100644 src/LoginCustomer.h diff --git a/src/LoginCustomer.c b/src/LoginCustomer.c new file mode 100644 index 0000000..c9b956e --- /dev/null +++ b/src/LoginCustomer.c @@ -0,0 +1,5 @@ +#include "LoginCustomer.h" +bool checkLogin(bool loginSuccessful) +{ + return (loginSuccessful) ? true : false; +} diff --git a/src/LoginCustomer.h b/src/LoginCustomer.h new file mode 100644 index 0000000..7f0f8f9 --- /dev/null +++ b/src/LoginCustomer.h @@ -0,0 +1,3 @@ +#include +#include +bool checkLogin(bool); From 0155f61c652177b4aa808f297d5d4f32d67b23e6 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 20 Jan 2023 17:41:54 +0100 Subject: [PATCH 2/4] implementation of unit tests for checkLogin() --- build-project.sh | 5 - src/main.c | 7 - team.md | 9 - tests/build/test/cache/defines_dependency.yml | 3 + tests/build/test/cache/input.yml | 242 ++++++++++++++ tests/build/test/cache/test_LoginCustomer.c | 297 ++++++++++++++++++ tests/build/test/dependencies/LoginCustomer.d | 3 + tests/build/test/dependencies/cmock.d | 6 + .../test/dependencies/test_LoginCustomer.d | 4 + .../dependencies/test_LoginCustomer_runner.d | 4 + tests/build/test/dependencies/unity.d | 4 + tests/build/test/out/c/LoginCustomer.o | Bin 0 -> 2804 bytes tests/build/test/out/c/cmock.o | Bin 0 -> 8152 bytes tests/build/test/out/c/test_LoginCustomer.o | Bin 0 -> 5684 bytes .../test/out/c/test_LoginCustomer_runner.o | Bin 0 -> 6640 bytes tests/build/test/out/c/unity.o | Bin 0 -> 39856 bytes tests/build/test/out/test_LoginCustomer.out | Bin 0 -> 57036 bytes .../preprocess/files/test_LoginCustomer.c | 297 ++++++++++++++++++ .../preprocess/includes/test_LoginCustomer.c | 3 + .../test/results/test_LoginCustomer.pass | 18 ++ .../test/runners/test_LoginCustomer_runner.c | 81 +++++ tests/project.yml | 101 ++++++ tests/test/support/.gitkeep | 0 tests/test/test_LoginCustomer.c | 63 ++++ 24 files changed, 1126 insertions(+), 21 deletions(-) delete mode 100755 build-project.sh delete mode 100644 src/main.c delete mode 100644 team.md create mode 100644 tests/build/test/cache/defines_dependency.yml create mode 100644 tests/build/test/cache/input.yml create mode 100644 tests/build/test/cache/test_LoginCustomer.c create mode 100644 tests/build/test/dependencies/LoginCustomer.d create mode 100644 tests/build/test/dependencies/cmock.d create mode 100644 tests/build/test/dependencies/test_LoginCustomer.d create mode 100644 tests/build/test/dependencies/test_LoginCustomer_runner.d create mode 100644 tests/build/test/dependencies/unity.d create mode 100644 tests/build/test/out/c/LoginCustomer.o create mode 100644 tests/build/test/out/c/cmock.o create mode 100644 tests/build/test/out/c/test_LoginCustomer.o create mode 100644 tests/build/test/out/c/test_LoginCustomer_runner.o create mode 100644 tests/build/test/out/c/unity.o create mode 100755 tests/build/test/out/test_LoginCustomer.out create mode 100644 tests/build/test/preprocess/files/test_LoginCustomer.c create mode 100644 tests/build/test/preprocess/includes/test_LoginCustomer.c create mode 100644 tests/build/test/results/test_LoginCustomer.pass create mode 100644 tests/build/test/runners/test_LoginCustomer_runner.c create mode 100644 tests/project.yml create mode 100644 tests/test/support/.gitkeep create mode 100644 tests/test/test_LoginCustomer.c diff --git a/build-project.sh b/build-project.sh deleted file mode 100755 index fbd6ce9..0000000 --- a/build-project.sh +++ /dev/null @@ -1,5 +0,0 @@ -clear -cd src/ -gcc main.c -./a.out -rm a.out diff --git a/src/main.c b/src/main.c deleted file mode 100644 index 2e0147f..0000000 --- a/src/main.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - - return 0; -} diff --git a/team.md b/team.md deleted file mode 100644 index 02580e9..0000000 --- a/team.md +++ /dev/null @@ -1,9 +0,0 @@ -# Bankmanagement-System - -- Can Hacioglu, Fdlt3817 -- Atharva Kishor Naik, fdai7514 -- Julius Philipp Engel, fdai7057 -- Shivam Chaudhary, fdlt3781 -- Mohamed Yahya Dahi, fdai6618 -- Haytham Daoula, fdai7207 - diff --git a/tests/build/test/cache/defines_dependency.yml b/tests/build/test/cache/defines_dependency.yml new file mode 100644 index 0000000..9f4fffc --- /dev/null +++ b/tests/build/test/cache/defines_dependency.yml @@ -0,0 +1,3 @@ +--- +"/home/julius/Documents/Studium/Informatik/1. Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.c": +- TEST diff --git a/tests/build/test/cache/input.yml b/tests/build/test/cache/input.yml new file mode 100644 index 0000000..fb9e794 --- /dev/null +++ b/tests/build/test/cache/input.yml @@ -0,0 +1,242 @@ +--- +:project: + :use_exceptions: false + :use_mocks: true + :compile_threads: 1 + :test_threads: 1 + :use_test_preprocessor: true + :use_preprocessor_directives: false + :use_deep_dependencies: false + :generate_deep_dependencies: true + :auto_link_deep_dependencies: false + :test_file_prefix: test_ + :options_paths: [] + :release_build: false + :use_auxiliary_dependencies: true + :build_root: build + :which_ceedling: gem + :ceedling_version: 0.31.1 + :default_tasks: + - test:all +:release_build: + :use_assembly: false + :artifacts: [] +:paths: + :test: + - "+:test/**" + - "-:test/support" + :source: + - "/home/julius/Documents/Studium/Informatik/1. Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/**" + :support: + - test/support + :include: [] + :libraries: [] + :test_toolchain_include: [] + :release_toolchain_include: [] +:files: + :test: [] + :source: [] + :assembly: [] + :support: [] + :include: [] +:environment: +- :rake_columns: '120' +:defines: + :test: + - &1 [] + - TEST + :test_preprocess: + - *1 + - TEST + :release: [] + :release_preprocess: [] + :use_test_definition: false + :common: [] +:libraries: + :flag: "-l${1}" + :path_flag: "-L ${1}" + :test: [] + :test_preprocess: [] + :release: [] + :release_preprocess: [] + :placement: :end + :system: [] +:flags: {} +:extension: + :header: ".h" + :source: ".c" + :assembly: ".s" + :object: ".o" + :libraries: + - ".a" + - ".so" + :executable: ".out" + :map: ".map" + :list: ".lst" + :testpass: ".pass" + :testfail: ".fail" + :dependencies: ".d" +:unity: + :vendor_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor" + :defines: [] +:cmock: + :vendor_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor" + :defines: [] + :includes: [] + :mock_prefix: mock_ + :when_no_prototypes: :warn + :enforce_strict_ordering: true + :plugins: + - :ignore + - :callback + :treat_as: + uint8: HEX8 + uint16: HEX16 + uint32: UINT32 + int8: INT8 + bool: UINT8 + :mock_path: build/test/mocks + :verbosity: 3 + :unity_helper: false +:cexception: + :vendor_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor" + :defines: [] +:test_runner: + :includes: [] + :file_suffix: _runner +:tools: + :test_compiler: + :executable: gcc + :name: default_test_compiler + :stderr_redirect: :none + :background_exec: :none + :optional: false + :arguments: + - '' + - '' + - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR + - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE + - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR + - "-DGNU_COMPILER" + - "-g" + - '' + - -c "${1}" + - -o "${2}" + - "-MMD" + - -MF "${4}" + :test_fixture: + :executable: "${1}" + :name: default_test_fixture + :stderr_redirect: :auto + :background_exec: :none + :optional: false + :arguments: [] + :test_linker: + :executable: gcc + :name: default_test_linker + :stderr_redirect: :none + :background_exec: :none + :optional: false + :arguments: + - '' + - '' + - '' + - '"${1}"' + - "${5}" + - -o "${2}" + - '' + - "${4}" + - '' + :test_file_preprocessor: + :executable: gcc + :name: default_test_file_preprocessor + :stderr_redirect: :none + :background_exec: :none + :optional: false + :arguments: + - '' + - '' + - "-E" + - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR + - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE + - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR + - "-D$": DEFINES_TEST_PREPROCESS + - "-DGNU_COMPILER" + - '"${1}"' + - -o "${2}" + :test_file_preprocessor_directives: + :executable: gcc + :name: default_test_file_preprocessor_directives + :stderr_redirect: :none + :background_exec: :none + :optional: false + :arguments: + - "-E" + - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR + - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE + - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR + - "-D$": DEFINES_TEST_PREPROCESS + - "-DGNU_COMPILER" + - "-fdirectives-only" + - '"${1}"' + - -o "${2}" + :test_includes_preprocessor: + :executable: gcc + :name: default_test_includes_preprocessor + :stderr_redirect: :none + :background_exec: :none + :optional: false + :arguments: + - '' + - '' + - "-E" + - "-MM" + - "-MG" + - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR + - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE + - "-D$": COLLECTION_DEFINES_TEST_AND_VENDOR + - "-D$": DEFINES_TEST_PREPROCESS + - "-DGNU_COMPILER" + - '"${1}"' +:test_compiler: + :arguments: [] +:test_linker: + :arguments: [] +:test_fixture: + :arguments: [] + :link_objects: [] +:test_includes_preprocessor: + :arguments: [] +:test_file_preprocessor: + :arguments: [] +:test_file_preprocessor_directives: + :arguments: [] +:test_dependencies_generator: + :arguments: [] +:release_compiler: + :arguments: [] +:release_linker: + :arguments: [] +:release_assembler: + :arguments: [] +:release_dependencies_generator: + :arguments: [] +:plugins: + :load_paths: + - "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins" + :enabled: + - stdout_pretty_tests_report + - module_generator + :display_raw_test_results: false + :stdout_pretty_tests_report_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins/stdout_pretty_tests_report" + :module_generator_path: "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/lib/../plugins/module_generator" +:gcov: + :reports: + - HtmlDetailed + :gcovr: + :html_medium_threshold: 75 + :html_high_threshold: 90 +:module_generator: + :project_root: "./" + :source_root: src/ + :test_root: test/ diff --git a/tests/build/test/cache/test_LoginCustomer.c b/tests/build/test/cache/test_LoginCustomer.c new file mode 100644 index 0000000..5149d92 --- /dev/null +++ b/tests/build/test/cache/test_LoginCustomer.c @@ -0,0 +1,297 @@ +#include "Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h" +#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + +void setUp(){}; + +void tearDown(){}; + + + +void test_checkLogin() + +{ + + + + + + + +_Bool + + test_1_to_true = (4==4); + + + +_Bool + + test_2_to_true = ( + + 1 + + == + + 1 + + ); + + + +_Bool + + test_3_to_true = (1==1); + + + +_Bool + + test_4_to_true = ( + + 0 + + == + + 0 + + ); + + + +_Bool + + test_5_to_true = ('z'=='z'); + + + +_Bool + + test_6_to_true = ('='=='='); + + + +_Bool + + test_7_to_true = (0x1A==0x1A); + + + + + +_Bool + + test_1_to_false = (4!=4); + + + +_Bool + + test_2_to_false = ( + + 1 + + == + + 0 + + ); + + + +_Bool + + test_3_to_false = (1==0); + + + +_Bool + + test_4_to_false = ( + + 0 + + == + + 1 + + ); + + + +_Bool + + test_5_to_false = ('z'=='x'); + + + +_Bool + + test_6_to_false = ('!'==')'); + + + +_Bool + + test_7_to_false = (0x1A==0x2B); + + + + + + + + + +_Bool + + result_1 = checkLogin(test_1_to_true); + + + +_Bool + + result_2 = checkLogin(test_2_to_true); + + + +_Bool + + result_3 = checkLogin(test_3_to_true); + + + +_Bool + + result_4 = checkLogin(test_4_to_true); + + + +_Bool + + result_5 = checkLogin(test_5_to_true); + + + +_Bool + + result_6 = checkLogin(test_6_to_true); + + + +_Bool + + result_7 = checkLogin(test_7_to_true); + + + + + +_Bool + + result_8 = checkLogin(test_1_to_false); + + + +_Bool + + result_9 = checkLogin(test_2_to_false); + + + +_Bool + + result_10 = checkLogin(test_3_to_false); + + + +_Bool + + result_11 = checkLogin(test_4_to_false); + + + +_Bool + + result_12 = checkLogin(test_5_to_false); + + + +_Bool + + result_13 = checkLogin(test_6_to_false); + + + +_Bool + + result_14 = checkLogin(test_7_to_false); + + + + + + + + do {if ((result_1== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0); + + do {if ((result_2== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(48)));}} while(0); + + do {if ((result_3== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); + + do {if ((result_4== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(50)));}} while(0); + + do {if ((result_5== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(51)));}} while(0); + + do {if ((result_6== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0); + + do {if ((result_7== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); + + + + do {if (!(result_8)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(55)));}} while(0); + + do {if (!(result_9)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(56)));}} while(0); + + do {if (!(result_10)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(57)));}} while(0); + + do {if (!(result_11)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(58)));}} while(0); + + do {if (!(result_12)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(59)));}} while(0); + + do {if (!(result_13)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(60)));}} while(0); + + do {if (!(result_14)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(61)));}} while(0); + + + + + +} diff --git a/tests/build/test/dependencies/LoginCustomer.d b/tests/build/test/dependencies/LoginCustomer.d new file mode 100644 index 0000000..45e2415 --- /dev/null +++ b/tests/build/test/dependencies/LoginCustomer.d @@ -0,0 +1,3 @@ +build/test/out/c/LoginCustomer.o: \ + /home/julius/Documents/Studium/Informatik/1.\ Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.c \ + /home/julius/Documents/Studium/Informatik/1.\ Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h diff --git a/tests/build/test/dependencies/cmock.d b/tests/build/test/dependencies/cmock.d new file mode 100644 index 0000000..82b64c9 --- /dev/null +++ b/tests/build/test/dependencies/cmock.d @@ -0,0 +1,6 @@ +build/test/out/c/cmock.o: \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.c \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src/cmock_internals.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h diff --git a/tests/build/test/dependencies/test_LoginCustomer.d b/tests/build/test/dependencies/test_LoginCustomer.d new file mode 100644 index 0000000..1a634fe --- /dev/null +++ b/tests/build/test/dependencies/test_LoginCustomer.d @@ -0,0 +1,4 @@ +build/test/out/c/test_LoginCustomer.o: test/test_LoginCustomer.c \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h \ + /home/julius/Documents/Studium/Informatik/1.\ Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h diff --git a/tests/build/test/dependencies/test_LoginCustomer_runner.d b/tests/build/test/dependencies/test_LoginCustomer_runner.d new file mode 100644 index 0000000..1649170 --- /dev/null +++ b/tests/build/test/dependencies/test_LoginCustomer_runner.d @@ -0,0 +1,4 @@ +build/test/out/c/test_LoginCustomer_runner.o: \ + build/test/runners/test_LoginCustomer_runner.c \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h diff --git a/tests/build/test/dependencies/unity.d b/tests/build/test/dependencies/unity.d new file mode 100644 index 0000000..02f2997 --- /dev/null +++ b/tests/build/test/dependencies/unity.d @@ -0,0 +1,4 @@ +build/test/out/c/unity.o: \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.c \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h \ + /var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity_internals.h diff --git a/tests/build/test/out/c/LoginCustomer.o b/tests/build/test/out/c/LoginCustomer.o new file mode 100644 index 0000000000000000000000000000000000000000..8cb00aec5296a1fa79d354c6f99e9afe806a462d GIT binary patch literal 2804 zcmcgt+iM(E7(Zubce8fWZ7ywXjNm9OjmXaK28p#AO*Tnm=xR!nLIcV=JDJQ*vpZAf zQWL3)mqMi|2!cLDTA@!Of)Dy6_)rx51AO*H!3SRi-;BiHclMm_WEJ$OADsDp_wStV zT;`31`WenSQ^c9hdJ<#r40J7z3z%R>*%4vSLB8r`E_@1Z!b$RHx}~O7j_SQ zy|DYkog10scWyzK!N8Zl1&6_FV8?}mu?Hn;nSml$jpvr(qVfDJfi_?hWCrp=nY$vC z*&hLVChPez)ACu$pydZ15T4mpK;|!~xR%=?6NrlN9g?zDn7MY8c* zilYU+I9?p)Be|jbVLr|Zg=e5bEy?DQ+T_oU>BZB9rwUINPL3^&lKafDk7{Fl6zQ`} z*_KANV@OP;H4N1P;z+0HGcY=PA79S@EFQ#H>;lcQ+zL8Q`BKvMlBhf%*h$CnYFYKCu*S!@E||EV`*8M={92Zu)ilhl9r&&xKGgffk383R)(sNw#cX3N zF}f#}(3f(5TkMu&Zwe(7E!emGUT6B$Xzfa3+fEd1B<)_y?3NWW@wwa1MlA^1ENTT| zZ0t)SyDYpHU$|h*Ri7}b6?4+88k3dDYNcAO7^O~}_|CNJ_)h5A5UtQ|O?y+Pri_wn zls2qr+qYX`;0H-mO8i$mf4vl2&9)QCinNDpac=IkF){BnJh*a7sFvaEYB~0 z^*rNO^L%_TlevyVOGjHBZ-KML{57q1FnjSkcrZ2u`_nSE`zA;s1#}-3W!Ud~iYL_N zWl}m_zAQaiJO@gIKfO>r(wTh7q)KP^^^D+jcA!rl?33x0>X9y1l$M8k0yv!=>XSKB z9@L)^tVi{W97nVqn@mMezy5JQQwOop*g7?3x=!4sD+rvl&H9D9nHFoJj%ePBU>E9^O}k3EpZpL+1)hS*_6WU0j}&s_prX3P62k z+Chh&US|41?3lQ@r6{)S&2Eg-YHWm72N7-L1#dHg1Fo=FePpRjW4{a8?DE|oziqSEME_UJWSLJ&Q8uI@y zzY2WB{HO?s@}=JdmG2z%iYLDpF>VthN!jX<)9d&H>$n9St%Gho<)(R2yov!Ugf+o* zKguS~X-dBagOQSz-zDhMbw8A6mg>@LqUyd0Ud4cA+Yr7WMv}6<205MYHu9Ar< literal 0 HcmV?d00001 diff --git a/tests/build/test/out/c/cmock.o b/tests/build/test/out/c/cmock.o new file mode 100644 index 0000000000000000000000000000000000000000..162be594be8e993b0d9cd86d186661c8be1c8c4d GIT binary patch literal 8152 zcmbVR3vgW3c|Lb{kF=6jvL43BH8z*lfN7##$yLlt23xk|*vJnsORx#ZtKGW~ybt&8 zUD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En3R36MK>gJ6$w~G<{ek*7t1gSlg4>+}*vk zt2fcRwxg#jLDleXuRPhNsHA^b^x+2V)-zc&2kXa2Ly7OS>9nY^uEB9NgD(ZAHv)}$ zfiOTf`eDYW7@uc+neiWt=NSLZSWSx%s#U%J?(JXBp*ND7EKB=EoUdXFSVzjS(+vXfM82fD0Hk#&*UY#)lX&|A^nu zh_e;^7~`)PG4Ie{W&9`O8OE!Oc!fjUOvXDIG0)KP;RM{sxRbG;F$1J*GsnDx%lV_D z5BnSZ`;1{iAMrJeyBH4vsnC-^9HClae~zv%LfdjM?OK+R)of$f7TSPr>q6@<6oh8w z9Ri0o#RjKSLKd3JN1Ibf(A%`(7N9l? zEt${ZZBJ-s-ZnJ4&?5y~PYyX{jC5kq(sNWIW#x-|sH^{N!W#0P_RYj`yWqUWsgE-Y zxiSv-svAc~Rw-@)*|ZEwHyHMc_Y(s?r1_L_4z8h$begWD5pv?WxE=9K)W4WA%0NR} z=o$`{KA3k?M!f6(qPQlCL4CAbWI~+x?s41KMqbz|2li1M+T)t+d!r`OXuphVQ_MNKO*khaOt!k!Z0|w zKI|p$bHlVKu+Q*Zye+uT{UzCM88XEv)rWtJxXCr2Bf(o=6V>Og7rbq_^}Rqg%3xlQ z-lTmxhsMTD@FBm%=*C^9!C2}Bu@7dM@e%N>OrE%l*R2L;iB|7 IKW^NA0Cv(lyZ`_I literal 0 HcmV?d00001 diff --git a/tests/build/test/out/c/test_LoginCustomer_runner.o b/tests/build/test/out/c/test_LoginCustomer_runner.o new file mode 100644 index 0000000000000000000000000000000000000000..1efa0098329f45793f30fa73f4997cbedd2b4014 GIT binary patch literal 6640 zcma)A4Qw366`sAlwa>qI{tNj7E)a;LaCf#75|fg||G~v14zW>93CG^u`h4--Ub?p% z>?#z36&2S>Nvcv*HHZjRs(?17mD)ljT9AW6N)e?$kQ7=?96%X z7}}9`zxTcO=FQBTxtZC!x4W-LQ4}VN!c;cL7<;k zuRB5S(`}UmGqeAhot=2MQu-WeYwSl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ests/build/test/preprocess/files/test_LoginCustomer.c new file mode 100644 index 0000000..5149d92 --- /dev/null +++ b/tests/build/test/preprocess/files/test_LoginCustomer.c @@ -0,0 +1,297 @@ +#include "Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h" +#include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" + + +void setUp(){}; + +void tearDown(){}; + + + +void test_checkLogin() + +{ + + + + + + + +_Bool + + test_1_to_true = (4==4); + + + +_Bool + + test_2_to_true = ( + + 1 + + == + + 1 + + ); + + + +_Bool + + test_3_to_true = (1==1); + + + +_Bool + + test_4_to_true = ( + + 0 + + == + + 0 + + ); + + + +_Bool + + test_5_to_true = ('z'=='z'); + + + +_Bool + + test_6_to_true = ('='=='='); + + + +_Bool + + test_7_to_true = (0x1A==0x1A); + + + + + +_Bool + + test_1_to_false = (4!=4); + + + +_Bool + + test_2_to_false = ( + + 1 + + == + + 0 + + ); + + + +_Bool + + test_3_to_false = (1==0); + + + +_Bool + + test_4_to_false = ( + + 0 + + == + + 1 + + ); + + + +_Bool + + test_5_to_false = ('z'=='x'); + + + +_Bool + + test_6_to_false = ('!'==')'); + + + +_Bool + + test_7_to_false = (0x1A==0x2B); + + + + + + + + + +_Bool + + result_1 = checkLogin(test_1_to_true); + + + +_Bool + + result_2 = checkLogin(test_2_to_true); + + + +_Bool + + result_3 = checkLogin(test_3_to_true); + + + +_Bool + + result_4 = checkLogin(test_4_to_true); + + + +_Bool + + result_5 = checkLogin(test_5_to_true); + + + +_Bool + + result_6 = checkLogin(test_6_to_true); + + + +_Bool + + result_7 = checkLogin(test_7_to_true); + + + + + +_Bool + + result_8 = checkLogin(test_1_to_false); + + + +_Bool + + result_9 = checkLogin(test_2_to_false); + + + +_Bool + + result_10 = checkLogin(test_3_to_false); + + + +_Bool + + result_11 = checkLogin(test_4_to_false); + + + +_Bool + + result_12 = checkLogin(test_5_to_false); + + + +_Bool + + result_13 = checkLogin(test_6_to_false); + + + +_Bool + + result_14 = checkLogin(test_7_to_false); + + + + + + + + do {if ((result_1== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0); + + do {if ((result_2== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(48)));}} while(0); + + do {if ((result_3== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); + + do {if ((result_4== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(50)));}} while(0); + + do {if ((result_5== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(51)));}} while(0); + + do {if ((result_6== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0); + + do {if ((result_7== + +1 + +)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); + + + + do {if (!(result_8)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(55)));}} while(0); + + do {if (!(result_9)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(56)));}} while(0); + + do {if (!(result_10)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(57)));}} while(0); + + do {if (!(result_11)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(58)));}} while(0); + + do {if (!(result_12)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(59)));}} while(0); + + do {if (!(result_13)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(60)));}} while(0); + + do {if (!(result_14)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(61)));}} while(0); + + + + + +} diff --git a/tests/build/test/preprocess/includes/test_LoginCustomer.c b/tests/build/test/preprocess/includes/test_LoginCustomer.c new file mode 100644 index 0000000..8d24aa9 --- /dev/null +++ b/tests/build/test/preprocess/includes/test_LoginCustomer.c @@ -0,0 +1,3 @@ +--- +- "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" +- Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h diff --git a/tests/build/test/results/test_LoginCustomer.pass b/tests/build/test/results/test_LoginCustomer.pass new file mode 100644 index 0000000..bd31688 --- /dev/null +++ b/tests/build/test/results/test_LoginCustomer.pass @@ -0,0 +1,18 @@ +--- +:source: + :path: test + :file: test_LoginCustomer.c +:successes: +- :test: test_checkLogin + :line: 7 + :message: '' + :unity_test_time: 0 +:failures: [] +:ignores: [] +:counts: + :total: 1 + :passed: 1 + :failed: 0 + :ignored: 0 +:stdout: [] +:time: 0.0017807170006562956 diff --git a/tests/build/test/runners/test_LoginCustomer_runner.c b/tests/build/test/runners/test_LoginCustomer_runner.c new file mode 100644 index 0000000..f847d37 --- /dev/null +++ b/tests/build/test/runners/test_LoginCustomer_runner.c @@ -0,0 +1,81 @@ +/* AUTOGENERATED FILE. DO NOT EDIT. */ + +/*=======Automagically Detected Files To Include=====*/ +#include "unity.h" + +int GlobalExpectCount; +int GlobalVerifyOrder; +char* GlobalOrderError; + +/*=======External Functions This Runner Calls=====*/ +extern void setUp(void); +extern void tearDown(void); +extern void test_checkLogin(); + + +/*=======Mock Management=====*/ +static void CMock_Init(void) +{ + GlobalExpectCount = 0; + GlobalVerifyOrder = 0; + GlobalOrderError = NULL; +} +static void CMock_Verify(void) +{ +} +static void CMock_Destroy(void) +{ +} + +/*=======Test Reset Options=====*/ +void resetTest(void); +void resetTest(void) +{ + tearDown(); + CMock_Verify(); + CMock_Destroy(); + CMock_Init(); + setUp(); +} +void verifyTest(void); +void verifyTest(void) +{ + CMock_Verify(); +} + +/*=======Test Runner Used To Run Each Test=====*/ +static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num) +{ + Unity.CurrentTestName = name; + Unity.CurrentTestLineNumber = line_num; +#ifdef UNITY_USE_COMMAND_LINE_ARGS + if (!UnityTestMatches()) + return; +#endif + Unity.NumberOfTests++; + UNITY_CLR_DETAILS(); + UNITY_EXEC_TIME_START(); + CMock_Init(); + if (TEST_PROTECT()) + { + setUp(); + func(); + } + if (TEST_PROTECT()) + { + tearDown(); + CMock_Verify(); + } + CMock_Destroy(); + UNITY_EXEC_TIME_STOP(); + UnityConcludeTest(); +} + +/*=======MAIN=====*/ +int main(void) +{ + UnityBegin("test_LoginCustomer.c"); + run_test(test_checkLogin, "test_checkLogin", 7); + + return UnityEnd(); +} diff --git a/tests/project.yml b/tests/project.yml new file mode 100644 index 0000000..7245e5e --- /dev/null +++ b/tests/project.yml @@ -0,0 +1,101 @@ +--- + +# Notes: +# Sample project C code is not presently written to produce a release artifact. +# As such, release build options are disabled. +# This sample, therefore, only demonstrates running a collection of unit tests. + +:project: + :use_exceptions: FALSE + :use_test_preprocessor: TRUE + :use_auxiliary_dependencies: TRUE + :build_root: build +# :release_build: TRUE + :test_file_prefix: test_ + :which_ceedling: gem + :ceedling_version: 0.31.1 + :default_tasks: + - test:all + +#:test_build: +# :use_assembly: TRUE + +#:release_build: +# :output: MyApp.out +# :use_assembly: FALSE + +:environment: + +:extension: + :executable: .out + +:paths: + :test: + - +:test/** + - -:test/support + :source: + - /home/julius/Documents/Studium/Informatik/1. Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/** + :support: + - test/support + :libraries: [] + +:defines: + # in order to add common defines: + # 1) remove the trailing [] from the :common: section + # 2) add entries to the :common: section (e.g. :test: has TEST defined) + :common: &common_defines [] + :test: + - *common_defines + - TEST + :test_preprocess: + - *common_defines + - TEST + +:cmock: + :mock_prefix: mock_ + :when_no_prototypes: :warn + :enforce_strict_ordering: TRUE + :plugins: + - :ignore + - :callback + :treat_as: + uint8: HEX8 + uint16: HEX16 + uint32: UINT32 + int8: INT8 + bool: UINT8 + +# Add -gcov to the plugins list to make sure of the gcov plugin +# You will need to have gcov and gcovr both installed to make it work. +# For more information on these options, see docs in plugins/gcov +:gcov: + :reports: + - HtmlDetailed + :gcovr: + :html_medium_threshold: 75 + :html_high_threshold: 90 + +#:tools: +# Ceedling defaults to using gcc for compiling, linking, etc. +# As [:tools] is blank, gcc will be used (so long as it's in your system path) +# See documentation to configure a given toolchain for use + +# LIBRARIES +# These libraries are automatically injected into the build process. Those specified as +# common will be used in all types of builds. Otherwise, libraries can be injected in just +# tests or releases. These options are MERGED with the options in supplemental yaml files. +:libraries: + :placement: :end + :flag: "-l${1}" + :path_flag: "-L ${1}" + :system: [] # for example, you might list 'm' to grab the math library + :test: [] + :release: [] + +:plugins: + :load_paths: + - "#{Ceedling.load_path}" + :enabled: + - stdout_pretty_tests_report + - module_generator +... diff --git a/tests/test/support/.gitkeep b/tests/test/support/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tests/test/test_LoginCustomer.c b/tests/test/test_LoginCustomer.c new file mode 100644 index 0000000..fc23e10 --- /dev/null +++ b/tests/test/test_LoginCustomer.c @@ -0,0 +1,63 @@ +#include +#include "LoginCustomer.h" + +void setUp(){}; +void tearDown(){}; + +void test_checkLogin() +{ + /*arrange*/ + + bool test_1_to_true = (4==4); + bool test_2_to_true = (true==true); + bool test_3_to_true = (1==1); + bool test_4_to_true = (false==false); + bool test_5_to_true = ('z'=='z'); + bool test_6_to_true = ('='=='='); + bool test_7_to_true = (0x1A==0x1A); + + bool test_1_to_false = (4!=4); + bool test_2_to_false = (true==false); + bool test_3_to_false = (1==0); + bool test_4_to_false = (false==true); + bool test_5_to_false = ('z'=='x'); + bool test_6_to_false = ('!'==')'); + bool test_7_to_false = (0x1A==0x2B); + + /*act*/ + + bool result_1 = checkLogin(test_1_to_true); + bool result_2 = checkLogin(test_2_to_true); + bool result_3 = checkLogin(test_3_to_true); + bool result_4 = checkLogin(test_4_to_true); + bool result_5 = checkLogin(test_5_to_true); + bool result_6 = checkLogin(test_6_to_true); + bool result_7 = checkLogin(test_7_to_true); + + bool result_8 = checkLogin(test_1_to_false); + bool result_9 = checkLogin(test_2_to_false); + bool result_10 = checkLogin(test_3_to_false); + bool result_11 = checkLogin(test_4_to_false); + bool result_12 = checkLogin(test_5_to_false); + bool result_13 = checkLogin(test_6_to_false); + bool result_14 = checkLogin(test_7_to_false); + + /*assertions*/ + + TEST_ASSERT_TRUE(result_1); + TEST_ASSERT_TRUE(result_2); + TEST_ASSERT_TRUE(result_3); + TEST_ASSERT_TRUE(result_4); + TEST_ASSERT_TRUE(result_5); + TEST_ASSERT_TRUE(result_6); + TEST_ASSERT_TRUE(result_7); + + TEST_ASSERT_FALSE(result_8); + TEST_ASSERT_FALSE(result_9); + TEST_ASSERT_FALSE(result_10); + TEST_ASSERT_FALSE(result_11); + TEST_ASSERT_FALSE(result_12); + TEST_ASSERT_FALSE(result_13); + TEST_ASSERT_FALSE(result_14); + +} From d13b024635dbef37e247251cfec3121c08976352 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 20 Jan 2023 19:08:26 +0100 Subject: [PATCH 3/4] refactoring: replaced variables with arrays and the consecutive use of assertions with for-loops --- tests/build/test/cache/test_LoginCustomer.c | 270 ++---------------- tests/build/test/out/c/LoginCustomer.o | Bin 2804 -> 3008 bytes tests/build/test/out/c/test_LoginCustomer.o | Bin 5684 -> 4140 bytes .../test/out/c/test_LoginCustomer_runner.o | Bin 6640 -> 6640 bytes tests/build/test/out/test_LoginCustomer.out | Bin 57036 -> 56560 bytes .../preprocess/files/test_LoginCustomer.c | 270 ++---------------- .../test/results/test_LoginCustomer.pass | 4 +- .../test/runners/test_LoginCustomer_runner.c | 2 +- tests/test/test_LoginCustomer.c | 64 +---- 9 files changed, 74 insertions(+), 536 deletions(-) diff --git a/tests/build/test/cache/test_LoginCustomer.c b/tests/build/test/cache/test_LoginCustomer.c index 5149d92..28f8ec8 100644 --- a/tests/build/test/cache/test_LoginCustomer.c +++ b/tests/build/test/cache/test_LoginCustomer.c @@ -1,297 +1,87 @@ #include "Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h" #include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - void setUp(){}; void tearDown(){}; - - void test_checkLogin() { - - - - -_Bool - - test_1_to_true = (4==4); - - - -_Bool - - test_2_to_true = ( - - 1 - - == - - 1 - - ); - - - -_Bool - - test_3_to_true = (1==1); - - - -_Bool - - test_4_to_true = ( - - 0 - - == - - 0 - - ); - - - -_Bool - - test_5_to_true = ('z'=='z'); - - - -_Bool - - test_6_to_true = ('='=='='); - - - -_Bool - - test_7_to_true = (0x1A==0x1A); - - - - - -_Bool - - test_1_to_false = (4!=4); - - - -_Bool - - test_2_to_false = ( - - 1 - - == - - 0 - - ); - - - -_Bool - - test_3_to_false = (1==0); - - - -_Bool - - test_4_to_false = ( - - 0 - - == - - 1 - - ); - - - -_Bool - - test_5_to_false = ('z'=='x'); - - - -_Bool - - test_6_to_false = ('!'==')'); - - - -_Bool - - test_7_to_false = (0x1A==0x2B); - - - - - - - - - -_Bool - - result_1 = checkLogin(test_1_to_true); - - - -_Bool - - result_2 = checkLogin(test_2_to_true); - - - -_Bool - - result_3 = checkLogin(test_3_to_true); - - - -_Bool - - result_4 = checkLogin(test_4_to_true); - - - -_Bool - - result_5 = checkLogin(test_5_to_true); - - - -_Bool - - result_6 = checkLogin(test_6_to_true); - _Bool - result_7 = checkLogin(test_7_to_true); + expected_test_values_compute_to_true[] = {4==4, + 1 + == - + 1 -_Bool + , 1==1, - result_8 = checkLogin(test_1_to_false); + 0 - + == -_Bool + 0 - result_9 = checkLogin(test_2_to_false); + , 'z'=='z', '='=='=',0x1A==0x1A}; - - -_Bool - - result_10 = checkLogin(test_3_to_false); - - - -_Bool - - result_11 = checkLogin(test_4_to_false); - - - -_Bool + int length_1 = sizeof(expected_test_values_compute_to_true)/sizeof( - result_12 = checkLogin(test_5_to_false); + _Bool - + ); -_Bool - result_13 = checkLogin(test_6_to_false); _Bool - result_14 = checkLogin(test_7_to_false); - - - - - - - - do {if ((result_1== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0); - - do {if ((result_2== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(48)));}} while(0); - - do {if ((result_3== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); - - do {if ((result_4== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(50)));}} while(0); - - do {if ((result_5== + expected_test_values_compute_to_false[] = {4!=4, -1 + 1 -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(51)));}} while(0); + == - do {if ((result_6== + 0 -1 + ,1==0, -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0); + 0 - do {if ((result_7== + == -1 + 1 -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); + ,'z'=='x','!'==')',0x1A==0x2B}; + int length_2 = sizeof(expected_test_values_compute_to_false)/sizeof( + _Bool - do {if (!(result_8)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(55)));}} while(0); + ); - do {if (!(result_9)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(56)));}} while(0); - do {if (!(result_10)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(57)));}} while(0); - do {if (!(result_11)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(58)));}} while(0); - do {if (!(result_12)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(59)));}} while(0); - do {if (!(result_13)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(60)));}} while(0); + for(int i=0;i<7;++i) { - do {if (!(result_14)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(61)));}} while(0); + do {if ((checkLogin(expected_test_values_compute_to_true[i]))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(16)));}} while(0); + } + for(int i=0;i<7;++i){ + do {if (!(checkLogin(expected_test_values_compute_to_false[i]))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(19)));}} while(0); + } } diff --git a/tests/build/test/out/c/LoginCustomer.o b/tests/build/test/out/c/LoginCustomer.o index 8cb00aec5296a1fa79d354c6f99e9afe806a462d..82cb77b53f1898426f37bd91e324cb4ef976af5c 100644 GIT binary patch delta 593 zcmaJ-O>0v@6rDSnc^^qyUn({&Rfv6w1$j`bRj?McRir`?H$oRyEU}nE+GvfNfPz9q zQL&G^aABz1ETpyuT^EXi;vet_2yVJ4bZ1L?=J5nqF7DiO&YXMa&fPh*kzLNoYfd|l2-VY8TCecK@HP^sef!eLh@UE<@A5r3mblk`ZRJfBSbFd1>VxHkJiCR z3SpK-Nh~ww?_$2rudG19aI5{vIz<%lV|9>sZBIY5(2FyUPi20nvRrgLpc!XKmr<)C zU(@k)1?)4gJHBqAVvTY5Z&3_?%m!caxrKU6Cq^PYl0u3f>AICf`WzV6cnue2ZCAzuTez9C^iR1 zh#(?1(LxX+2zHj1B7%QFNGmuOl7ZcM^XAPwc3+aMzSA5(Fsu3L{E;#AT4RhEbm)c( zFc$R*X4(W}+3MjWd{mpc{2wvEWzcPeWe`?kf`)+i2bh53Ak3#DJw<2MnQ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`1x$MK(HIU-Y8{`IGNW|F>K+M+}-S}@34^zfGp}bDE zn;Lx6#QiQIM45dR+}Sjh7m#y?B@)AJEn3R36MK>gJ6$w~G<{ek*7t1gSlg4>+}*vk zt2fcRwxg#jLDleXuRPhNsHA^b^x+2V)-zc&2kXa2Ly7OS>9nY^uEB9NgD(ZAHv)}$ zfiOTf`eDYW7@uc+neiWt=NSLZSWSx%s#U%J?(JXBp*ND7EKB=EoUdXFSVzjS(+vXfM82fD0Hk#&*UY#)lX&|A^nu zh_e;^7~`)PG4Ie{W&9`O8OE!Oc!fjUOvXDIG0)KP;RM{sxRbG;F$1J*GsnDx%lV_D z5BnSZ`;1{iAMrJeyBH4vsnC-^9HClae~zv%LfdjM?OK+R)of$f7TSPr>q6@<6oh8w z9Ri0o#RjKSLKd3JN1Ibf(A%`(7N9l? zEt${ZZBJ-s-ZnJ4&?5y~PYyX{jC5kq(sNWIW#x-|sH^{N!W#0P_RYj`yWqUWsgE-Y zxiSv-svAc~Rw-@)*|ZEwHyHMc_Y(s?r1_L_4z8h$begWD5pv?WxE=9K)W4WA%0NR} z=o$`{KA3k?M!f6(qPQlCL4CAbWI~+x?s41KMqbz|2li1M+T)t+d!r`OXuphVQ_MNKO*khaOt!k!Z0|w zKI|p$bHlVKu+Q*Zye+uT{UzCM88XEv)rWtJxXCr2Bf(o=6V>Og7rbq_^}Rqg%3xlQ z-lTmxhsMTD@FBm%=*C^9!C2}Bu@7dM@e%N>OrE%l*R2L;iB|7 IKW^NA0Cv(lyZ`_I diff --git a/tests/build/test/out/c/test_LoginCustomer_runner.o b/tests/build/test/out/c/test_LoginCustomer_runner.o index 1efa0098329f45793f30fa73f4997cbedd2b4014..f839ac15db6dc490a724e363b3356e2a82b4c553 100644 GIT binary patch delta 14 Vcmexh{K0s`OGZZ4&94~QBmgtQ1)~4} delta 14 Vcmexh{K0s`OGZZa&94~QBmgtc1*HH0 diff --git a/tests/build/test/out/test_LoginCustomer.out b/tests/build/test/out/test_LoginCustomer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c%{R=hxf{y1hdlIQHl!n4#i0(p_ z@;D5u|5nmm*!3Ypi;apt?a6^9jmT9>2yE@ZeWjft-5EP9?NB~x4)yJ(*@sO_-PaK=1*l3w>ErX=dONb&$vIOe&+I>E`i$9{e%m@Xq*y}DsP0ys2Xzjl8J=`73hj+T zN28FTS(lw2BYP>$r~b*ib`9~wd0BH7>266ueLeKT2%Zrwy}P3N-56)R?S=tOXXAU$ znUhyB;yrhhiXXRcOt%rd1)eHzl#qI6Mgq5DAUD){q6Yio?`R)RR!?Cmr6-WvS$muqjE{Sg_X9RQ&I zyMc|%D8d5RSg;Ad1)NhrI~Z0}+-+@Fu}Y-WF~Zn!C=6?WzXSdd%OX92+>g;spYcSa z5Q@Wqv8Pi5^v6_Vex*0RBg@`c~3gHD>6aLsz<^dbmO(ZV> zHa>0$zX5DKktonLL0&dCHk1Q!eZChsvH$>201snd0GlD#BH+)e-C#^9Fc{6)E#Ly+ zeN+JGg`Zjk;JV538n4nG1Lm!l+q0Gy8q(jW)8VXz5~$i{ht6k>smClZCOz{V9b$sYsm zh+)L%gpAM-;M-87BOuAA0QWC2dKku*kbVP9f4eWxBj~0Oz5&LBOvc{S4SWDRDVDJ> zbi5bXxS^y5s)4O=AXS%pfQ@@8k~18{=@X8=;0XHz8wU(2pFA&re*S`K(~>4vcn_~q zD_%d|%*Kbe6}wKmR9c&`YF|7(L}@M3&O|iYf=r+{vtsO-7ZhF@C4Tre+H&zl{H0Zd zoQ+YJzk*~57G2Lqt6#mt*ug+C?QFEAd^hq=l$?#R)E>njjKqg$W5WDS;lEMf++sXN G@qYlX7%#g3 diff --git a/tests/build/test/preprocess/files/test_LoginCustomer.c b/tests/build/test/preprocess/files/test_LoginCustomer.c index 5149d92..28f8ec8 100644 --- a/tests/build/test/preprocess/files/test_LoginCustomer.c +++ b/tests/build/test/preprocess/files/test_LoginCustomer.c @@ -1,297 +1,87 @@ #include "Semester/ProgMeth/Bankmanagement/bankmanagement-system/src/LoginCustomer.h" #include "/var/lib/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" - - void setUp(){}; void tearDown(){}; - - void test_checkLogin() { - - - - -_Bool - - test_1_to_true = (4==4); - - - -_Bool - - test_2_to_true = ( - - 1 - - == - - 1 - - ); - - - -_Bool - - test_3_to_true = (1==1); - - - -_Bool - - test_4_to_true = ( - - 0 - - == - - 0 - - ); - - - -_Bool - - test_5_to_true = ('z'=='z'); - - - -_Bool - - test_6_to_true = ('='=='='); - - - -_Bool - - test_7_to_true = (0x1A==0x1A); - - - - - -_Bool - - test_1_to_false = (4!=4); - - - -_Bool - - test_2_to_false = ( - - 1 - - == - - 0 - - ); - - - -_Bool - - test_3_to_false = (1==0); - - - -_Bool - - test_4_to_false = ( - - 0 - - == - - 1 - - ); - - - -_Bool - - test_5_to_false = ('z'=='x'); - - - -_Bool - - test_6_to_false = ('!'==')'); - - - -_Bool - - test_7_to_false = (0x1A==0x2B); - - - - - - - - - -_Bool - - result_1 = checkLogin(test_1_to_true); - - - -_Bool - - result_2 = checkLogin(test_2_to_true); - - - -_Bool - - result_3 = checkLogin(test_3_to_true); - - - -_Bool - - result_4 = checkLogin(test_4_to_true); - - - -_Bool - - result_5 = checkLogin(test_5_to_true); - - - -_Bool - - result_6 = checkLogin(test_6_to_true); - _Bool - result_7 = checkLogin(test_7_to_true); + expected_test_values_compute_to_true[] = {4==4, + 1 + == - + 1 -_Bool + , 1==1, - result_8 = checkLogin(test_1_to_false); + 0 - + == -_Bool + 0 - result_9 = checkLogin(test_2_to_false); + , 'z'=='z', '='=='=',0x1A==0x1A}; - - -_Bool - - result_10 = checkLogin(test_3_to_false); - - - -_Bool - - result_11 = checkLogin(test_4_to_false); - - - -_Bool + int length_1 = sizeof(expected_test_values_compute_to_true)/sizeof( - result_12 = checkLogin(test_5_to_false); + _Bool - + ); -_Bool - result_13 = checkLogin(test_6_to_false); _Bool - result_14 = checkLogin(test_7_to_false); - - - - - - - - do {if ((result_1== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(47)));}} while(0); - - do {if ((result_2== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(48)));}} while(0); - - do {if ((result_3== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(49)));}} while(0); - - do {if ((result_4== - -1 - -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(50)));}} while(0); - - do {if ((result_5== + expected_test_values_compute_to_false[] = {4!=4, -1 + 1 -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(51)));}} while(0); + == - do {if ((result_6== + 0 -1 + ,1==0, -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(52)));}} while(0); + 0 - do {if ((result_7== + == -1 + 1 -)) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(53)));}} while(0); + ,'z'=='x','!'==')',0x1A==0x2B}; + int length_2 = sizeof(expected_test_values_compute_to_false)/sizeof( + _Bool - do {if (!(result_8)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(55)));}} while(0); + ); - do {if (!(result_9)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(56)));}} while(0); - do {if (!(result_10)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(57)));}} while(0); - do {if (!(result_11)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(58)));}} while(0); - do {if (!(result_12)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(59)));}} while(0); - do {if (!(result_13)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(60)));}} while(0); + for(int i=0;i<7;++i) { - do {if (!(result_14)) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(61)));}} while(0); + do {if ((checkLogin(expected_test_values_compute_to_true[i]))) {} else {UnityFail( ((" Expected TRUE Was FALSE")), (UNITY_UINT)((UNITY_UINT)(16)));}} while(0); + } + for(int i=0;i<7;++i){ + do {if (!(checkLogin(expected_test_values_compute_to_false[i]))) {} else {UnityFail( ((" Expected FALSE Was TRUE")), (UNITY_UINT)((UNITY_UINT)(19)));}} while(0); + } } diff --git a/tests/build/test/results/test_LoginCustomer.pass b/tests/build/test/results/test_LoginCustomer.pass index bd31688..730ed0b 100644 --- a/tests/build/test/results/test_LoginCustomer.pass +++ b/tests/build/test/results/test_LoginCustomer.pass @@ -4,7 +4,7 @@ :file: test_LoginCustomer.c :successes: - :test: test_checkLogin - :line: 7 + :line: 5 :message: '' :unity_test_time: 0 :failures: [] @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.0017807170006562956 +:time: 0.001912861000164412 diff --git a/tests/build/test/runners/test_LoginCustomer_runner.c b/tests/build/test/runners/test_LoginCustomer_runner.c index f847d37..f061ca9 100644 --- a/tests/build/test/runners/test_LoginCustomer_runner.c +++ b/tests/build/test/runners/test_LoginCustomer_runner.c @@ -75,7 +75,7 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l int main(void) { UnityBegin("test_LoginCustomer.c"); - run_test(test_checkLogin, "test_checkLogin", 7); + run_test(test_checkLogin, "test_checkLogin", 5); return UnityEnd(); } diff --git a/tests/test/test_LoginCustomer.c b/tests/test/test_LoginCustomer.c index fc23e10..610a847 100644 --- a/tests/test/test_LoginCustomer.c +++ b/tests/test/test_LoginCustomer.c @@ -1,63 +1,21 @@ #include #include "LoginCustomer.h" - void setUp(){}; void tearDown(){}; - void test_checkLogin() { /*arrange*/ - - bool test_1_to_true = (4==4); - bool test_2_to_true = (true==true); - bool test_3_to_true = (1==1); - bool test_4_to_true = (false==false); - bool test_5_to_true = ('z'=='z'); - bool test_6_to_true = ('='=='='); - bool test_7_to_true = (0x1A==0x1A); - - bool test_1_to_false = (4!=4); - bool test_2_to_false = (true==false); - bool test_3_to_false = (1==0); - bool test_4_to_false = (false==true); - bool test_5_to_false = ('z'=='x'); - bool test_6_to_false = ('!'==')'); - bool test_7_to_false = (0x1A==0x2B); + bool expected_test_values_compute_to_true[] = {4==4,true==true, 1==1, false==false, 'z'=='z', '='=='=',0x1A==0x1A}; + int length_1 = sizeof(expected_test_values_compute_to_true)/sizeof(bool); - /*act*/ - - bool result_1 = checkLogin(test_1_to_true); - bool result_2 = checkLogin(test_2_to_true); - bool result_3 = checkLogin(test_3_to_true); - bool result_4 = checkLogin(test_4_to_true); - bool result_5 = checkLogin(test_5_to_true); - bool result_6 = checkLogin(test_6_to_true); - bool result_7 = checkLogin(test_7_to_true); - - bool result_8 = checkLogin(test_1_to_false); - bool result_9 = checkLogin(test_2_to_false); - bool result_10 = checkLogin(test_3_to_false); - bool result_11 = checkLogin(test_4_to_false); - bool result_12 = checkLogin(test_5_to_false); - bool result_13 = checkLogin(test_6_to_false); - bool result_14 = checkLogin(test_7_to_false); - - /*assertions*/ - - TEST_ASSERT_TRUE(result_1); - TEST_ASSERT_TRUE(result_2); - TEST_ASSERT_TRUE(result_3); - TEST_ASSERT_TRUE(result_4); - TEST_ASSERT_TRUE(result_5); - TEST_ASSERT_TRUE(result_6); - TEST_ASSERT_TRUE(result_7); - - TEST_ASSERT_FALSE(result_8); - TEST_ASSERT_FALSE(result_9); - TEST_ASSERT_FALSE(result_10); - TEST_ASSERT_FALSE(result_11); - TEST_ASSERT_FALSE(result_12); - TEST_ASSERT_FALSE(result_13); - TEST_ASSERT_FALSE(result_14); + bool expected_test_values_compute_to_false[] = {4!=4,true==false,1==0,false==true,'z'=='x','!'==')',0x1A==0x2B}; + int length_2 = sizeof(expected_test_values_compute_to_false)/sizeof(bool); + /*act and assertions*/ + for(int i=0;i<7;++i) { + TEST_ASSERT_TRUE(checkLogin(expected_test_values_compute_to_true[i])); + } + for(int i=0;i<7;++i){ + TEST_ASSERT_FALSE(checkLogin(expected_test_values_compute_to_false[i])); + } } From 3e7a7d3c89873307b7cf5bc02f28bae148a24956 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Sat, 21 Jan 2023 15:02:45 +0100 Subject: [PATCH 4/4] Implementation of functions LoginAsCustomer() and Login() --- src/CustomerData.txt | 6 +++ src/CustomerProperties.h | 4 ++ src/LoginCustomer.c | 92 ++++++++++++++++++++++++++++++++++++++++ src/LoginCustomer.h | 7 +++ 4 files changed, 109 insertions(+) create mode 100644 src/CustomerData.txt create mode 100644 src/CustomerProperties.h diff --git a/src/CustomerData.txt b/src/CustomerData.txt new file mode 100644 index 0000000..3ac070f --- /dev/null +++ b/src/CustomerData.txt @@ -0,0 +1,6 @@ +1234=example +ID=1234 +forename=Max +Surname=Mustermann +password=example +balance=0 diff --git a/src/CustomerProperties.h b/src/CustomerProperties.h new file mode 100644 index 0000000..2bbab62 --- /dev/null +++ b/src/CustomerProperties.h @@ -0,0 +1,4 @@ +typedef struct Customer{ + char *ID, *forename, *surname, *password; + float balance; +}customer_t; diff --git a/src/LoginCustomer.c b/src/LoginCustomer.c index c9b956e..5c2a7a4 100644 --- a/src/LoginCustomer.c +++ b/src/LoginCustomer.c @@ -1,5 +1,97 @@ #include "LoginCustomer.h" + bool checkLogin(bool loginSuccessful) { return (loginSuccessful) ? true : false; } + +void collectCustomerDataForLogin(int attempts) +{ + customer_t c; + c.ID = calloc(15+1,sizeof(char)); + c.password = calloc(15+1, sizeof(char)); + char digitCharacterFromUser, passwordCharacterFromUser; + int IDLengthCounter = 0, passwordLengthCounter = 0; + const int IDMaxLength = 16, passwordMaxLength = 16; + + printf("Enter ID:\n"); + while(((digitCharacterFromUser=getchar()) != '\n')&&IDLengthCounter='0'&&digitCharacterFromUser<='9'){ + *(c.ID+IDLengthCounter) = digitCharacterFromUser; + } + else{ + printf("Character entered is not a digit. Aborting.\n"); + exit(-1); + } + ++IDLengthCounter; + } + *(c.ID+IDLengthCounter) = '\0'; + + if(IDLengthCounter>=IDMaxLength){ + printf("ID entered is too long. Aborting.\n"); + exit(-1); + } + + printf("Enter password:\n"); + while((passwordCharacterFromUser=getchar())!='\n'&&passwordLengthCounter=passwordMaxLength){ + printf("Password entered is too long. Aborting.\n"); + exit(-1); + } + customer_t *ptr = &c; + bool loginSuccessful = loginCustomer(ptr); + if(loginSuccessful ) { + printf("Welcome to the menu!\n"); + //call menu() + }else if(!loginSuccessful && attempts < MAX_LOGIN_ATTEMPTS){ + printf("You have %d attempts left.\n", MAX_LOGIN_ATTEMPTS - attempts); + collectCustomerDataForLogin(++attempts); + }else{ + printf("Maximum number of attempts reached. Program terminates.\n"); + exit(-1); + //call error() + } + +} + +bool loginCustomer(customer_t *c) +{ + bool foundCustomerEntryInFile = false; + char *searchForThisString = generateCheckString(c->ID,c->password); + char *lineFromCustomerFile = calloc(40,sizeof(char)); + FILE *readCustomerFile = fopen("CustomerData.txt", "r"); + if(readCustomerFile==NULL){ + printf("Could not find file. Aborting.\n"); + exit(-1); + //call error() + } + while((fscanf(readCustomerFile,"%s",lineFromCustomerFile)!=EOF)){ + if(strcmp(searchForThisString,lineFromCustomerFile)==0){ + foundCustomerEntryInFile = true; + break; + } + } + + if(checkLogin(foundCustomerEntryInFile)){ + printf("Login successful.\n"); + return foundCustomerEntryInFile; + }else{ + printf("Login not successful.\n"); + } + fclose(readCustomerFile); + return foundCustomerEntryInFile; +} + +char *generateCheckString(char *ID, char *password){ + int checkStringLength = strlen(ID) + 1 + strlen(password) + 1; + char *checkString = calloc(checkStringLength, sizeof(char)); + checkString = strcat(ID,"="); + checkString = strcat(checkString,password); + *(checkString+checkStringLength) = '\0'; + return checkString; +} diff --git a/src/LoginCustomer.h b/src/LoginCustomer.h index 7f0f8f9..809765b 100644 --- a/src/LoginCustomer.h +++ b/src/LoginCustomer.h @@ -1,3 +1,10 @@ #include +#include #include +#include +#include "CustomerProperties.h" +#define MAX_LOGIN_ATTEMPTS 3 +char *generateCheckString(char *, char*); bool checkLogin(bool); +void collectCustomerDataForLogin(int); +bool loginCustomer(customer_t *);