summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-12 00:05:08 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-12 00:05:08 +0100
commit339683e64288a85b8d6f9355a10563417b7d2fa7 (patch)
tree3710c4bd2d811780dd6b4a7a6394ade41a9dd6b9 /test
parent7daed2f8431e89e2bd041a54bc1bef8c45329092 (diff)
addes special resolve case in ParserScope::resolve for default field descriptors and changed resolve mechanism in parent field refs to just asking for the FieldDescriptor with the given name.
Diffstat (limited to 'test')
-rw-r--r--test/plugins/xml/XmlParserTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index 7d5c697..134e935 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -292,7 +292,7 @@ TEST(XmlParser, domainParsing)
std::vector<Rooted<Descriptor>> descs{comment_anno, comment, reply};
for (auto &d : descs) {
checkFieldDescriptor(d, {paragraph}, "content",
- FieldDescriptor::FieldType::SUBTREE, nullptr,
+ FieldDescriptor::FieldType::TREE, nullptr,
false);
checkFieldDescriptor(d, {reply}, "replies",
FieldDescriptor::FieldType::SUBTREE, nullptr,