summaryrefslogtreecommitdiff
path: root/server/src/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/journal.cc')
-rw-r--r--server/src/journal.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/journal.cc b/server/src/journal.cc
index 70dba2f..b6638fd 100644
--- a/server/src/journal.cc
+++ b/server/src/journal.cc
@@ -158,3 +158,18 @@ std::string Journal::patientID()
{
return _patientid;
}
+
+#ifdef TEST_JOURNAL
+//deps: debug.cc log.cc journal_uploadserver.cc journal_commit.cc
+//cflags: -I..
+//libs:
+#include <test.h>
+
+TEST_BEGIN;
+
+// TODO: Put some testcode here (see test.h for usable macros).
+TEST_TRUE(false, "No tests yet!");
+
+TEST_END;
+
+#endif/*TEST_JOURNAL*/