From: Eric Fayolle Date: Thu, 7 Jul 2022 10:05:04 +0000 (+0200) Subject: Simplification du test BugPyxB X-Git-Tag: merge_uncertainty_odysee_1210~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d76503ff24ae161fe17a6e8eb7a256eda376e291;p=tools%2Feficas.git Simplification du test BugPyxB --- diff --git a/TestPyxbBugEvenSimpler/cata_ko.xsd b/TestPyxbBugEvenSimpler/cata_ko.xsd new file mode 120000 index 00000000..52f5fba9 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ko.xsd @@ -0,0 +1 @@ +ko/cata.xsd \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.py b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.py new file mode 100755 index 00000000..be464b76 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python3 +# -*- coding:utf-8 -*- +import sys + +#print(sys.argv[:]) + +import cata_ko_driver as mdm +import pyxb + +o1 = mdm.CreateFromDocument(open('cata_ko_test_driver_1.xml').read()) +print(o1.toDOM().toprettyxml()) + diff --git a/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.xml b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.xml new file mode 120000 index 00000000..b77f1a08 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1.xml @@ -0,0 +1 @@ +cata_test_driver_1.xml \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.py b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.py new file mode 100755 index 00000000..bc01ca86 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python3 +# -*- coding:utf-8 -*- +import sys + +#print(sys.argv[:]) + +import cata_ko_driver as mdm +import pyxb + +o1 = mdm.CreateFromDocument(open('cata_ko_test_driver_1_modif.xml').read()) +print(o1.toDOM().toprettyxml()) + diff --git a/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.xml b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.xml new file mode 120000 index 00000000..9eb25597 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ko_test_driver_1_modif.xml @@ -0,0 +1 @@ +cata_test_driver_1_modified.xml \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_ok.xsd b/TestPyxbBugEvenSimpler/cata_ok.xsd new file mode 120000 index 00000000..e9a1d8ed --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ok.xsd @@ -0,0 +1 @@ +ok/cata.xsd \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.py b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.py new file mode 100755 index 00000000..60f6ccef --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python3 +# -*- coding:utf-8 -*- +import sys + +#print(sys.argv[:]) + +import cata_ok_driver as mdm +import pyxb + +o1 = mdm.CreateFromDocument(open('cata_ok_test_driver_1.xml').read()) +print(o1.toDOM().toprettyxml()) + diff --git a/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.xml b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.xml new file mode 120000 index 00000000..b77f1a08 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1.xml @@ -0,0 +1 @@ +cata_test_driver_1.xml \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.py b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.py new file mode 100755 index 00000000..1498a1a8 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python3 +# -*- coding:utf-8 -*- +import sys + +#print(sys.argv[:]) + +import cata_ok_driver as mdm +import pyxb + +o1 = mdm.CreateFromDocument(open('cata_ok_test_driver_1_modif.xml').read()) +print(o1.toDOM().toprettyxml()) + diff --git a/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.xml b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.xml new file mode 120000 index 00000000..9eb25597 --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_ok_test_driver_1_modif.xml @@ -0,0 +1 @@ +cata_test_driver_1_modified.xml \ No newline at end of file diff --git a/TestPyxbBugEvenSimpler/cata_test_driver_1.xml b/TestPyxbBugEvenSimpler/cata_test_driver_1.xml new file mode 100644 index 00000000..602b4f5f --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_test_driver_1.xml @@ -0,0 +1,5 @@ + + + 2 + 3.141 + diff --git a/TestPyxbBugEvenSimpler/cata_test_driver_1_modified.xml b/TestPyxbBugEvenSimpler/cata_test_driver_1_modified.xml new file mode 100644 index 00000000..a9b710bc --- /dev/null +++ b/TestPyxbBugEvenSimpler/cata_test_driver_1_modified.xml @@ -0,0 +1,4 @@ + + + 3.141 + diff --git a/TestPyxbBugEvenSimpler/ko/cata.xsd b/TestPyxbBugEvenSimpler/ko/cata.xsd new file mode 100644 index 00000000..22fbee37 --- /dev/null +++ b/TestPyxbBugEvenSimpler/ko/cata.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestPyxbBugEvenSimpler/ok/cata.xsd b/TestPyxbBugEvenSimpler/ok/cata.xsd new file mode 100644 index 00000000..87b3126a --- /dev/null +++ b/TestPyxbBugEvenSimpler/ok/cata.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +