diff options
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/html/DemoOutputTest.cpp | 2 | ||||
-rw-r--r-- | test/plugins/xml/XmlParserTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/plugins/html/DemoOutputTest.cpp b/test/plugins/html/DemoOutputTest.cpp index 094b5fd..5006655 100644 --- a/test/plugins/html/DemoOutputTest.cpp +++ b/test/plugins/html/DemoOutputTest.cpp @@ -86,7 +86,7 @@ TEST(DemoHTMLTransformer, AnnotationProcessing) // Construct a document only containing overlapping annotations. // it has the form: <em>bla<strong>blub</em>bla</strong> Rooted<Document> doc{new Document(mgr, "annotations.oxd")}; - doc->addDomains({bookDom, emDom}); + doc->referenceDomains({bookDom, emDom}); Rooted<StructuredEntity> book = buildRootStructuredEntity(doc, logger, {"book"}); ASSERT_TRUE(book != nullptr); diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp index 0f00c86..6ac962d 100644 --- a/test/plugins/xml/XmlParserTest.cpp +++ b/test/plugins/xml/XmlParserTest.cpp @@ -65,7 +65,7 @@ TEST(XmlParser, mismatchedTag) TEST(XmlParser, generic) { XmlStandaloneEnvironment env(logger); - env.parse("generic.oxm", "", "", RttiSet{&RttiTypes::Document}); + env.parse("generic.oxm", "", "", RttiSet{&RttiTypes::Typesystem}); #ifdef MANAGER_GRAPHVIZ_EXPORT env.manager.exportGraphviz("xmlDocument.dot"); #endif |