From 4d2878c8b4899104fd4a8877beaf3c8771f0bd2e Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Sun, 15 Feb 2015 20:17:18 +0100 Subject: removed author attribute from book domain (got refactored to meta domain) --- test/plugins/xml/XmlParserTest.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/plugins/xml/XmlParserTest.cpp') diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp index 134e935..fdae779 100644 --- a/test/plugins/xml/XmlParserTest.cpp +++ b/test/plugins/xml/XmlParserTest.cpp @@ -214,15 +214,8 @@ TEST(XmlParser, domainParsing) // get the book struct node. Cardinality single; single.merge({1}); - Rooted bookAuthor{ - new StructType(book_domain->getManager(), "", nullptr)}; - bookAuthor->addAttribute( - {new Attribute(book_domain->getManager(), "author", - env.project->getSystemTypesystem()->getStringType(), - "")}, - logger); Rooted book = checkStructuredClass( - "book", "book", book_domain, single, bookAuthor, nullptr, false, true); + "book", "book", book_domain, single, nullptr, nullptr, false, true); // get the chapter struct node. Rooted chapter = checkStructuredClass("chapter", "chapter", book_domain); -- cgit v1.2.3