aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/polymorphism
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-12-16 15:50:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-12-16 15:50:30 +0200
commitf8952f732115d36a2b5f0c2a8a520f1ccd9db545 (patch)
tree4e3f8c9e3b948189e5a2e9a44eb7499db5eb8b5d /tests/cxx/hybrid/polymorphism
parenta44a422fd0dcb9348ab3a9262b37e0e7f783b6ee (diff)
Update to new revision of genx
Now by elements with empty content a closed immediately and attributes are no longer sorted.
Diffstat (limited to 'tests/cxx/hybrid/polymorphism')
-rw-r--r--tests/cxx/hybrid/polymorphism/any-type/test-000.std6
-rw-r--r--tests/cxx/hybrid/polymorphism/enumeration/test-000.std2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/cxx/hybrid/polymorphism/any-type/test-000.std b/tests/cxx/hybrid/polymorphism/any-type/test-000.std
index 0c40a51..b57b9ea 100644
--- a/tests/cxx/hybrid/polymorphism/any-type/test-000.std
+++ b/tests/cxx/hybrid/polymorphism/any-type/test-000.std
@@ -1,11 +1,11 @@
<t:root xmlns:t="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <t:any></t:any>
- <t:any></t:any>
+ <t:any/>
+ <t:any/>
<t:base x="abc">
<a>123</a>
<b>abc</b>
</t:base>
- <t:any x="xyz" xsi:type="t:derived">
+ <t:any xsi:type="t:derived" x="xyz">
<a>123</a>
<b>abc</b>
<c>9</c>
diff --git a/tests/cxx/hybrid/polymorphism/enumeration/test-000.std b/tests/cxx/hybrid/polymorphism/enumeration/test-000.std
index ecb1b29..62ab1f8 100644
--- a/tests/cxx/hybrid/polymorphism/enumeration/test-000.std
+++ b/tests/cxx/hybrid/polymorphism/enumeration/test-000.std
@@ -1 +1 @@
-<t:root xmlns:t="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><base xsi:type="t:derived">a</base><base xsi:type="t:derived">b</base><simple>a</simple><simple>b</simple><simple xsi:type="t:interm">b</simple><simple xsi:type="t:final">c</simple><simple x="c" xsi:type="t:complex">c</simple></t:root> \ No newline at end of file
+<t:root xmlns:t="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><base xsi:type="t:derived">a</base><base xsi:type="t:derived">b</base><simple>a</simple><simple>b</simple><simple xsi:type="t:interm">b</simple><simple xsi:type="t:final">c</simple><simple xsi:type="t:complex" x="c">c</simple></t:root> \ No newline at end of file