From 100a24a53c862201d1fcaaf81c6faacb694d37e9 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 6 Feb 2015 19:23:07 +0100 Subject: changed name of text field from content to default. --- test/plugins/xml/XmlParserTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/plugins') 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 book_domain_node = env.parse("simple_book.oxd", "", "", RttiSet{&RttiTypes::Document}); + //TODO: Check result } } -- cgit v1.2.3