From 3f22fdbf6aa5d4543c122a91cf244046697a1ec9 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 28 Dec 2014 00:54:05 +0100 Subject: Finished StructType implementation, started to write unit tests --- test/core/model/DocumentTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/core/model/DocumentTest.cpp') diff --git a/test/core/model/DocumentTest.cpp b/test/core/model/DocumentTest.cpp index 26553dd..9e3229c 100644 --- a/test/core/model/DocumentTest.cpp +++ b/test/core/model/DocumentTest.cpp @@ -27,16 +27,16 @@ namespace ousia { namespace model { - TEST(Document, testDocumentConstruction) { // Construct Manager + Logger logger; Manager mgr{1}; // Get the domain. - Rooted domain = constructBookDomain(mgr); + Rooted domain = constructBookDomain(mgr, logger); // Construct the document. Rooted doc = constructBookDocument(mgr, domain); - + // If that works we are happy already. ASSERT_FALSE(doc.isNull()); } -- cgit v1.2.3