summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h
diff options
context:
space:
mode:
authorAleksander Donchev <aleksander.donchev@partner.bmw.de>2013-07-10 14:05:44 +0200
committerAleksander Donchev <aleksander.donchev@partner.bmw.de>2013-07-10 14:59:18 +0200
commit7b4ad13452dac45128209d54ebc2e1e83ecd5beb (patch)
treed487e0da36ff4b79887e1996591806bbe43d3708 /AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h
parent9dfa70416411055a86a9fd7eba828c65bea48325 (diff)
downloadaudiomanager-7b4ad13452dac45128209d54ebc2e1e83ecd5beb.tar.gz
Created an abstract interface for the database handlers.
Renamed CAmDatabaseHandler to CAmDatabaseHandlerSQLite and CAmMapHandler to CAmDatabaseHandlerMap. Changed std::map to std::unordered_map. Added to the cmake configuration a definition, which defines the capacity of the source and sink maps. Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h')
-rw-r--r--AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h
index 9720731..f4cb0cf 100644
--- a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h
+++ b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.h
@@ -26,7 +26,7 @@
#include "gtest/gtest.h"
#include "gmock/gmock.h"
-#include "CAmMapHandler.h"
+#include "CAmDatabaseHandlerMap.h"
#include "CAmControlReceiver.h"
#include "CAmControlSender.h"
#include "CAmDatabaseObserver.h"
@@ -51,7 +51,7 @@ public:
std::vector<std::string> plistRoutingPluginDirs;
std::vector<std::string> plistCommandPluginDirs;
CAmSocketHandler pSocketHandler;
- CAmMapHandler pDatabaseHandler;
+ CAmDatabaseHandlerMap pDatabaseHandler;
CAmRoutingSender pRoutingSender;
CAmCommandSender pCommandSender;
MockIAmCommandSend pMockInterface;