summaryrefslogtreecommitdiff
path: root/test/plugins/xml/XmlParserTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/xml/XmlParserTest.cpp')
-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
}
}