commit eee15c1de301b459ef6f44bbbc953ffb059061dc Author: Ulrich Carmesin Date: Mon Aug 22 22:56:30 2022 +0200 init diff --git a/TC0001/env-post-exec/testcm02/t_object.csv b/TC0001/env-post-exec/testcm02/t_object.csv new file mode 100644 index 0000000..458980e --- /dev/null +++ b/TC0001/env-post-exec/testcm02/t_object.csv @@ -0,0 +1 @@ +objid;descript;objtype;value diff --git a/TC0001/env-post-exec/testcm02/t_police.csv b/TC0001/env-post-exec/testcm02/t_police.csv new file mode 100644 index 0000000..b3233b1 --- /dev/null +++ b/TC0001/env-post-exec/testcm02/t_police.csv @@ -0,0 +1 @@ +polid;polnr;polvers;persid;objid;amount;bonus;begindate;enddate diff --git a/TC0001/env-post-exec/testcm02/t_product.csv b/TC0001/env-post-exec/testcm02/t_product.csv new file mode 100644 index 0000000..398b48b --- /dev/null +++ b/TC0001/env-post-exec/testcm02/t_product.csv @@ -0,0 +1 @@ +prdid;descript;objtype;factor diff --git a/TC0001/env-post-exec/testcrm01/t_adress.csv b/TC0001/env-post-exec/testcrm01/t_adress.csv new file mode 100644 index 0000000..f025319 --- /dev/null +++ b/TC0001/env-post-exec/testcrm01/t_adress.csv @@ -0,0 +1 @@ +adrid;persid;street;city;zip;state;sqft diff --git a/TC0001/env-post-exec/testcrm01/t_person.csv b/TC0001/env-post-exec/testcrm01/t_person.csv new file mode 100644 index 0000000..e0e9a5b --- /dev/null +++ b/TC0001/env-post-exec/testcrm01/t_person.csv @@ -0,0 +1,2 @@ +table:person;persid;famname;name;birth;sex + diff --git a/TC0001/env-post-exec/testprd01/t_product.csv b/TC0001/env-post-exec/testprd01/t_product.csv new file mode 100644 index 0000000..bfbb9d7 --- /dev/null +++ b/TC0001/env-post-exec/testprd01/t_product.csv @@ -0,0 +1,3 @@ +table:product;prdid;descript;objtype;factor +testprddb:product;4;first;time;1.234 +testprddb:product;5;second;money;2.234 diff --git a/TC0001/env-pre-exec/testcrmdb/t_adress.csv b/TC0001/env-pre-exec/testcrmdb/t_adress.csv new file mode 100644 index 0000000..f025319 --- /dev/null +++ b/TC0001/env-pre-exec/testcrmdb/t_adress.csv @@ -0,0 +1 @@ +adrid;persid;street;city;zip;state;sqft diff --git a/TC0001/env-pre-exec/testcrmdb/t_person.csv b/TC0001/env-pre-exec/testcrmdb/t_person.csv new file mode 100644 index 0000000..e0e9a5b --- /dev/null +++ b/TC0001/env-pre-exec/testcrmdb/t_person.csv @@ -0,0 +1,2 @@ +table:person;persid;famname;name;birth;sex + diff --git a/TC0001/env-pre-exec/testpoldb/t_object.csv b/TC0001/env-pre-exec/testpoldb/t_object.csv new file mode 100644 index 0000000..458980e --- /dev/null +++ b/TC0001/env-pre-exec/testpoldb/t_object.csv @@ -0,0 +1 @@ +objid;descript;objtype;value diff --git a/TC0001/env-pre-exec/testpoldb/t_police.csv b/TC0001/env-pre-exec/testpoldb/t_police.csv new file mode 100644 index 0000000..b3233b1 --- /dev/null +++ b/TC0001/env-pre-exec/testpoldb/t_police.csv @@ -0,0 +1 @@ +polid;polnr;polvers;persid;objid;amount;bonus;begindate;enddate diff --git a/TC0001/env-pre-exec/testpoldb/t_product.csv b/TC0001/env-pre-exec/testpoldb/t_product.csv new file mode 100644 index 0000000..398b48b --- /dev/null +++ b/TC0001/env-pre-exec/testpoldb/t_product.csv @@ -0,0 +1 @@ +prdid;descript;objtype;factor diff --git a/TC0001/env-pre-exec/testprddb/t_product.csv b/TC0001/env-pre-exec/testprddb/t_product.csv new file mode 100644 index 0000000..bfbb9d7 --- /dev/null +++ b/TC0001/env-pre-exec/testprddb/t_product.csv @@ -0,0 +1,3 @@ +table:product;prdid;descript;objtype;factor +testprddb:product;4;first;time;1.234 +testprddb:product;5;second;money;2.234 diff --git a/TC0001/table_product.csv b/TC0001/table_product.csv new file mode 100644 index 0000000..df00095 --- /dev/null +++ b/TC0001/table_product.csv @@ -0,0 +1,5 @@ +_date;29.06.2022;; +_count;2;; +table:product;prdid;descript;objtype;factor +testprddb:product;4;first;time;1.234 +testprddb:product;5;second;money;2.234 diff --git a/TC0001/testdata.yml b/TC0001/testdata.yml new file mode 100644 index 0000000..53d9d3b --- /dev/null +++ b/TC0001/testdata.yml @@ -0,0 +1,99 @@ +_option: + _input: testa + description: create 2 new contracts|||||| +_steps: +- !!python/object:basic.step.Step + args: + action: new + fct: xml-rest + comp: testrest + execStep: '2' + fct: xml-rest + refLine: '1' +- !!python/object:basic.step.Step + args: + action: new + fct: json-rest + comp: testrest + execStep: '3' + fct: json-rest + refLine: 1,2 +_tables: + object: + _comp: + testrest: object + _data: + - _comp: + testrest: object + _nr: '1' + descript: cat + objid: '' + objtype: animal + value: '100' + - _comp: + testrest: object + _nr: '2' + descript: dog + objid: '' + objtype: animal + value: '200' + _date: 02.07.2022 + _header: + - _nr + - objid + - descript + - objtype + - value + _hit: false + person: + _comp: + testcrmdb: person + testrest: person + _data: + - _comp: + testrest: person + _nr: '1' + birth: 10.02.1898 + famname: Brecht + name: Bert + sex: m + - _comp: + testcrmdb: person + testrest: person + _nr: '2' + birth: 28.09.1942 + famname: Leon + name: Donna + sex: f + _date: 01.07.2022 + _header: + - _nr + - famname + - name + - birth + - sex + _hit: false + product: + _comp: + testprddb: product + _count: '2' + _data: + - _comp: + testprddb: product + descript: first + factor: '1.234' + objtype: time + prdid: '4' + - _comp: + testprddb: product + descript: second + factor: '2.234' + objtype: money + prdid: '5' + _date: 29.06.2022 + _header: + - prdid + - descript + - objtype + - factor + _hit: false diff --git a/TC0001/testspec.csv b/TC0001/testspec.csv new file mode 100644 index 0000000..3c7897c --- /dev/null +++ b/TC0001/testspec.csv @@ -0,0 +1,24 @@ +# A: keywords to control;B: value ;;;; +option:description;create 2 new contracts;;;; +option:_input;testa;;# _ defines a keyword=variable in the spec: ;; +# ;;;;; +# ;component;exec;_nr;action;args +step:1;testrest;2;1;fct:xml-rest;action:new +step:2;testrest;3;1,2;fct:json-rest;action:new +# ;;;;; +# testdate only here specified;expect:row 2 is inserted as precond;;;; +_date;01.07.2022;;;; +table:person;_nr;famname;name;birth;sex +testrest:person;1;Brecht;Bert;10.02.1898;m +testrest:person,testcrmdb:person;2;Leon;Donna;28.09.1942;f +# testdate only here specified;expect: no row is inserted as precond;;;; +_date;02.07.2022;;;; +table:object;_nr;objid;descript;objtype;value +testrest:object;1;;cat;animal;100 +testrest:object;2;;dog;animal;200 +# testdate here and in separate csv specified;;;;; +# expect: both row is inserted as precond;;;;; +_date;03.07.2022;;;; +table:product;_nr;prdid;descript;objtype;factor +testrest:product;1;;first;time; +testrest:product;2;;second;money; diff --git a/TC0002/testspec.csv b/TC0002/testspec.csv new file mode 100644 index 0000000..a82d2b5 --- /dev/null +++ b/TC0002/testspec.csv @@ -0,0 +1,24 @@ +# A: keywords to control;B: value ;;;; +option:description:0;create 2 new contracts;;;; +option:_input;testa;;# _ defines a keyword=variable in the spec: ;; +# ;;;;; +# ;component;exec;_nr;action;args +step:1;testrest;2;1;fct:xml-rest;action:new +step:2;testrest;3;1,2;fct:json-rest;action:new +# ;;;;; +# testdate only here specified;expect:row 2 is inserted as precond;;;; +_date;01.07.2022;;;; +table:person;_nr;famname;name;birth;sex +testrest:person;1;Brecht;Bert;10.02.1898;m +testrest:person,testcrmdb:person;2;Leon;Donna;28.09.1942;f +# testdate only here specified;expect: no row is inserted as precond;;;; +_date;02.07.2022;;;; +table:object;_nr;objid;descript;objtype;value +testrest:object;1;;cat;animal;100 +testrest:object;2;;dog;animal;200 +# testdate here and in separate csv specified;;;;; +# expect: both row is inserted as precond;;;;; +_date;03.07.2022;;;; +table:product;_nr;prdid;descript;objtype;factor +testrest:product;1;;first;time; +testrest:product;2;;second;money; diff --git a/TC0002/testspec.yml b/TC0002/testspec.yml new file mode 100644 index 0000000..ff56aa8 --- /dev/null +++ b/TC0002/testspec.yml @@ -0,0 +1,53 @@ +# A: keywords to control;B: value ;;;; +_head: + application: + - TESTAPP + depricated: N +_option: + description: + - "create 2 new contracts" + reference: + - US01704 +# ;component;exec;_nr;action;args +_step: + - _id: 1 + _comp: testrest + _exec: 2 + _ref: 1 + _args: + - fct: xml-rest + - action: new + - _id: 2 + _comp: testrest + _exec: 3 + _ref: 1,2 + _args: + - fct: json-res + - action: new + _date: 01.07.2022 + _table: person + - comp: testrest:person + _nr: 1 + famname: Brecht + name: Bert + birth: 10.02.1898 + sex: m + - comp: + - testrest:person + - testcrmdb:person; + _nr: 2 + famname: Leon + name: Donna + birth: 28.09.1942 + sex: f +# testdate only here specified;expect: no row is inserted as precond;;;; +_date;02.07.2022;;;; +table:object;_nr;objid;descript;objtype;value +testrest:object;1;;cat;animal;100 +testrest:object;2;;dog;animal;200 +# testdate here and in separate csv specified;;;;; +# expect: both row is inserted as precond;;;;; +_date;03.07.2022;;;; +table:product;_nr;prdid;descript;objtype;factor +testrest:product;1;;first;time; +testrest:product;2;;second;money; diff --git a/TST001/.~lock.testspec.csv# b/TST001/.~lock.testspec.csv# new file mode 100644 index 0000000..da00b19 --- /dev/null +++ b/TST001/.~lock.testspec.csv# @@ -0,0 +1 @@ +,ulrich,hp-ulrich,18.07.2022 19:34,file:///home/ulrich/.config/libreoffice/4; \ No newline at end of file diff --git a/TST001/testspec.csv b/TST001/testspec.csv new file mode 100644 index 0000000..8c11ae2 --- /dev/null +++ b/TST001/testspec.csv @@ -0,0 +1,13 @@ +# A: keywords to control;B: value ;;;;;;;;;;; +option:description;something;;;;;;;;;;; +option:testcases;TC0001,TC0002,TC0003;;# _ defines a keyword=variable in the spec: ;;;;;;;;; +# ;;;;;;;;;;;; +# ;# component;# action;# args;;;;;;;;; +step:1;TST001;1;start:init_testsuite;;;; +step:2;testcases;2;start:init_testcase;;;;;;;;; +step:3;testcases;3;start:execute_testcase;;;;;;;;; +step:4;testcases;4;start:collect_testcase;;;;;;;;; +step:5;testcases;5;start:compare_testcase;;;;;;;;; +step:6;TST001;6;report:testcases;;;;;;;;; +# ;;;;;;;;;;;; + diff --git a/catalog/countries.csv b/catalog/countries.csv new file mode 100644 index 0000000..ae17236 --- /dev/null +++ b/catalog/countries.csv @@ -0,0 +1,25 @@ +_key;ALPHA-2 ;;;;;;;; +_ids;Land ;ALPHA-3 ;numerisch ;TLD ;;;;; +_ref;aktuell;;;;;;;; +table:countries;Land ;ALPHA-2 ;ALPHA-3 ;numerisch ;TLD ;IOC ;ISO 3166-2 ;UN;aktuell +;Dänemark ;DK ;DNK ;208;.dk ;DEN ;DK ;DK;DK +;Deutsche Demokratische Republik (historisch) ;DD ;DDR ;278;.dd ;GDR ;DD ;DD;DE +;Deutschland ;DE ;DEU ;276;.de ;GER ;DE ;DE;DE +;Dominica ;DM ;DMA ;212;.dm ;DMA ;DM ;DM;DM +;Dominikanische Republik ;DO ;DOM ;214;.do ;DOM ;DO ;DO;DO +;Dschibuti ;DJ ;DJI ;262;.dj ;DJI ;DJ ;DJ ;DJ +;Ecuador ;EC ;ECU ;218;.ec ;ECU ;EC ;EC;EC +;Elfenbeinküste (Côte d’Ivoire) ;CI ;CIV ;384;.ci ;CIV ;CI ;CI;CI +;El Salvador ;SV ;SLV ;222;.sv ;ESA ;SV ;SV;SV +;Eritrea ;ER ;ERI ;232;.er ;ERI ;ER ;ER;ER +;Estland ;EE ;EST ;233;.ee ;EST ;EE ;EE;EE +;Singapur ;SG ;SGP ;702;.sg ;SGP ;SG ;SG;SG +;Sint Maarten ;SX ;SXM ;534;;;SX ;SX;SX +;Slowakei ;SK ;SVK ;703;.sk ;SVK ;SK ;SK;SK +;Slowenien ;SI ;SVN ;705;.si ;SLO ;SI ;SI;SI +;Somalia ;SO ;SOM ;706;.so ;SOM ;SO ;SO;SO +;Sowjetunion (UdSSR, historisch) ;SU ;SUN ;810;.su ;URS ;;;SU +;Spanien ;ES ;ESP ;724;.es ;ESP ;ES ;ES;ES +;Tschad ;TD ;TCD ;148;.td ;CHA ;TD ;TD;TD +;Tschechien ;CZ ;CZE ;203;.cz ;CZE ;CZ ;CZ;CZ +;Tschechoslowakei (historisch) ;CS ;CSK ;200;.cs ;TCH ;CS ;;CZ,SK diff --git a/encoded_iso8859.txt b/encoded_iso8859.txt new file mode 100644 index 0000000..100b487 --- /dev/null +++ b/encoded_iso8859.txt @@ -0,0 +1 @@ +öfter \ No newline at end of file diff --git a/encoded_utf8.txt b/encoded_utf8.txt new file mode 100644 index 0000000..6777fef --- /dev/null +++ b/encoded_utf8.txt @@ -0,0 +1 @@ +öfter \ No newline at end of file diff --git a/encoded_win1250.txt b/encoded_win1250.txt new file mode 100644 index 0000000..100b487 --- /dev/null +++ b/encoded_win1250.txt @@ -0,0 +1 @@ +öfter \ No newline at end of file