diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-06 19:23:07 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-06 19:23:07 +0100 |
commit | 100a24a53c862201d1fcaaf81c6faacb694d37e9 (patch) | |
tree | fb113b21febf539b39e1aa8e1141caf607e8e696 /test/plugins/xml | |
parent | 577ed0ad24dd9ddb3639569307473feed52a76d3 (diff) |
changed name of text field from content to default.
Diffstat (limited to 'test/plugins/xml')
-rw-r--r-- | test/plugins/xml/XmlParserTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp index 6110fcb..4b5e1e4 100644 --- a/test/plugins/xml/XmlParserTest.cpp +++ b/test/plugins/xml/XmlParserTest.cpp @@ -242,7 +242,7 @@ TEST(XmlParser, domainParsing) checkFieldDescriptor(subsection, {paragraph}); checkFieldDescriptor(paragraph, {text}); checkFieldDescriptor( - text, {}, "content", FieldDescriptor::FieldType::PRIMITIVE, + text, {}, DEFAULT_FIELD_NAME, FieldDescriptor::FieldType::PRIMITIVE, env.project->getSystemTypesystem()->getStringType(), false); // check parent handling using the headings domain. @@ -308,6 +308,7 @@ TEST(XmlParser, documentParsing) XmlStandaloneEnvironment env(logger); Rooted<Node> book_domain_node = env.parse("simple_book.oxd", "", "", RttiSet{&RttiTypes::Document}); + //TODO: Check result } } |