summaryrefslogtreecommitdiff
path: root/test/core/model/DocumentTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-28 00:54:05 +0100
committerAndreas Stöckel <andreas@somweyr.de>2014-12-28 00:54:05 +0100
commit3f22fdbf6aa5d4543c122a91cf244046697a1ec9 (patch)
treea4ea51b9147d7773a5fa1d5fb1bbac3f644082ec /test/core/model/DocumentTest.cpp
parent079b45a6745dc296a60622d5a4897ccdfcf1fa0f (diff)
Finished StructType implementation, started to write unit tests
Diffstat (limited to 'test/core/model/DocumentTest.cpp')
-rw-r--r--test/core/model/DocumentTest.cpp6
1 files changed, 3 insertions, 3 deletions
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> domain = constructBookDomain(mgr);
+ Rooted<Domain> domain = constructBookDomain(mgr, logger);
// Construct the document.
Rooted<Document> doc = constructBookDocument(mgr, domain);
-
+
// If that works we are happy already.
ASSERT_FALSE(doc.isNull());
}