diff options
Diffstat (limited to 'server/src/client_connection.cc')
-rw-r--r-- | server/src/client_connection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/client_connection.cc b/server/src/client_connection.cc index c3de7b0..c952ca7 100644 --- a/server/src/client_connection.cc +++ b/server/src/client_connection.cc @@ -256,7 +256,7 @@ void ClientConnection::getReply(Httpd::Reply &reply) } #ifdef TEST_CLIENT_CONNECTION -//deps: debug.cc transactionparser.cc session.cc xml_encode_decode.cc saxparser.cc transactionhandler.cc journal.cc mutex.cc templateparser.cc exception.cc configuration.cc macroparser.cc semaphore.cc entitylist.cc luaquerymapper.cc inotify.cc log.cc queryhandlerpentominos.cc widgetgenerator.cc queryhandlerpracro.cc resumeparser.cc journal_commit.cc versionstr.cc luaresume.cc luautil.cc artefact.cc environment.cc database.cc macrolist.cc templatelist.cc pracrodao.cc templateheaderparser.cc macroheaderparser.cc pracrodaotest.cc pracrodaopgsql.cc journal_uploadserver.cc sessionserialiser.cc sessionparser.cc widgetvalue.cc courseparser.cc praxisd.cc luapraxisd.cc courselist.cc +//deps: debug.cc transactionparser.cc session.cc xml_encode_decode.cc saxparser.cc transactionhandler.cc journal.cc mutex.cc templateparser.cc exception.cc configuration.cc macroparser.cc semaphore.cc entitylist.cc luaquerymapper.cc inotify.cc log.cc queryhandlerpentominos.cc widgetgenerator.cc queryhandlerpracro.cc journal_commit.cc versionstr.cc luaresume.cc luautil.cc artefact.cc environment.cc database.cc macrolist.cc templatelist.cc pracrodao.cc templateheaderparser.cc macroheaderparser.cc pracrodaotest.cc pracrodaopgsql.cc journal_uploadserver.cc sessionserialiser.cc sessionparser.cc widgetvalue.cc courseparser.cc praxisd.cc luapraxisd.cc courselist.cc luascript.cc sessionheaderparser.cc luaoncommit.cc //cflags: -DWITHOUT_DATABASE -DWITHOUT_ARTEFACT -I.. $(LUA_CFLAGS) $(EXPAT_CFLAGS) $(PTHREAD_CFLAGS) $(PQXX_CXXFLAGS) $(CURL_CFLAGS) //libs: $(LUA_LIBS) $(EXPAT_LIBS) $(PTHREAD_LIBS) $(PQXX_LIBS) $(CURL_LIBS) #include "test.h" @@ -315,7 +315,7 @@ std::string sid; { headers_t hdrs; ClientConnection con(env, hdrs, hdrs, "/test"); - TEST_TRUE(con.handle("", 0), "Test handler return value."); + TEST_TRUE(con.handle(), "Test handler return value."); con.getReply(reply); TEST_NOTEQUAL_STR(reply.data, empty_reply, "Did we get nonemtpy reply?"); TEST_NOTEQUAL_STR(reply.headers["SessionID"], "", @@ -327,7 +327,7 @@ std::string sid; { headers_t hdrs; ClientConnection con(env, hdrs, hdrs, "/test/test"); - TEST_TRUE(con.handle("", 0), "Test handler return value."); + TEST_TRUE(con.handle(), "Test handler return value."); con.getReply(reply); TEST_EQUAL_STR(reply.data, empty_reply, "Did we get an empty reponse?"); TEST_NOTEQUAL_STR(reply.headers["SessionID"], "", "Non empty session id?"); |