diff options
author | deva <deva> | 2010-01-15 10:53:37 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-15 10:53:37 +0000 |
commit | 12174f682dd7bd08ce19be3a60a299baafbc3086 (patch) | |
tree | cf768865adf5d96dcfba72697ae4ebe1d702308f /server/src | |
parent | e1d4c1224c0e1abce1d8cae49e241b37f1ca3eed (diff) |
Updated environment test.
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/environment.cc | 10 |
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; |