summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/environment.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/server/src/environment.cc b/server/src/environment.cc
index 1cdfaba..35d9ad4 100644
--- a/server/src/environment.cc
+++ b/server/src/environment.cc
@@ -56,9 +56,9 @@ Environment::~Environment()
*/
#ifdef TEST_ENVIRONMENT
-//deps: configuration.cc database.cc artefact.cc pracrodao.cc session.cc mutex.cc semaphore.cc debug.cc pracrodaotest.cc pracrodaopgsql.cc journalwriter.cc journal_commit.cc
-//cflags: -I.. $(PQXX_CXXFLAGS)
-//libs: $(PQXX_LIBS) -lpthread
+//deps: configuration.cc database.cc artefact.cc pracrodao.cc session.cc mutex.cc semaphore.cc debug.cc pracrodaotest.cc pracrodaopgsql.cc journalwriter.cc journal_commit.cc entitylist.cc inotify.cc exception.cc versionstr.cc tcpsocket.cc macrolist.cc templatelist.cc saxparser.cc log.cc macroheaderparser.cc templateheaderparser.cc
+//cflags: -I.. $(PQXX_CXXFLAGS)
+//libs: $(PQXX_LIBS) -lpthread -lexpat
#include "test.h"
TEST_BEGIN;
@@ -68,9 +68,7 @@ Conf::database_poolsize = 1;
Conf::artefact_poolsize = 1;
-Environment env;
-
-// TODO: Put some testcode here (see test.h for usable macros).
+TEST_NOEXCEPTION(Environment env, "Check if the Enviroment can be created.");
TEST_END;