summaryrefslogtreecommitdiff
path: root/test/plugins/xml/XmlParserTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 13:46:06 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 13:46:06 +0100
commitdb51a874964b038c69f1336a8a659ae40471e26b (patch)
treeb0eae3727241be330321c5bd1de4d1695ff6578d /test/plugins/xml/XmlParserTest.cpp
parent5c832e5cc0d2ff948816bd4a492189435efa8578 (diff)
Implemented storing locations in the ParserStack, improved parsing typesystems
Diffstat (limited to 'test/plugins/xml/XmlParserTest.cpp')
-rw-r--r--test/plugins/xml/XmlParserTest.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index ce53eb3..2046940 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -53,14 +53,17 @@ const char *TEST_DATA =
" <head>\n"
" <typesystem name=\"color\">\n"
" <types>\n"
- " <struct name=\"blub\">\n"
- " <field name=\"a\" type=\"int\"/>\n"
- " </struct>\n"
" <struct name=\"color\" parent=\"blub\">\n"
" <field name=\"r\" type=\"int\"/>\n"
" <field name=\"g\" type=\"int\"/>\n"
" <field name=\"b\" type=\"int\"/>\n"
" </struct>\n"
+ " <struct name=\"blub\">\n"
+ " <field name=\"a\" type=\"int\"/>\n"
+ " </struct>\n"
+ " <struct name=\"blub\">\n"
+ " <field name=\"a\" type=\"int\"/>\n"
+ " </struct>\n"
" </types>\n"
" </typesystem>\n"
" </head>\n"