diff options
author | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-08 11:27:30 +0200 |
---|---|---|
committer | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-10 14:59:18 +0200 |
commit | de452ebdcfe9ca3cd3b2467c3e25960e7a58e49e (patch) | |
tree | f210a063672aa5a8abc2a54fe3c78ddaf9dd625a /AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp | |
parent | e18331e64352b881268ca6f8db1d127113dd1519 (diff) | |
download | audiomanager-de452ebdcfe9ca3cd3b2467c3e25960e7a58e49e.tar.gz |
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 <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp')
-rw-r--r-- | AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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() |