summaryrefslogtreecommitdiff
path: root/test/plugins
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:23:07 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:23:07 +0100
commit100a24a53c862201d1fcaaf81c6faacb694d37e9 (patch)
treefb113b21febf539b39e1aa8e1141caf607e8e696 /test/plugins
parent577ed0ad24dd9ddb3639569307473feed52a76d3 (diff)
changed name of text field from content to default.
Diffstat (limited to 'test/plugins')
-rw-r--r--test/plugins/xml/XmlParserTest.cpp3
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
}
}