diff options
| author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-28 00:54:05 +0100 |
|---|---|---|
| committer | Andreas Stöckel <andreas@somweyr.de> | 2014-12-28 00:54:05 +0100 |
| commit | 3f22fdbf6aa5d4543c122a91cf244046697a1ec9 (patch) | |
| tree | a4ea51b9147d7773a5fa1d5fb1bbac3f644082ec /test/core/model/DocumentTest.cpp | |
| parent | 079b45a6745dc296a60622d5a4897ccdfcf1fa0f (diff) | |
Finished StructType implementation, started to write unit tests
Diffstat (limited to 'test/core/model/DocumentTest.cpp')
| -rw-r--r-- | test/core/model/DocumentTest.cpp | 6 |
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()); } |
