From 8336dd4c16d4885989a6d8f0c83a4b401f5cb63b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Apr 2009 12:22:38 +0200 Subject: Add support for attributes with default and fixed values. tests/cxx/hybrid/default: new test tests/cxx/hybrid/binary: update to test default and fixed values --- tests/cxx/hybrid/binary/cdr/output.xml | 2 +- tests/cxx/hybrid/binary/cdr/test.xml | 4 ++-- tests/cxx/hybrid/binary/cdr/test.xsd | 12 ++++++++++++ tests/cxx/hybrid/binary/custom/output.xml | 2 +- tests/cxx/hybrid/binary/custom/test.xml | 4 ++-- tests/cxx/hybrid/binary/custom/test.xsd | 12 ++++++++++++ tests/cxx/hybrid/binary/xdr/output.xml | 2 +- tests/cxx/hybrid/binary/xdr/test.xml | 4 ++-- tests/cxx/hybrid/binary/xdr/test.xsd | 12 ++++++++++++ 9 files changed, 45 insertions(+), 9 deletions(-) (limited to 'tests/cxx/hybrid/binary') diff --git a/tests/cxx/hybrid/binary/cdr/output.xml b/tests/cxx/hybrid/binary/cdr/output.xml index a484661..f36f755 100644 --- a/tests/cxx/hybrid/binary/cdr/output.xml +++ b/tests/cxx/hybrid/binary/cdr/output.xml @@ -1,2 +1,2 @@ -1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== +1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== 6865782052696E6172792001-10-26+02:002001-10-26T21:32:52+02:00P1Y2M3DT5H20M30S---01+02:00--11+02:00--02-11+02:002001+02:002001-11+02:00 \ No newline at end of file diff --git a/tests/cxx/hybrid/binary/cdr/test.xml b/tests/cxx/hybrid/binary/cdr/test.xml index acd75d2..1218c37 100644 --- a/tests/cxx/hybrid/binary/cdr/test.xml +++ b/tests/cxx/hybrid/binary/cdr/test.xml @@ -6,10 +6,10 @@ left - + aaa - + aaa bbb c diff --git a/tests/cxx/hybrid/binary/cdr/test.xsd b/tests/cxx/hybrid/binary/cdr/test.xsd index 7a92c7e..5a2ea34 100644 --- a/tests/cxx/hybrid/binary/cdr/test.xsd +++ b/tests/cxx/hybrid/binary/cdr/test.xsd @@ -35,6 +35,18 @@ + + + + + + + + + + + + diff --git a/tests/cxx/hybrid/binary/custom/output.xml b/tests/cxx/hybrid/binary/custom/output.xml index a484661..f36f755 100644 --- a/tests/cxx/hybrid/binary/custom/output.xml +++ b/tests/cxx/hybrid/binary/custom/output.xml @@ -1,2 +1,2 @@ -1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== +1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== 6865782052696E6172792001-10-26+02:002001-10-26T21:32:52+02:00P1Y2M3DT5H20M30S---01+02:00--11+02:00--02-11+02:002001+02:002001-11+02:00 \ No newline at end of file diff --git a/tests/cxx/hybrid/binary/custom/test.xml b/tests/cxx/hybrid/binary/custom/test.xml index acd75d2..1218c37 100644 --- a/tests/cxx/hybrid/binary/custom/test.xml +++ b/tests/cxx/hybrid/binary/custom/test.xml @@ -6,10 +6,10 @@ left - + aaa - + aaa bbb c diff --git a/tests/cxx/hybrid/binary/custom/test.xsd b/tests/cxx/hybrid/binary/custom/test.xsd index 7a92c7e..5a2ea34 100644 --- a/tests/cxx/hybrid/binary/custom/test.xsd +++ b/tests/cxx/hybrid/binary/custom/test.xsd @@ -35,6 +35,18 @@ + + + + + + + + + + + + diff --git a/tests/cxx/hybrid/binary/xdr/output.xml b/tests/cxx/hybrid/binary/xdr/output.xml index a484661..f36f755 100644 --- a/tests/cxx/hybrid/binary/xdr/output.xml +++ b/tests/cxx/hybrid/binary/xdr/output.xml @@ -1,2 +1,2 @@ -1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== +1 2 3abcleftaaaaaabbbcccccc123abcdef12.34false6566-22257005-570053735928559-21474836482147483647-2147483648-214748364821474836472147483647-2147483648true1234.1212345678.12345681234567812345678stringnormalized stringone two threenamename-tokenname tokensncnameen-usxsi:schemaLocationelements1elements2elements1elements1 elements2http://www.codesynthesis.comYmFzZTY0IGJpbmFyeQ== 6865782052696E6172792001-10-26+02:002001-10-26T21:32:52+02:00P1Y2M3DT5H20M30S---01+02:00--11+02:00--02-11+02:002001+02:002001-11+02:00 \ No newline at end of file diff --git a/tests/cxx/hybrid/binary/xdr/test.xml b/tests/cxx/hybrid/binary/xdr/test.xml index acd75d2..1218c37 100644 --- a/tests/cxx/hybrid/binary/xdr/test.xml +++ b/tests/cxx/hybrid/binary/xdr/test.xml @@ -6,10 +6,10 @@ left - + aaa - + aaa bbb c diff --git a/tests/cxx/hybrid/binary/xdr/test.xsd b/tests/cxx/hybrid/binary/xdr/test.xsd index 7a92c7e..5a2ea34 100644 --- a/tests/cxx/hybrid/binary/xdr/test.xsd +++ b/tests/cxx/hybrid/binary/xdr/test.xsd @@ -35,6 +35,18 @@ + + + + + + + + + + + + -- cgit v1.1