summaryrefslogtreecommitdiff
path: root/test/plugins/xml/XmlParserTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-16 17:02:04 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-01-16 17:02:04 +0100
commit378ff2235fdf32983ebf2186a9127e51cbe8a0ab (patch)
tree12223877b7631dc2adc9d9d69cd7e31da079e27e /test/plugins/xml/XmlParserTest.cpp
parent6c1288bd3746329c3721c6aca1fb0420061831c3 (diff)
Allowing deferred resolution of Nodes
Diffstat (limited to 'test/plugins/xml/XmlParserTest.cpp')
-rw-r--r--test/plugins/xml/XmlParserTest.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index fd13cb9..ce53eb3 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -53,7 +53,13 @@ const char *TEST_DATA =
" <head>\n"
" <typesystem name=\"color\">\n"
" <types>\n"
- " <struct name=\"color\">\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"
" </types>\n"
" </typesystem>\n"