From 84d177175a29863f761be238cb7234b0bca02fc8 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 09:46:36 +0000 Subject: [PATCH 1/7] move text2tab version contant --- src/zcl_mockup_loader.clas.abap | 2 +- src/zcl_mockup_loader.clas.testclasses.abap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zcl_mockup_loader.clas.abap b/src/zcl_mockup_loader.clas.abap index d2e7769..d420b5d 100644 --- a/src/zcl_mockup_loader.clas.abap +++ b/src/zcl_mockup_loader.clas.abap @@ -270,7 +270,7 @@ CLASS ZCL_MOCKUP_LOADER IMPLEMENTATION. if zcl_text2tab_parser=>check_version_fits( lc_required_ver ) = abap_false. zcx_mockup_loader_error=>raise( - msg = |text2tab version ({ zif_text2tab_constants=>version + msg = |text2tab version ({ zif_text2tab=>version }) is lower than required ({ lc_required_ver })| code = 'VL' ). "#EC NOTEXT endif. diff --git a/src/zcl_mockup_loader.clas.testclasses.abap b/src/zcl_mockup_loader.clas.testclasses.abap index b787495..1fdd718 100644 --- a/src/zcl_mockup_loader.clas.testclasses.abap +++ b/src/zcl_mockup_loader.clas.testclasses.abap @@ -99,7 +99,7 @@ class ltcl_dependencies_version implementation. if abap_false = zcl_text2tab_parser=>check_version_fits( lc_required_ver ). cl_abap_unit_assert=>fail( |data parser version ({ - zif_text2tab_constants=>version }) is lower than required ({ + zif_text2tab=>version }) is lower than required ({ lc_required_ver })| ). "#EC NOTEXT endif. From 3be51cae27f4962ae8f491d72695c21df214813c Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 10:06:43 +0000 Subject: [PATCH 2/7] move part of objects --- src/core/package.devc.xml | 10 ++++++++++ src/examples/package.devc.xml | 10 ++++++++++ src/{ => examples}/zmockup_loader_example.prog.abap | 0 src/{ => examples}/zmockup_loader_example.prog.xml | 0 4 files changed, 20 insertions(+) create mode 100644 src/core/package.devc.xml create mode 100644 src/examples/package.devc.xml rename src/{ => examples}/zmockup_loader_example.prog.abap (100%) rename src/{ => examples}/zmockup_loader_example.prog.xml (100%) diff --git a/src/core/package.devc.xml b/src/core/package.devc.xml new file mode 100644 index 0000000..ecbcbba --- /dev/null +++ b/src/core/package.devc.xml @@ -0,0 +1,10 @@ + + + + + + Mockup loader for unit tests, Core package + + + + diff --git a/src/examples/package.devc.xml b/src/examples/package.devc.xml new file mode 100644 index 0000000..af7c6e4 --- /dev/null +++ b/src/examples/package.devc.xml @@ -0,0 +1,10 @@ + + + + + + Mockup loader for unit tests, Examples and non essentials + + + + diff --git a/src/zmockup_loader_example.prog.abap b/src/examples/zmockup_loader_example.prog.abap similarity index 100% rename from src/zmockup_loader_example.prog.abap rename to src/examples/zmockup_loader_example.prog.abap diff --git a/src/zmockup_loader_example.prog.xml b/src/examples/zmockup_loader_example.prog.xml similarity index 100% rename from src/zmockup_loader_example.prog.xml rename to src/examples/zmockup_loader_example.prog.xml From 8b3f899669250e3afeb2d183213b90ed820ab220 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 10:24:43 +0000 Subject: [PATCH 3/7] move objects to relevant subpackages --- src/{ => core}/zcl_mockup_loader.clas.abap | 0 .../zcl_mockup_loader.clas.testclasses.abap | 0 src/{ => core}/zcl_mockup_loader.clas.xml | 0 .../zcl_mockup_loader_deep_providr.clas.abap | 0 ...mockup_loader_deep_providr.clas.testclasses.abap | 0 .../zcl_mockup_loader_deep_providr.clas.xml | 0 src/{ => core}/zcl_mockup_loader_store.clas.abap | 0 .../zcl_mockup_loader_store.clas.testclasses.abap | 0 src/{ => core}/zcl_mockup_loader_store.clas.xml | 0 .../zcl_mockup_loader_stub_base.clas.abap | 0 ...cl_mockup_loader_stub_base.clas.testclasses.abap | 0 src/{ => core}/zcl_mockup_loader_stub_base.clas.xml | 0 .../zcl_mockup_loader_stub_factory.clas.abap | 0 ..._mockup_loader_stub_factory.clas.locals_imp.abap | 0 ...mockup_loader_stub_factory.clas.testclasses.abap | 0 .../zcl_mockup_loader_stub_factory.clas.xml | 0 src/{ => core}/zcl_mockup_loader_utils.clas.abap | 0 .../zcl_mockup_loader_utils.clas.testclasses.abap | 0 src/{ => core}/zcl_mockup_loader_utils.clas.xml | 0 src/{ => core}/zcx_mockup_loader_error.clas.abap | 0 .../zcx_mockup_loader_error.clas.testclasses.abap | 0 src/{ => core}/zcx_mockup_loader_error.clas.xml | 0 src/{ => core}/zif_mockup_loader.intf.abap | 0 src/{ => core}/zif_mockup_loader.intf.xml | 0 .../zif_mockup_loader_stub_control.intf.abap | 0 .../zif_mockup_loader_stub_control.intf.xml | 0 .../zif_mockup_loader_stub_dummy.intf.abap | 0 .../zif_mockup_loader_stub_dummy.intf.xml | 0 src/{ => core}/zmockup_loader_smime.para.xml | 0 src/{ => core}/zmockup_loader_spath.para.xml | 0 src/{ => core}/zmockup_loader_stype.para.xml | 0 .../zmockup_loader_unit_test.w3mi.data.zip | Bin src/{ => core}/zmockup_loader_unit_test.w3mi.xml | 0 src/devtools/package.devc.xml | 10 ++++++++++ .../zmockup_loader_switch_source.prog.abap | 0 .../zmockup_loader_switch_source.prog.xml | 0 src/{ => devtools}/zmockup_loader_swsrc.tran.xml | 0 .../zmockup_loader_example.w3mi.data.zip | Bin src/{ => examples}/zmockup_loader_example.w3mi.xml | 0 39 files changed, 10 insertions(+) rename src/{ => core}/zcl_mockup_loader.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader.clas.xml (100%) rename src/{ => core}/zcl_mockup_loader_deep_providr.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader_deep_providr.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader_deep_providr.clas.xml (100%) rename src/{ => core}/zcl_mockup_loader_store.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader_store.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader_store.clas.xml (100%) rename src/{ => core}/zcl_mockup_loader_stub_base.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader_stub_base.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader_stub_base.clas.xml (100%) rename src/{ => core}/zcl_mockup_loader_stub_factory.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader_stub_factory.clas.locals_imp.abap (100%) rename src/{ => core}/zcl_mockup_loader_stub_factory.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader_stub_factory.clas.xml (100%) rename src/{ => core}/zcl_mockup_loader_utils.clas.abap (100%) rename src/{ => core}/zcl_mockup_loader_utils.clas.testclasses.abap (100%) rename src/{ => core}/zcl_mockup_loader_utils.clas.xml (100%) rename src/{ => core}/zcx_mockup_loader_error.clas.abap (100%) rename src/{ => core}/zcx_mockup_loader_error.clas.testclasses.abap (100%) rename src/{ => core}/zcx_mockup_loader_error.clas.xml (100%) rename src/{ => core}/zif_mockup_loader.intf.abap (100%) rename src/{ => core}/zif_mockup_loader.intf.xml (100%) rename src/{ => core}/zif_mockup_loader_stub_control.intf.abap (100%) rename src/{ => core}/zif_mockup_loader_stub_control.intf.xml (100%) rename src/{ => core}/zif_mockup_loader_stub_dummy.intf.abap (100%) rename src/{ => core}/zif_mockup_loader_stub_dummy.intf.xml (100%) rename src/{ => core}/zmockup_loader_smime.para.xml (100%) rename src/{ => core}/zmockup_loader_spath.para.xml (100%) rename src/{ => core}/zmockup_loader_stype.para.xml (100%) rename src/{ => core}/zmockup_loader_unit_test.w3mi.data.zip (100%) rename src/{ => core}/zmockup_loader_unit_test.w3mi.xml (100%) create mode 100644 src/devtools/package.devc.xml rename src/{ => devtools}/zmockup_loader_switch_source.prog.abap (100%) rename src/{ => devtools}/zmockup_loader_switch_source.prog.xml (100%) rename src/{ => devtools}/zmockup_loader_swsrc.tran.xml (100%) rename src/{ => examples}/zmockup_loader_example.w3mi.data.zip (100%) rename src/{ => examples}/zmockup_loader_example.w3mi.xml (100%) diff --git a/src/zcl_mockup_loader.clas.abap b/src/core/zcl_mockup_loader.clas.abap similarity index 100% rename from src/zcl_mockup_loader.clas.abap rename to src/core/zcl_mockup_loader.clas.abap diff --git a/src/zcl_mockup_loader.clas.testclasses.abap b/src/core/zcl_mockup_loader.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader.clas.testclasses.abap rename to src/core/zcl_mockup_loader.clas.testclasses.abap diff --git a/src/zcl_mockup_loader.clas.xml b/src/core/zcl_mockup_loader.clas.xml similarity index 100% rename from src/zcl_mockup_loader.clas.xml rename to src/core/zcl_mockup_loader.clas.xml diff --git a/src/zcl_mockup_loader_deep_providr.clas.abap b/src/core/zcl_mockup_loader_deep_providr.clas.abap similarity index 100% rename from src/zcl_mockup_loader_deep_providr.clas.abap rename to src/core/zcl_mockup_loader_deep_providr.clas.abap diff --git a/src/zcl_mockup_loader_deep_providr.clas.testclasses.abap b/src/core/zcl_mockup_loader_deep_providr.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader_deep_providr.clas.testclasses.abap rename to src/core/zcl_mockup_loader_deep_providr.clas.testclasses.abap diff --git a/src/zcl_mockup_loader_deep_providr.clas.xml b/src/core/zcl_mockup_loader_deep_providr.clas.xml similarity index 100% rename from src/zcl_mockup_loader_deep_providr.clas.xml rename to src/core/zcl_mockup_loader_deep_providr.clas.xml diff --git a/src/zcl_mockup_loader_store.clas.abap b/src/core/zcl_mockup_loader_store.clas.abap similarity index 100% rename from src/zcl_mockup_loader_store.clas.abap rename to src/core/zcl_mockup_loader_store.clas.abap diff --git a/src/zcl_mockup_loader_store.clas.testclasses.abap b/src/core/zcl_mockup_loader_store.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader_store.clas.testclasses.abap rename to src/core/zcl_mockup_loader_store.clas.testclasses.abap diff --git a/src/zcl_mockup_loader_store.clas.xml b/src/core/zcl_mockup_loader_store.clas.xml similarity index 100% rename from src/zcl_mockup_loader_store.clas.xml rename to src/core/zcl_mockup_loader_store.clas.xml diff --git a/src/zcl_mockup_loader_stub_base.clas.abap b/src/core/zcl_mockup_loader_stub_base.clas.abap similarity index 100% rename from src/zcl_mockup_loader_stub_base.clas.abap rename to src/core/zcl_mockup_loader_stub_base.clas.abap diff --git a/src/zcl_mockup_loader_stub_base.clas.testclasses.abap b/src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader_stub_base.clas.testclasses.abap rename to src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap diff --git a/src/zcl_mockup_loader_stub_base.clas.xml b/src/core/zcl_mockup_loader_stub_base.clas.xml similarity index 100% rename from src/zcl_mockup_loader_stub_base.clas.xml rename to src/core/zcl_mockup_loader_stub_base.clas.xml diff --git a/src/zcl_mockup_loader_stub_factory.clas.abap b/src/core/zcl_mockup_loader_stub_factory.clas.abap similarity index 100% rename from src/zcl_mockup_loader_stub_factory.clas.abap rename to src/core/zcl_mockup_loader_stub_factory.clas.abap diff --git a/src/zcl_mockup_loader_stub_factory.clas.locals_imp.abap b/src/core/zcl_mockup_loader_stub_factory.clas.locals_imp.abap similarity index 100% rename from src/zcl_mockup_loader_stub_factory.clas.locals_imp.abap rename to src/core/zcl_mockup_loader_stub_factory.clas.locals_imp.abap diff --git a/src/zcl_mockup_loader_stub_factory.clas.testclasses.abap b/src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader_stub_factory.clas.testclasses.abap rename to src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap diff --git a/src/zcl_mockup_loader_stub_factory.clas.xml b/src/core/zcl_mockup_loader_stub_factory.clas.xml similarity index 100% rename from src/zcl_mockup_loader_stub_factory.clas.xml rename to src/core/zcl_mockup_loader_stub_factory.clas.xml diff --git a/src/zcl_mockup_loader_utils.clas.abap b/src/core/zcl_mockup_loader_utils.clas.abap similarity index 100% rename from src/zcl_mockup_loader_utils.clas.abap rename to src/core/zcl_mockup_loader_utils.clas.abap diff --git a/src/zcl_mockup_loader_utils.clas.testclasses.abap b/src/core/zcl_mockup_loader_utils.clas.testclasses.abap similarity index 100% rename from src/zcl_mockup_loader_utils.clas.testclasses.abap rename to src/core/zcl_mockup_loader_utils.clas.testclasses.abap diff --git a/src/zcl_mockup_loader_utils.clas.xml b/src/core/zcl_mockup_loader_utils.clas.xml similarity index 100% rename from src/zcl_mockup_loader_utils.clas.xml rename to src/core/zcl_mockup_loader_utils.clas.xml diff --git a/src/zcx_mockup_loader_error.clas.abap b/src/core/zcx_mockup_loader_error.clas.abap similarity index 100% rename from src/zcx_mockup_loader_error.clas.abap rename to src/core/zcx_mockup_loader_error.clas.abap diff --git a/src/zcx_mockup_loader_error.clas.testclasses.abap b/src/core/zcx_mockup_loader_error.clas.testclasses.abap similarity index 100% rename from src/zcx_mockup_loader_error.clas.testclasses.abap rename to src/core/zcx_mockup_loader_error.clas.testclasses.abap diff --git a/src/zcx_mockup_loader_error.clas.xml b/src/core/zcx_mockup_loader_error.clas.xml similarity index 100% rename from src/zcx_mockup_loader_error.clas.xml rename to src/core/zcx_mockup_loader_error.clas.xml diff --git a/src/zif_mockup_loader.intf.abap b/src/core/zif_mockup_loader.intf.abap similarity index 100% rename from src/zif_mockup_loader.intf.abap rename to src/core/zif_mockup_loader.intf.abap diff --git a/src/zif_mockup_loader.intf.xml b/src/core/zif_mockup_loader.intf.xml similarity index 100% rename from src/zif_mockup_loader.intf.xml rename to src/core/zif_mockup_loader.intf.xml diff --git a/src/zif_mockup_loader_stub_control.intf.abap b/src/core/zif_mockup_loader_stub_control.intf.abap similarity index 100% rename from src/zif_mockup_loader_stub_control.intf.abap rename to src/core/zif_mockup_loader_stub_control.intf.abap diff --git a/src/zif_mockup_loader_stub_control.intf.xml b/src/core/zif_mockup_loader_stub_control.intf.xml similarity index 100% rename from src/zif_mockup_loader_stub_control.intf.xml rename to src/core/zif_mockup_loader_stub_control.intf.xml diff --git a/src/zif_mockup_loader_stub_dummy.intf.abap b/src/core/zif_mockup_loader_stub_dummy.intf.abap similarity index 100% rename from src/zif_mockup_loader_stub_dummy.intf.abap rename to src/core/zif_mockup_loader_stub_dummy.intf.abap diff --git a/src/zif_mockup_loader_stub_dummy.intf.xml b/src/core/zif_mockup_loader_stub_dummy.intf.xml similarity index 100% rename from src/zif_mockup_loader_stub_dummy.intf.xml rename to src/core/zif_mockup_loader_stub_dummy.intf.xml diff --git a/src/zmockup_loader_smime.para.xml b/src/core/zmockup_loader_smime.para.xml similarity index 100% rename from src/zmockup_loader_smime.para.xml rename to src/core/zmockup_loader_smime.para.xml diff --git a/src/zmockup_loader_spath.para.xml b/src/core/zmockup_loader_spath.para.xml similarity index 100% rename from src/zmockup_loader_spath.para.xml rename to src/core/zmockup_loader_spath.para.xml diff --git a/src/zmockup_loader_stype.para.xml b/src/core/zmockup_loader_stype.para.xml similarity index 100% rename from src/zmockup_loader_stype.para.xml rename to src/core/zmockup_loader_stype.para.xml diff --git a/src/zmockup_loader_unit_test.w3mi.data.zip b/src/core/zmockup_loader_unit_test.w3mi.data.zip similarity index 100% rename from src/zmockup_loader_unit_test.w3mi.data.zip rename to src/core/zmockup_loader_unit_test.w3mi.data.zip diff --git a/src/zmockup_loader_unit_test.w3mi.xml b/src/core/zmockup_loader_unit_test.w3mi.xml similarity index 100% rename from src/zmockup_loader_unit_test.w3mi.xml rename to src/core/zmockup_loader_unit_test.w3mi.xml diff --git a/src/devtools/package.devc.xml b/src/devtools/package.devc.xml new file mode 100644 index 0000000..fa918f9 --- /dev/null +++ b/src/devtools/package.devc.xml @@ -0,0 +1,10 @@ + + + + + + Mockup loader for unit tests, Development utils + + + + diff --git a/src/zmockup_loader_switch_source.prog.abap b/src/devtools/zmockup_loader_switch_source.prog.abap similarity index 100% rename from src/zmockup_loader_switch_source.prog.abap rename to src/devtools/zmockup_loader_switch_source.prog.abap diff --git a/src/zmockup_loader_switch_source.prog.xml b/src/devtools/zmockup_loader_switch_source.prog.xml similarity index 100% rename from src/zmockup_loader_switch_source.prog.xml rename to src/devtools/zmockup_loader_switch_source.prog.xml diff --git a/src/zmockup_loader_swsrc.tran.xml b/src/devtools/zmockup_loader_swsrc.tran.xml similarity index 100% rename from src/zmockup_loader_swsrc.tran.xml rename to src/devtools/zmockup_loader_swsrc.tran.xml diff --git a/src/zmockup_loader_example.w3mi.data.zip b/src/examples/zmockup_loader_example.w3mi.data.zip similarity index 100% rename from src/zmockup_loader_example.w3mi.data.zip rename to src/examples/zmockup_loader_example.w3mi.data.zip diff --git a/src/zmockup_loader_example.w3mi.xml b/src/examples/zmockup_loader_example.w3mi.xml similarity index 100% rename from src/zmockup_loader_example.w3mi.xml rename to src/examples/zmockup_loader_example.w3mi.xml From 698e002132e8a4c079ada84266006a252f7c5fad Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 17:49:24 +0200 Subject: [PATCH 4/7] rework UTs --- .../unit_tests/test_complete_utf16.txt} | Bin .../unit_tests}/test_raw.txt | 0 .../unit_tests}/test_raw.xml | 0 test/sflight.xlsx | Bin 0 -> 9116 bytes test/tests.ods | Bin 4393 -> 0 bytes test/uncompressed/testdir/deep_head.txt | 6 ------ .../testdir/deep_head_with_wrong_field.txt | 2 -- .../testdir/deep_head_with_wrong_path.txt | 2 -- test/uncompressed/testdir/deep_lines.txt | 5 ----- test/uncompressed/testdir/testfile_complete.txt | 4 ---- test/uncompressed/testdir/testfile_no_mandt.txt | 4 ---- .../uncompressed/testdir/testfile_no_strict.txt | 4 ---- test/unit_tests.xlsx | Bin 0 -> 15303 bytes test/zmockup_loader_unit_test.zip | Bin 2395 -> 0 bytes 14 files changed, 27 deletions(-) rename test/{uncompressed/testdir/testfile_complete_utf16.txt => includes/unit_tests/test_complete_utf16.txt} (100%) rename test/{uncompressed/testdir => includes/unit_tests}/test_raw.txt (100%) rename test/{uncompressed/testdir => includes/unit_tests}/test_raw.xml (100%) create mode 100644 test/sflight.xlsx delete mode 100644 test/tests.ods delete mode 100644 test/uncompressed/testdir/deep_head.txt delete mode 100644 test/uncompressed/testdir/deep_head_with_wrong_field.txt delete mode 100644 test/uncompressed/testdir/deep_head_with_wrong_path.txt delete mode 100644 test/uncompressed/testdir/deep_lines.txt delete mode 100644 test/uncompressed/testdir/testfile_complete.txt delete mode 100644 test/uncompressed/testdir/testfile_no_mandt.txt delete mode 100644 test/uncompressed/testdir/testfile_no_strict.txt create mode 100644 test/unit_tests.xlsx delete mode 100644 test/zmockup_loader_unit_test.zip diff --git a/test/uncompressed/testdir/testfile_complete_utf16.txt b/test/includes/unit_tests/test_complete_utf16.txt similarity index 100% rename from test/uncompressed/testdir/testfile_complete_utf16.txt rename to test/includes/unit_tests/test_complete_utf16.txt diff --git a/test/uncompressed/testdir/test_raw.txt b/test/includes/unit_tests/test_raw.txt similarity index 100% rename from test/uncompressed/testdir/test_raw.txt rename to test/includes/unit_tests/test_raw.txt diff --git a/test/uncompressed/testdir/test_raw.xml b/test/includes/unit_tests/test_raw.xml similarity index 100% rename from test/uncompressed/testdir/test_raw.xml rename to test/includes/unit_tests/test_raw.xml diff --git a/test/sflight.xlsx b/test/sflight.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..c2ccc25b7af202d21260c85d00636ca6d8bd6440 GIT binary patch literal 9116 zcmeHtg;yNe_I2Y9jcafSjRX(w!2@LQKyY_=Z`^`Ia3=%_5L_FFhTs|`xFmRR|Ml26 zGkNp<1@Bd_b!+vi+Go|hckgpfol~zA5fBLg$N*FT06+sUKFqe%hXVlO5di>v04lt$ zl!LvinZ2ulx|gGwi{3L&J6q}kM0ln=06gse{~iCuD^QUQlk9W>af zp-;}o-Z!w%03jw#bk=!<(}=&Pi%u5Nn`$XRmHr zo)cOcu<7QA2ho5h=K-&5qU(q%x$MXMdc_C}Uk)F4Q!n2#tl?Aiu8^Cy5VERtLWc z`RtEx=>{L3q<#zFdO!vM9v=|^ul^y+dJPV`GZ@!i!c>O=lcj;PnXL=^vtP&m$??Bf zgMXWPMWT{Q4+m!0k=$MQ;N{G6JWx{6Lqe{VM%_P9ehH^Owve8D8S<0@s7@A)AREx` ze>b$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w`WfK8Yrz|KTTXk9D%C^8FTRIWpVAdET7m2U(dpNZOtQ7$Kl zf@?nR$%`BqU)>=>Dyec?%Z&0D^qjpzeQ->a9joa%T+ zj*P$AaLu3WzCwT1I6~KoEJFNZm3yM2>$O+*SFuf&TNl9WUnv$e9ra)U(J#E5uD=#0{XI%973L7SYlD2Stp`yaCP6^26HUZoXsM--3 zrRnmK4Po_NXjKRfW$$Lgnv_^b%ZFY!y}j_m3fgqa$(5f6hTshqnp-d-54=`<0?F0sEP5G8`@23YHDr zV;;e^gH`Hs<}zTJ!|5cTsPsU%A4iSP)=N5E^%YFAz*8Mt+c*DnqNte zyD{=V>LwTE9rmlDwDRuOU}A{wzMq1>|_u1VAQHdV_|~uK!}&s#Bd&8tBf&T z%a2y^XMnEnUCy7vR{!@}DI7c-EI9o8cMyN>(Vypk`6}X-;y(@ivt#=w@Yi!1EX(^_ z|Mq9#&t0s)plz_e)=xdHpTYm^3;YEI0N$hh2LAta34XTobFug@OA8qP?;-x9bo{fG zpNm(2S&4`B=U`L$xs>&@fuED&zYKU0|7PH?6!~Z9&oTcm=nUEK(4RAapDp||g8qdE u0HEZsxcYNE{TcpGzxQ{zD&^nce|W)Hib$~Cg{3I4Um(m=BGdf(@BaX%%HVzg literal 0 HcmV?d00001 diff --git a/test/tests.ods b/test/tests.ods deleted file mode 100644 index d0514f2b6026444aa3490acd4e30e6e4b849276e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4393 zcmZ`-1yIyqyIw$~I|T#`x*K$9Daj@NgoMP>y-RlpQi9SUAqz+fEGaDuC<4-*QoFFg z5`y%H-nrL%{qA?pocW!Y=l#u`dCxP?^XjPM+#&@0SGxyz;Vc!)f3x^C@Nb5Tg9{ky z=MJ`XcXxKMwuCykxe9o@+VHzsLL4CcZth@L8#ik&7qBaoAL8x_wzPrRgTYXpo0!yq z+rJ~+1F#DA3DDjG0N#@V0KfhOf%-XvA^g5B&S=B0u5*&q3uMC~5 zK=L--PYe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deep_head.txt deleted file mode 100644 index ce41544..0000000 --- a/test/uncompressed/testdir/deep_head.txt +++ /dev/null @@ -1,6 +0,0 @@ -DOCID LINES FIRST_LINE -1 testdir/deep_lines[docid=@docid] testdir/deep_lines[docid=@docid] -2 testdir/deep_lines[docid=@docid] testdir/deep_lines[docid=@docid] -3 -4 testdir/deep_lines[docid=99] testdir/deep_lines[docid=99] -5 testdir/deep_lines[docid=1000] testdir/deep_lines[docid=1000] diff --git a/test/uncompressed/testdir/deep_head_with_wrong_field.txt b/test/uncompressed/testdir/deep_head_with_wrong_field.txt deleted file mode 100644 index f70ab14..0000000 --- a/test/uncompressed/testdir/deep_head_with_wrong_field.txt +++ /dev/null @@ -1,2 +0,0 @@ -DOCID LINES FIRST_LINE -1 testdir/deep_lines[docid=@xxxx] diff --git a/test/uncompressed/testdir/deep_head_with_wrong_path.txt b/test/uncompressed/testdir/deep_head_with_wrong_path.txt deleted file mode 100644 index 3ce53e3..0000000 --- a/test/uncompressed/testdir/deep_head_with_wrong_path.txt +++ /dev/null @@ -1,2 +0,0 @@ -DOCID LINES FIRST_LINE -1 wrong path diff --git a/test/uncompressed/testdir/deep_lines.txt b/test/uncompressed/testdir/deep_lines.txt deleted file mode 100644 index 1ebb0d6..0000000 --- a/test/uncompressed/testdir/deep_lines.txt +++ /dev/null @@ -1,5 +0,0 @@ -DOCID LINEID TEXT -1 1 Hello -1 2 Mockup -2 1 Loader -99 1 !!! diff --git a/test/uncompressed/testdir/testfile_complete.txt b/test/uncompressed/testdir/testfile_complete.txt deleted file mode 100644 index 36fd18c..0000000 --- a/test/uncompressed/testdir/testfile_complete.txt +++ /dev/null @@ -1,4 +0,0 @@ -MANDT TDATE TCHAR TRAW TSTRING TALPHA TDECIMAL TNUMBER TINTEGER - 01.01.2015 Trololo1 8A String1 100000 1234567,81 2015 1111 - 02.01.2016 Trololo2 8B String2 200000 1234567,82 2016 2222 - 03.01.2016 Trololo3 8C String3 300000 1234567,83 2015 3333 diff --git a/test/uncompressed/testdir/testfile_no_mandt.txt b/test/uncompressed/testdir/testfile_no_mandt.txt deleted file mode 100644 index 4c16fcc..0000000 --- a/test/uncompressed/testdir/testfile_no_mandt.txt +++ /dev/null @@ -1,4 +0,0 @@ -TDATE TCHAR TRAW TSTRING TALPHA TDECIMAL TNUMBER TINTEGER -01.01.2015 Trololo1 8A String1 100000 1234567,81 2015 1111 -02.01.2016 Trololo2 8B String2 200000 1234567,82 2016 2222 -03.01.2016 Trololo3 8C String3 300000 1234567,83 2015 3333 diff --git a/test/uncompressed/testdir/testfile_no_strict.txt b/test/uncompressed/testdir/testfile_no_strict.txt deleted file mode 100644 index cc28e56..0000000 --- a/test/uncompressed/testdir/testfile_no_strict.txt +++ /dev/null @@ -1,4 +0,0 @@ -TDATE TSTRING TCHAR TDECIMAL TNUMBER -01.01.2015 String1 Trololo1 1234567,81 2015 -02.01.2016 String2 Trololo2 1234567,82 2016 -03.01.2016 String3 Trololo3 1234567,83 2015 diff --git a/test/unit_tests.xlsx b/test/unit_tests.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..8d6f43850a79d0566a255a97ea4321167de87769 GIT binary patch literal 15303 zcmeIZWmsKXwk?VVcL*Nb39iB2-Q9yb!GpU7cY?dK@ZiDS-8~T8^{t& z?ssbbm}F@;s6*#!ZAF*^0Y;ex0tWp4e~27!9obADOjh!`iN{l7 zB;}N@8QnrpGy-(Zs3dcVOlbJoaCCLy$!XxQ6zY28F;92@>jYl9a7Gt6Kz!BuG*>!-Q8akQ*eN?(a7mZD9Ijq&RG} zx+ZL4`d0YtT~nhwx-TwiaE%eQFR7J)&f2b#g7^RsHl$^3#&%fMyS*(m)Hv@doiTGo1|IN(G7i2*x7Xk4W zB4sZhiDjg^$Xrs~m39g|WMv$Ga53*zugAfq74FC%{Y2NBEM?)S=v*ZAF6BW<_x7Kl zsL34?MeWNrzN0wLT+Ljkh)KFpI=4nsmo^qLjt@tOC#2OeDdaPw^wC0ATQ2xWq( zEz?+_r4_1EQ%PnR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#2H<)B3*h%k>~-kt{PTCH6T_dO zud~tD2>+TT{f-Ap6%#ObdYv=94*yqe`)ha#%U{C(p>*<6kU$3hp@PUDq!1t=k?eo` G_WuA&RGl{f literal 0 HcmV?d00001 diff --git a/test/zmockup_loader_unit_test.zip b/test/zmockup_loader_unit_test.zip deleted file mode 100644 index 66d83ab8e94209d99a2eac45ef7898595419bb95..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2395 zcmWIWW@Zs#U}9ikP@Np_4y53K1IQ{#EiOsPEYc5vs^Va{6c^)hG%ob`Y@qCKAeKc^ z1yY@snUflyoS$2elUkChS5i?Dd)ATbkbwZ}g|GS*!V~?HvbSG0+tO<0Vf9GRMWFT3 z+n5TK^$%QLANqGD>y!NFDjW81TOG2**jGmJO*r6wLSx})-j?6Br+>X)mG?mI5x?`x zEmtZFd%0J$Xy%sqcuA)0iv1$Ub*y6kx$DA>mn0@^ysdM8E%%}2Ub8yR_I#E%(>Nt5 zz4qVZ9SddLgg3?}buXH=u{Ac~_ud@S)lYa4zPbtYRpM5|-_wA;`Gm_?dHM0ViFqj{ z5MKpyH8}{dJ$N4fK~3rS?cCA<-^xDOJf&$l)+g~qC+~t&f)A^sV|Kb0J>yHO} zsmldj(Q|0Bc4Xu9jdzTxULm{Wi|gf`VwdE1-^pJ2@@Tl-kwB;D*vSE0GxNk{n@T0# zUH)k$q%o7(Xpi^izsH2^LNBc_?LJ#~?ZC5c(_4SGe{MCB=#7etZqpSz{b1_T_wm<` zT$Dz5=q}JhNem&bg+R}20Ae{HhD9bknt&cEE-A`P2K%Ube|3FFcXEezx<`S>gyr+C z(>pe|Ckv!^bg$mLeEnkn^p5xy>nCRm=udB4C?_B(DKV>vZMsP6v!&8SZ6Z&fGb~hG zzHs8k&XqHF_O&XidoTuU6b#uY8M0B(XQQCgMnR8_k^vhHXC)=iNJ?%=N?vi20pZx@ zbpjW0?p*Q?0Q*}QT6iL-$k-nv@n&Ya&IYIMaoVAJ-^C)etD z`fNYF*2h!FbIZl{52P9lOrs$W0AwJe_3UFC$er_lb&8)cC6O+dq;qRBX9dm zfvX-{`!=d-ZPkmMyJeMy{>I0C%PgGwnvHJ%6){}CXx8gJ2PS4XpAGXgJF0m3oQ(0N zn2Lz9_{Hnj@8*5CqwM8I;h?LIt?W`U1&3!=^Iev8n$UQZ%Z_Qy#s_@`ZlV1Vi^|P} zpEtaj^=t9wMD-`E^Uqxpy=qry`CX>}ztS7Cs`TI2Z>}n~DV(-WwkCGb``N9=_i|27 z7kF-th`g2w68NJ&jCh|fq(OaXZwn85aT@87(fdwKuz`Pl}` zXQu}gc-VBDJ)L?Ya#B>xq)CxW=1-axB`|;T%;`}wb0^K8Gc)Nm!?Gk!tp`ty7PToJ zn=@xmjM@&-sHjJVtQsdzr*=i(yKvwDLx0%@6Mb={Shwnw@DCDU$hHT%#2JXi&|Q?1 znU`9O;Uw(|T!po{E706mObSpuD5MQ2Ik`Z5Cl%JO#pO%@LLw=|PFtTg}1_qL! zX8;{=jy;VHlzl*0m5>7p5=$~Lf&eX6;-<`>zAj)w#H52KPqP9oV`LHm=1p961<*zy z5P(qd!UmxWd))z2&d8tuB$2}mUPK|+B*;c#E3gqp{Q)wum3Hvr8`&sqMJ2+hv%n;c z%_u~{iEI|Ok_=&16)@0rFr&HwM@fZjAhsM1 zG7b`L<}3&UQSv*o5!kXM!ibaTM!+*DvKiR&7{Ux2RxHlIn&Xho#FlLkX6_|qCM**L Sc(byBv~dHWG%$d*z&rrIvob0G From d2cf72864c1f8b957ad0e7df1c63fc209ef64fe9 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 15:51:19 +0000 Subject: [PATCH 5/7] rebuild UTs --- .../zcl_mockup_loader.clas.testclasses.abap | 96 +++++----- src/core/zcl_mockup_loader_store.clas.abap | 1 - ..._mockup_loader_store.clas.testclasses.abap | 10 +- ...kup_loader_stub_base.clas.testclasses.abap | 9 +- ..._loader_stub_factory.clas.testclasses.abap | 164 ++++++++---------- .../zmockup_loader_unit_test.w3mi.data.zip | Bin 2395 -> 2762 bytes src/core/zmockup_loader_unit_test.w3mi.xml | 4 +- 7 files changed, 138 insertions(+), 146 deletions(-) diff --git a/src/core/zcl_mockup_loader.clas.testclasses.abap b/src/core/zcl_mockup_loader.clas.testclasses.abap index 1fdd718..f5629bb 100644 --- a/src/core/zcl_mockup_loader.clas.testclasses.abap +++ b/src/core/zcl_mockup_loader.clas.testclasses.abap @@ -194,8 +194,10 @@ class ltcl_test_mockup_loader definition for testing e_dummy_string type string. methods create_default - returning value(r_o) type ref to zcl_mockup_loader - raising zcx_mockup_loader_error. + returning + value(r_o) type ref to zcl_mockup_loader + raising + zcx_mockup_loader_error. endclass. @@ -226,7 +228,7 @@ class ltcl_test_mockup_loader implementation. r_o = zcl_mockup_loader=>create( i_type = 'MIME' i_path = 'ZMOCKUP_LOADER_UNIT_TEST' - i_amt_format = '' " default + i_amt_format = ' .' i_encoding = zif_mockup_loader=>encoding_utf8 ). " utf8 endmethod. @@ -248,14 +250,14 @@ class ltcl_test_mockup_loader implementation. if i_strict = abap_true. l_string = 'MANDT\tTDATE\tTCHAR\tTRAW\tTSTRING\tTALPHA\tTDECIMAL\tTNUMBER\tTINTEGER\n' - && '\t01.01.2015\tTrololo1\t8A\tString1\t100000\t1234567,81\t2015\t1111\n' - && '\t02.01.2016\tTrololo2\t8B\tString2\t200000\t1234567,82\t2016\t2222\n' - && '\t03.01.2016\tTrololo3\t8C\tString3\t300000\t1234567,83\t2015\t3333\n' . + && '\t01.01.2015\tTrololo1\t8A\tString1\t100000\t1234567.81\t2015\t1111\n' + && '\t02.01.2016\tTrololo2\t8B\tString2\t200000\t1234567.82\t2016\t2222\n' + && '\t03.01.2016\tTrololo3\t8C\tString3\t300000\t1234567.83\t2015\t3333\n' . else. l_string = 'TDATE\tTSTRING\tTCHAR\tTDECIMAL\tTNUMBER\n' - && '01.01.2015\tString1\tTrololo1\t1234567,81\t2015\n' - && '02.01.2016\tString2\tTrololo2\t1234567,82\t2016\n' - && '03.01.2016\tString3\tTrololo3\t1234567,83\t2015\n' . + && '01.01.2015\tString1\tTrololo1\t1234567.81\t2015\n' + && '02.01.2016\tString2\tTrololo2\t1234567.82\t2016\n' + && '03.01.2016\tString3\tTrololo3\t1234567.83\t2015\n' . endif. replace all occurrences of '\t' in l_string with c_tab. @@ -293,7 +295,7 @@ class ltcl_test_mockup_loader implementation. try. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_true importing e_container = dummy_tab_act ). @@ -302,7 +304,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_true importing e_container = dummy_act ). @@ -311,7 +313,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( " No MANDT field in file exporting - i_obj = 'testdir/testfile_no_mandt' + i_obj = 'unit_tests/test_no_mandt' i_strict = abap_true importing e_container = dummy_tab_act ). @@ -330,7 +332,7 @@ class ltcl_test_mockup_loader implementation. try. o->load_data( exporting - i_obj = 'testdir/testfile_no_strict' + i_obj = 'unit_tests/test_no_strict' i_strict = abap_false importing e_container = dummy_tab_act ). @@ -350,7 +352,7 @@ class ltcl_test_mockup_loader implementation. try. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_where = 'TNUMBER = 2016' importing e_container = dummy_tab_act ). @@ -359,7 +361,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_where = 'TNUMBER = 2016' importing e_container = dummy_act ). @@ -372,7 +374,7 @@ class ltcl_test_mockup_loader implementation. " No container *************************************************** try. - o->load_data( i_obj = 'testdir/testfile_complete' ). + o->load_data( i_obj = 'unit_tests/test_complete' ). catch zcx_mockup_loader_error into lo_ex. endtry. assert_excode 'NC'. @@ -488,12 +490,12 @@ class ltcl_test_mockup_loader implementation. try. li = o->set_params( - i_amt_format = '' + i_amt_format = ' ,' i_encoding = zif_mockup_loader=>encoding_utf16 ). cl_abap_unit_assert=>assert_not_initial( li ). o->load_data( - exporting i_obj = 'testdir/testfile_complete_utf16' + exporting i_obj = 'unit_tests/test_complete_utf16' importing e_container = dummy_tab_act ). catch zcx_mockup_loader_error into lo_ex. cl_abap_unit_assert=>fail( lo_ex->get_text( ) ). @@ -657,7 +659,7 @@ class ltcl_test_mockup_loader implementation. " Positive *************************************** try. - l_str = o->read_zip( i_name = 'testdir/testfile_complete.txt' ). + l_str = o->read_zip( i_name = 'unit_tests/test_complete.txt' ). catch zcx_mockup_loader_error into lo_ex. cl_abap_unit_assert=>fail( lo_ex->get_text( ) ). endtry. @@ -666,7 +668,7 @@ class ltcl_test_mockup_loader implementation. " NEGATIVE - wrong file name ********************** clear lo_ex. try. - l_str = o->read_zip( i_name = 'testdir/wrong_filename.xyz' ). + l_str = o->read_zip( i_name = 'unit_tests/wrong_filename.xyz' ). catch zcx_mockup_loader_error into lo_ex. endtry. assert_excode 'ZF'. @@ -674,7 +676,7 @@ class ltcl_test_mockup_loader implementation. " NEGATIVE - wrong code page ********************** clear lo_ex. try. - l_str = o->read_zip( i_name = 'testdir/testfile_complete_utf16.txt' ). + l_str = o->read_zip( i_name = 'unit_tests/test_complete_utf16.txt' ). catch zcx_mockup_loader_error into lo_ex. endtry. assert_excode 'CP'. @@ -696,7 +698,7 @@ class ltcl_test_mockup_loader implementation. " .XML lo_conv = cl_abap_conv_in_ce=>create( encoding = zif_mockup_loader=>encoding_utf8 ). - l_xstr_act = o->load_blob( 'testdir/test_raw.xml' ). + l_xstr_act = o->load_blob( 'unit_tests/test_raw.xml' ). lo_conv->convert( exporting input = l_xstr_act @@ -708,7 +710,7 @@ class ltcl_test_mockup_loader implementation. exp = l_str_exp ). " .TXT - l_xstr_act = o->load_blob( 'testdir/test_raw.txt' ). + l_xstr_act = o->load_blob( 'unit_tests/test_raw.txt' ). lo_conv->convert( exporting input = l_xstr_act @@ -721,7 +723,7 @@ class ltcl_test_mockup_loader implementation. " Missing file try . - o->load_blob( 'testdir/no-file-like-this' ). + o->load_blob( 'unit_tests/no-file-like-this' ). cl_abap_unit_assert=>fail( ). catch zcx_mockup_loader_error into lo_ex. cl_abap_unit_assert=>assert_equals( @@ -731,7 +733,7 @@ class ltcl_test_mockup_loader implementation. " Case insensitive path lo_conv = cl_abap_conv_in_ce=>create( encoding = zif_mockup_loader=>encoding_utf8 ). - l_xstr_act = o->load_blob( 'TESTDIR/test_raw.xml' ). + l_xstr_act = o->load_blob( 'unit_tests/test_raw.xml' ). lo_conv->convert( exporting input = l_xstr_act @@ -758,7 +760,7 @@ class ltcl_test_mockup_loader implementation. try. o->load_data( - exporting i_obj = 'testdir/testfile_complete' + exporting i_obj = 'unit_tests/test_complete' importing e_container = lr_data ). assign lr_data->* to . cl_abap_unit_assert=>assert_equals( act = exp = dummy_tab_exp ). @@ -840,7 +842,7 @@ class ltcl_test_mockup_loader implementation. data lt_docs_act like lt_docs_exp. o->load_data( exporting - i_obj = 'testdir/deep_head' + i_obj = 'unit_tests/deep_head' i_deep = abap_true importing e_container = lt_docs_act ). @@ -857,7 +859,7 @@ class ltcl_test_mockup_loader implementation. try . o->load_data( exporting - i_obj = 'testdir/deep_head_with_wrong_path' + i_obj = 'unit_tests/deep_head_with_wrong_path' i_deep = abap_true importing e_container = lt_docs_act ). @@ -869,7 +871,7 @@ class ltcl_test_mockup_loader implementation. try . o->load_data( exporting - i_obj = 'testdir/deep_head_with_wrong_field' + i_obj = 'unit_tests/deep_head_with_wrong_field' i_deep = abap_true importing e_container = lt_docs_act ). @@ -897,7 +899,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_false i_corresponding = abap_true importing @@ -911,7 +913,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_false i_corresponding = abap_true i_where = 'tchar = Trololo3' @@ -941,7 +943,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_false i_corresponding = abap_true i_where = 'tnumber = 2015' @@ -969,7 +971,7 @@ class ltcl_test_mockup_loader implementation. clear dummy_tab_act. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_false i_corresponding = abap_true i_where = lt_filter @@ -995,7 +997,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_strict = abap_false i_rename_fields = 'tchar:ychar' i_corresponding = abap_true @@ -1061,7 +1063,7 @@ class ltcl_test_mockup_loader implementation. o->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' importing e_container = ls_act1 ). cl_abap_unit_assert=>assert_not_initial( ls_act1 ). @@ -1069,7 +1071,7 @@ class ltcl_test_mockup_loader implementation. try. o->load_data( exporting - i_obj = './testfile_complete' + i_obj = './test_complete' importing e_container = ls_act2 ). cl_abap_unit_assert=>fail( ). @@ -1080,11 +1082,11 @@ class ltcl_test_mockup_loader implementation. endtry. data li type ref to zif_mockup_loader. - li = o->zif_mockup_loader~cd( 'testdir' ). + li = o->zif_mockup_loader~cd( 'unit_tests' ). cl_abap_unit_assert=>assert_not_initial( li ). o->load_data( exporting - i_obj = './testfile_complete' + i_obj = './test_complete' importing e_container = ls_act2 ). cl_abap_unit_assert=>assert_equals( @@ -1106,19 +1108,19 @@ class ltcl_test_mockup_loader implementation. li->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' importing e_container = ls_act1 ). cl_abap_unit_assert=>assert_not_initial( ls_act1 ). try. - li->load_data( 'testdir/testfile_complete' ). + li->load_data( 'unit_tests/test_complete' ). cl_abap_unit_assert=>fail( ). catch zcx_mockup_loader_error into lx. cl_abap_unit_assert=>assert_equals( act = lx->code exp = 'NC' ). endtry. - li->to( lr )->load_data( 'testdir/testfile_complete' ). + li->to( lr )->load_data( 'unit_tests/test_complete' ). cl_abap_unit_assert=>assert_equals( act = ls_act2 exp = ls_act1 ). endmethod. @@ -1137,30 +1139,30 @@ class ltcl_test_mockup_loader implementation. " Usual load li->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' importing e_container = ls_exp ). cl_abap_unit_assert=>assert_not_initial( ls_exp ). li->load_data( exporting - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' importing e_container = lt_exp ). cl_abap_unit_assert=>assert_not_initial( lt_exp ). " ideaomatic load - li->load( 'testdir/testfile_complete' )->into( changing data = ls_act ). + li->load( 'unit_tests/test_complete' )->into( changing data = ls_act ). cl_abap_unit_assert=>assert_equals( act = ls_act exp = ls_exp ). " load table - li->load( 'testdir/testfile_complete' )->into( changing data = lt_act ). + li->load( 'unit_tests/test_complete' )->into( changing data = lt_act ). cl_abap_unit_assert=>assert_equals( act = lt_act exp = lt_exp ). " filter " No deep test, because it just calls load_data insede which is well tested li->load( - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_where = 'tnumber = 2016' )->into( changing data = lt_act ). cl_abap_unit_assert=>assert_equals( act = lines( lt_exp ) exp = 3 ). cl_abap_unit_assert=>assert_equals( act = lines( lt_act ) exp = 1 ). @@ -1171,7 +1173,7 @@ class ltcl_test_mockup_loader implementation. ychar type c length 8, end of ls_act_renamed. li->load( - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_corresponding = abap_true i_rename_fields = 'tchar:ychar' )->into( changing data = ls_act_renamed ). cl_abap_unit_assert=>assert_equals( diff --git a/src/core/zcl_mockup_loader_store.clas.abap b/src/core/zcl_mockup_loader_store.clas.abap index 4349324..8993bd6 100644 --- a/src/core/zcl_mockup_loader_store.clas.abap +++ b/src/core/zcl_mockup_loader_store.clas.abap @@ -25,7 +25,6 @@ class ZCL_MOCKUP_LOADER_STORE definition !e_data type any exceptions retrieve_error . - type-pools abap . methods store importing !i_name type ty_store_tag diff --git a/src/core/zcl_mockup_loader_store.clas.testclasses.abap b/src/core/zcl_mockup_loader_store.clas.testclasses.abap index a64aa67..9d060ac 100644 --- a/src/core/zcl_mockup_loader_store.clas.testclasses.abap +++ b/src/core/zcl_mockup_loader_store.clas.testclasses.abap @@ -448,7 +448,7 @@ class ltcl_test_mockup_store implementation. lo_ml = zcl_mockup_loader=>create( i_type = 'MIME' i_path = 'ZMOCKUP_LOADER_UNIT_TEST' - i_amt_format = '' + i_amt_format = ' .' i_encoding = zif_mockup_loader=>encoding_utf8 ). get_dummy_data( importing e_dummy_tab = dummy_tab_exp ). @@ -459,7 +459,7 @@ class ltcl_test_mockup_store implementation. try. o->load_and_store( io_ml = lo_ml - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_name = 'TAB' i_type = 'LTCL_TEST_MOCKUP_STORE=>TT_DUMMY' ). @@ -470,7 +470,7 @@ class ltcl_test_mockup_store implementation. o->load_and_store( io_ml = lo_ml - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_name = 'TAB' i_type_desc = lo_type_desc ). clear dummy_tab_act. @@ -489,7 +489,7 @@ class ltcl_test_mockup_store implementation. try. o->load_and_store( io_ml = lo_ml - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_name = 'TAB' i_type = '************' ). @@ -502,7 +502,7 @@ class ltcl_test_mockup_store implementation. try. o->load_and_store( io_ml = lo_ml - i_obj = 'testdir/testfile_complete' + i_obj = 'unit_tests/test_complete' i_name = 'TAB' i_type_desc = lo_type_desc i_type = '************' ). diff --git a/src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap b/src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap index 4807290..c1e9a93 100644 --- a/src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap +++ b/src/core/zcl_mockup_loader_stub_base.clas.testclasses.abap @@ -39,12 +39,13 @@ class ltcl_mockup_stub_base_test implementation. go_ml = zcl_mockup_loader=>create( i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + i_path = 'ZMOCKUP_LOADER_UNIT_TEST' + i_amt_format = ' .' + i_encoding = zif_mockup_loader=>encoding_utf8 ). go_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false importing e_container = gt_flights ). @@ -60,7 +61,7 @@ class ltcl_mockup_stub_base_test implementation. " Common ls_conf-output_type ?= cl_abap_typedescr=>describe_by_data( lt_dummy ). - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-method_name = 'METHOD_SIMPLE'. append ls_conf to lt_config. diff --git a/src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap b/src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap index 91ea891..ff1d8e7 100644 --- a/src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap +++ b/src/core/zcl_mockup_loader_stub_factory.clas.testclasses.abap @@ -128,8 +128,9 @@ class lcl_test_base implementation. try. lo_ml = zcl_mockup_loader=>create( i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + i_path = 'ZMOCKUP_LOADER_UNIT_TEST' + i_amt_format = ' .' + i_encoding = zif_mockup_loader=>encoding_utf8 ). create object lo_dc type (iv_factory_classname) exporting @@ -140,23 +141,23 @@ class lcl_test_base implementation. i_sift_param = 'I_CONNID' i_mock_tab_key = 'CONNID' i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). lo_dc->connect_method( i_method_name = 'TAB_EXPORT' - i_mock_name = 'EXAMPLE/sflight' + i_mock_name = 'sflight/sflight' i_output_param = 'E_TAB' ). lo_dc->connect_method( i_method_name = 'TAB_CHANGE' - i_mock_name = 'EXAMPLE/sflight' + i_mock_name = 'sflight/sflight' i_output_param = 'C_TAB' ). li_if ?= lo_dc->generate_stub( ). lo_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false importing e_container = lt_exp ). @@ -168,7 +169,7 @@ class lcl_test_base implementation. lo_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false importing e_container = lt_exp ). @@ -210,10 +211,7 @@ class ltcl_mockup_stub_factory_test implementation. data lt_exp type zif_mockup_loader_stub_dummy=>tt_deep. - lo_ml = zcl_mockup_loader=>create( - i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + lo_ml = get_ml( ). create object lo_dc exporting @@ -226,13 +224,13 @@ class ltcl_mockup_stub_factory_test implementation. i_method_name = 'RETURN_DEEP' i_deep = abap_true i_corresponding = abap_true - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). li_if ?= lo_dc->generate_stub( ). lo_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false i_corresponding = abap_true i_deep = abap_true @@ -254,10 +252,7 @@ class ltcl_mockup_stub_factory_test implementation. data lo_ex type ref to zcx_mockup_loader_error. data ls_config like line of lo_dc->mt_config. - lo_ml = zcl_mockup_loader=>create( - i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + lo_ml = get_ml( ). create object lo_dc exporting @@ -267,13 +262,13 @@ class ltcl_mockup_stub_factory_test implementation. lo_dc->connect_method( i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). " Multiple connect try. lo_dc->connect_method( i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). cl_abap_unit_assert=>fail( ). catch zcx_mockup_loader_error into lo_ex. cl_abap_unit_assert=>assert_equals( exp = 'MC' act = lo_ex->code ). @@ -295,11 +290,11 @@ class ltcl_mockup_stub_factory_test implementation. lo_dc->connect_method( i_method_name = 'TAB_EXPORT' i_output_param = 'E_TAB' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). lo_dc->connect_method( i_method_name = 'TAB_EXPORT' i_output_param = 'E_BY_DATE' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). cl_abap_unit_assert=>assert_equals( act = lines( lo_dc->mt_config ) exp = 2 ). @@ -314,18 +309,18 @@ class ltcl_mockup_stub_factory_test implementation. lo_dc->connect_method( i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). lo_dc->connect_method( i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/override' ). + i_mock_name = 'sflight/override' ). cl_abap_unit_assert=>assert_equals( act = lines( lo_dc->mt_config ) exp = 1 ). read table lo_dc->mt_config index 1 into ls_config. cl_abap_unit_assert=>assert_equals( act = ls_config-mock_name - exp = 'EXAMPLE/override' ). + exp = 'sflight/override' ). lo_dc->forward_method( 'TAB_RETURN' ). cl_abap_unit_assert=>assert_equals( @@ -346,11 +341,11 @@ class ltcl_mockup_stub_factory_test implementation. lo_dc->connect_method( i_method_name = 'TAB_EXPORT' i_output_param = 'E_TAB' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). lo_dc->connect_method( i_method_name = 'TAB_EXPORT' i_output_param = 'E_BY_DATE' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). cl_abap_unit_assert=>assert_equals( act = lines( lo_dc->mt_config ) exp = 2 ). @@ -372,7 +367,7 @@ class ltcl_mockup_stub_factory_test implementation. try. clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf_act = zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if i_config = ls_conf ). @@ -385,7 +380,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " method missing clear: lo_ex, ls_conf. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if i_config = ls_conf ). @@ -406,7 +401,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " sift incomplete clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-sift_param = 'I_CONNID'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if @@ -418,7 +413,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " sift incomplete clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-mock_tab_key = 'CONNID'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if @@ -430,7 +425,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " sift incomplete clear: lo_ex, ls_conf. ls_conf-method_name = '???'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if i_config = ls_conf ). @@ -441,7 +436,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " sift not found clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-sift_param = 'X_CONNID'. ls_conf-mock_tab_key = 'CONNID'. zcl_mockup_loader_stub_factory=>build_config( @@ -454,7 +449,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " sift has wrong type clear: lo_ex, ls_conf. ls_conf-method_name = 'WRONG_SIFT'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-sift_param = 'I_CONNID'. ls_conf-mock_tab_key = 'CONNID'. zcl_mockup_loader_stub_factory=>build_config( @@ -467,7 +462,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " no return clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_EXPORT'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if i_config = ls_conf ). @@ -478,7 +473,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " no param clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-output_param = '???'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if @@ -490,7 +485,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " no param clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-output_param = 'I_CONNID'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if @@ -502,7 +497,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " no param clear: lo_ex, ls_conf. ls_conf-method_name = 'WRONG_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if i_config = ls_conf ). @@ -513,7 +508,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " field only elementary param clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-field_only = 'PRICE'. zcl_mockup_loader_stub_factory=>build_config( id_if_desc = ld_if @@ -525,7 +520,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " field only + corresponding clear: lo_ex, ls_conf. ls_conf-method_name = 'TAB_RETURN_EXTRACT_BY_DATE'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-corresponding = abap_true. ls_conf-field_only = 'PRICE'. zcl_mockup_loader_stub_factory=>build_config( @@ -550,7 +545,7 @@ class ltcl_mockup_stub_factory_test implementation. " Type from param clear ls_conf. ls_conf-method_name = 'RETURN_VALUE_W_DATE'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-mock_tab_key = 'CONNID'. ls_conf-sift_param = 'I_CONNID'. ls_conf-field_only = 'PRICE'. @@ -566,7 +561,7 @@ class ltcl_mockup_stub_factory_test implementation. " Type from const clear ls_conf. ls_conf-method_name = 'RETURN_VALUE_W_DATE'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-mock_tab_key = 'CONNID'. ls_conf-sift_const = '123'. ls_conf-field_only = 'PRICE'. @@ -594,7 +589,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " both filters passed clear ls_conf. ls_conf-method_name = 'TAB_RETURN_W_DATE'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. ls_conf-mock_tab_key = 'CONNID'. ls_conf-sift_param = 'I_CONNID'. append initial line to ls_conf-filter assigning . @@ -612,7 +607,7 @@ class ltcl_mockup_stub_factory_test implementation. try. " duplication clear ls_conf. ls_conf-method_name = 'TAB_RETURN_W_DATE'. - ls_conf-mock_name = 'EXAMPLE/sflight'. + ls_conf-mock_name = 'sflight/sflight'. append initial line to ls_conf-filter assigning . -mock_tab_key = 'CONNID'. -sift_param = 'I_CONNID'. @@ -637,12 +632,7 @@ class ltcl_mockup_stub_factory_test implementation. data lo_ml type ref to zcl_mockup_loader. try. " wrong interface - lo_ml = zcl_mockup_loader=>create( - i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). - - clear: lo_ex. + lo_ml = get_ml( ). create object lo exporting ii_ml_instance = lo_ml @@ -726,8 +716,9 @@ class ltcl_mockup_stub_factory_test implementation. method get_ml. ro_ml = zcl_mockup_loader=>create( i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + i_path = 'ZMOCKUP_LOADER_UNIT_TEST' + i_amt_format = ' .' + i_encoding = zif_mockup_loader=>encoding_utf8 ). endmethod. method get_factory. @@ -741,7 +732,7 @@ class ltcl_mockup_stub_factory_test implementation. method get_sflights. io_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false importing e_container = rt_tab ). @@ -764,7 +755,7 @@ class ltcl_mockup_stub_factory_test implementation. i_sift_param = 'I_CONNID' i_mock_tab_key = 'CONNID' i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return( i_connid = '1000' ). @@ -797,7 +788,7 @@ class ltcl_mockup_stub_factory_test implementation. factory->connect_method( i_filter = lt_filter i_method_name = 'TAB_RETURN_W_DATE' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_w_date( @@ -840,7 +831,7 @@ class ltcl_mockup_stub_factory_test implementation. factory->connect_method( i_filter = lt_filter i_method_name = 'TAB_RETURN_W_DATE' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_w_date( @@ -877,7 +868,7 @@ class ltcl_mockup_stub_factory_test implementation. i_sift_const = '1000' i_mock_tab_key = 'CONNID' i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return( i_connid = '2000' ). @@ -893,7 +884,7 @@ class ltcl_mockup_stub_factory_test implementation. i_sift_const = '1000' i_mock_tab_key = 'CONNID' i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). cl_abap_unit_assert=>fail( ). catch zcx_mockup_loader_error into lx. cl_abap_unit_assert=>assert_equals( @@ -907,7 +898,7 @@ class ltcl_mockup_stub_factory_test implementation. factory->connect_method( i_mock_tab_key = 'CURRENCY' " this field is empty in mock tab i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). cl_abap_unit_assert=>fail( ). catch zcx_mockup_loader_error into lx. cl_abap_unit_assert=>assert_equals( @@ -920,7 +911,7 @@ class ltcl_mockup_stub_factory_test implementation. i_mock_tab_key = 'CURRENCY' " this field is empty in mock tab i_sift_const = '' i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return( i_connid = '9999' ). cl_abap_unit_assert=>assert_equals( @@ -930,15 +921,17 @@ class ltcl_mockup_stub_factory_test implementation. factory = get_factory( ml ). factory->connect_method( i_method_name = 'TAB_RETURN' - i_mock_tab_key = 'RESULT' - i_sift_const = '' + i_mock_tab_key = 'FLDATE' + i_sift_const = '20150102' i_corresponding = abap_true - i_mock_name = 'EXAMPLE/testcases' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return( i_connid = '0000' ). cl_abap_unit_assert=>assert_equals( act = lines( lt_act ) exp = 1 ). + read table lt_act with key fldate = '20150102' transporting no fields. + cl_abap_unit_assert=>assert_subrc( ). endmethod. @@ -959,7 +952,7 @@ class ltcl_mockup_stub_factory_test implementation. i_sift_param = 'I_PARAMS-CONNID' i_mock_tab_key = 'CONNID' i_method_name = 'TAB_RETURN_W_STRUC_PARAM' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). data call_params type zif_mockup_loader_stub_dummy=>ty_params. call_params-connid = '1000'. @@ -988,7 +981,7 @@ class ltcl_mockup_stub_factory_test implementation. i_mock_tab_key = 'CONNID' i_field_only = 'PRICE' i_method_name = 'RETURN_VALUE' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). cl_abap_unit_assert=>assert_equals( @@ -1028,7 +1021,7 @@ class ltcl_mockup_stub_factory_test implementation. i_mock_tab_key = 'fldate' i_method_name = 'tab_return_extract_by_date' i_corresponding = abap_true - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_extract_by_date( i_fldate = '20150101' ). @@ -1061,7 +1054,7 @@ class ltcl_mockup_stub_factory_test implementation. i_sift_param = 'ir_connid' i_mock_tab_key = 'connid' i_method_name = 'tab_return_by_range' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_by_range( ir_connid = lr_range ). @@ -1078,10 +1071,7 @@ class ltcl_mockup_stub_factory_test implementation. data lo_ex type ref to zcx_mockup_loader_error. data li_control type ref to zif_mockup_loader_stub_control. - lo_ml = zcl_mockup_loader=>create( - i_type = 'MIME' - i_path = 'ZMOCKUP_LOADER_EXAMPLE' - i_encoding = zif_mockup_loader=>encoding_utf16 ). + lo_ml = get_ml( ). create object lo_dc exporting @@ -1091,16 +1081,16 @@ class ltcl_mockup_stub_factory_test implementation. lo_dc->connect_method( i_method_name = 'TAB_RETURN' - i_mock_name = 'EXAMPLE/sflight' ). + i_mock_name = 'sflight/sflight' ). lo_dc->connect_method( i_method_name = 'TAB_EXPORT' - i_mock_name = 'EXAMPLE/sflight' + i_mock_name = 'sflight/sflight' i_output_param = 'E_TAB' ). lo_dc->connect_method( i_method_name = 'TAB_CHANGE' - i_mock_name = 'EXAMPLE/sflight' + i_mock_name = 'sflight/sflight' i_output_param = 'C_TAB' ). lo_dc->forward_method( 'PROXY_TEST' ). @@ -1115,7 +1105,7 @@ class ltcl_mockup_stub_factory_test implementation. lo_ml->load_data( exporting - i_obj = 'EXAMPLE/sflight' + i_obj = 'sflight/sflight' i_strict = abap_false importing e_container = lt_exp ). @@ -1592,9 +1582,9 @@ class ltcl_mockup_stub_factory_test implementation. factory = get_factory( ml ). lt_exp = get_sflights( ml ). - factory->set_default_mock( 'example' ). + factory->set_default_mock( 'sflight' ). factory->connect( 'tab_return->./sflight' ). - factory->connect( 'tab_return_by_range->example/sflight' ). " But full path should also work + factory->connect( 'tab_return_by_range->sflight/sflight' ). " But full path should also work stub ?= factory->generate_stub( ). lt_act = stub->tab_return( i_connid = '0' ). " whatever, we are testing the mock path @@ -1621,7 +1611,7 @@ class ltcl_mockup_stub_factory_test implementation. lt_exp = get_sflights( ml ). delete lt_exp where not ( connid = '2000' and fldate = '20150102' ). - factory->connect( 'tab_return_w_date->example/sflight [connid = i_connid , fldate = i_fldate]' ). + factory->connect( 'tab_return_w_date->sflight/sflight [connid = i_connid , fldate = i_fldate]' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_w_date( @@ -1646,7 +1636,7 @@ class ltcl_mockup_stub_factory_test implementation. lt_exp = get_sflights( ml ). delete lt_exp where not ( connid = '1000' or fldate = '20150102' ). - factory->connect( 'tab_return_w_date->example/sflight [connid = i_connid | fldate = i_fldate ]' ). + factory->connect( 'tab_return_w_date->sflight/sflight [connid = i_connid | fldate = i_fldate ]' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_w_date( @@ -1671,7 +1661,7 @@ class ltcl_mockup_stub_factory_test implementation. lt_exp = get_sflights( ml ). delete lt_exp where not ( connid = '1000' ). - factory->connect( 'tab_return_2conn->example/sflight [connid = i_connid | connid = i_connid2 ]' ). + factory->connect( 'tab_return_2conn->sflight/sflight [connid = i_connid | connid = i_connid2 ]' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_2conn( @@ -1706,7 +1696,7 @@ class ltcl_mockup_stub_factory_test implementation. lt_exp = get_sflights( ml ). delete lt_exp where not ( connid = '2000' and fldate = '20150102' ). - factory->connect( 'tab_return_w_date->example/sflight [connid = i_connid , fldate = "20150102"]' ). + factory->connect( 'tab_return_w_date->sflight/sflight [connid = i_connid , fldate = "20150102"]' ). stub ?= factory->generate_stub( ). lt_act = stub->tab_return_w_date( @@ -1727,7 +1717,7 @@ class ltcl_mockup_stub_factory_test implementation. ml = get_ml( ). factory = get_factory( ml ). - factory->connect( 'return_value_w_date->example/sflight(price) [connid=i_connid, fldate=i_fldate]' ). + factory->connect( 'return_value_w_date->sflight/sflight(price) [connid=i_connid, fldate=i_fldate]' ). stub ?= factory->generate_stub( ). cl_abap_unit_assert=>assert_equals( @@ -1737,7 +1727,7 @@ class ltcl_mockup_stub_factory_test implementation. exp = '300.00' ). factory = get_factory( ml ). - factory->connect( 'return_value_w_date->example/sflight(price) [connid=i_connid, fldate="02.01.2015"]' ). + factory->connect( 'return_value_w_date->sflight/sflight(price) [connid=i_connid, fldate="02.01.2015"]' ). " NB: this is a bit tricky, dates in text are formatted and if we don't specify the method param " we don't know the type of it and so we don't know how to convert value. So contstant filters are always string @@ -1758,7 +1748,7 @@ class ltcl_mockup_stub_factory_test implementation. ml = get_ml( ). factory = get_factory( ml ). - factory->connect( 'exists->example/sflight(?) [connid=i_connid]' ). + factory->connect( 'exists->sflight/sflight(?) [connid=i_connid]' ). stub ?= factory->generate_stub( ). cl_abap_unit_assert=>assert_equals( @@ -1779,7 +1769,7 @@ class ltcl_mockup_stub_factory_test implementation. ml = get_ml( ). factory = get_factory( ml ). - factory->connect( 'tab_export(e_tab)->example/sflight [connid=i_connid]' ). + factory->connect( 'tab_export(e_tab)->sflight/sflight [connid=i_connid]' ). stub ?= factory->generate_stub( ). @@ -1818,8 +1808,8 @@ class ltcl_mockup_stub_factory_test implementation. ml = get_ml( ). factory = get_factory( ml ). - factory->connect( 'tab_export(e_tab)->example/sflight [connid=i_connid]' ). - factory->connect( 'tab_export(e_by_date)->example/sflight [fldate=i_by_date]' ). + factory->connect( 'tab_export(e_tab)->sflight/sflight [connid=i_connid]' ). + factory->connect( 'tab_export(e_by_date)->sflight/sflight [fldate=i_by_date]' ). factory->connect( 'tab_export(e_val)-> =10' ). stub ?= factory->generate_stub( ). @@ -1864,7 +1854,7 @@ class ltcl_mockup_stub_factory_test implementation. ml = get_ml( ). factory = get_factory( ml ). - factory->connect( 'tab_return->example/missing-file' ). " wrong table + factory->connect( 'tab_return->sflight/missing-file' ). " wrong table stub ?= factory->generate_stub( ). diff --git a/src/core/zmockup_loader_unit_test.w3mi.data.zip b/src/core/zmockup_loader_unit_test.w3mi.data.zip index 66d83ab8e94209d99a2eac45ef7898595419bb95..b614681a33194f4f65ba2acb9c5fe7cf43725af7 100644 GIT binary patch literal 2762 zcmWIWW@Zs#U|`^2;Oyy%bb70C(FVv%0%BnxE>6qIOwTCMhthf_6(z-GJY1hj9+rIj z{+T%_&rYvTaorq7$9d=0#RLWh&S_&~W1GX)R^^bAl90jmsQGB`g(JNIM|vMTI>yGv z5CFG~3uxJ@Yu!^KftHvtGB8L0>C(K+lK7I;;*w(hl+@IM_>9!V6tImS%fFR8{POWj zG4HdI&pcdwo$MQT@>qI*Hu8St9n|gJ^))ysnEO$&(dVG<#lfE@8wcme9thDf%-Yej zB5jhPy83j^xT({o{qSWvRXp=iXktb}Lc@KY4P0o>k!UDVwgNf>Z&WSJ2EXjy3 zFUrqLk59`?%^}-;S`7-*gwY%@ao*Z{%0P=%fLMbF2NWchWZ(&()7_swUlQdK@;0(y zL=AXJuQN^NKnp;=mBeCEPG(+eF{;U|L5k}H6=T}ww9S!QX=(Y>V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_unit_test.w3mi.xml index a4c03a3..3bbc779 100644 --- a/src/core/zmockup_loader_unit_test.w3mi.xml +++ b/src/core/zmockup_loader_unit_test.w3mi.xml @@ -11,11 +11,11 @@ filename - ZMOCKUP_LOADER_UNIT_TEST.zip + mockup-compiler-build.zip mimetype - ZIP + application/zip From d1ca894aefde8a29e24589ea775f76cd99ceb0bc Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 15:52:40 +0000 Subject: [PATCH 6/7] change name in abagit.xml --- .abapgit.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.abapgit.xml b/.abapgit.xml index 6c456b9..93fcab4 100644 --- a/.abapgit.xml +++ b/.abapgit.xml @@ -2,6 +2,7 @@ + Mockup loader E /src/ PREFIX @@ -18,7 +19,7 @@ /abaplint.json /ci/ - zif_mockup_loader=>version + ZIF_MOCKUP_LOADER=>VERSION From ac708f47346d1b73afbe4fc66cb1ec8207af60e3 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Thu, 12 Dec 2024 17:59:36 +0200 Subject: [PATCH 7/7] Update changelog.txt --- changelog.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.txt b/changelog.txt index 8696c3e..e3592e9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -10,6 +10,8 @@ Legend v2.2.4, 2024-??-?? ------------------ +! reworks in unit tests +! Restructured packages: core objects were separated from examples and devtools, to improve deployment + zcl_mockup_loader_utils=>and - merge several filters together - #53 v2.2.3, 2024-02-04