From de452ebdcfe9ca3cd3b2467c3e25960e7a58e49e Mon Sep 17 00:00:00 2001 From: Aleksander Donchev Date: Mon, 8 Jul 2013 11:27:30 +0200 Subject: Added 'Dump' method to the database handler and to the telnet server (Info -> Dump). Unit tests for the database handler splited into separate file. Base log class added in order to support logging into a file. Signed-off-by: Christian Linke --- AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp') diff --git a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp index dd06384..46f9577 100644 --- a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp +++ b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp @@ -30,11 +30,7 @@ CAmRouterTest::CAmRouterTest() : plistCommandPluginDirs(), // pSocketHandler(), // pControlSender(), // -#ifdef WITH_DATABASE_STORAGE pDatabaseHandler(std::string(":memory:")), -#else - pDatabaseHandler(), -#endif pRouter(&pDatabaseHandler, &pControlSender), // pRoutingSender(plistRoutingPluginDirs), // pCommandSender(plistCommandPluginDirs), // @@ -59,11 +55,6 @@ CAmRouterTest::~CAmRouterTest() void CAmRouterTest::SetUp() { logInfo("Routing Test started "); -#ifdef WITH_DATABASE_STORAGE - printf("\n WITH_DATABASE_STORAGE = 1 \n"); -#else - printf("\n WITH_DATABASE_STORAGE = 0 \n"); -#endif } void CAmRouterTest::TearDown() -- cgit v1.2.1