diff options
Diffstat (limited to 'test/plugins/xml/XmlParserTest.cpp')
-rw-r--r-- | test/plugins/xml/XmlParserTest.cpp | 8 |
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" |