summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp')
-rw-r--r--AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp b/AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp
index bc3e583..1e89d7a 100644
--- a/AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp
+++ b/AudioManagerDaemon/test/routingInterface/routingInterfaceTest.cpp
@@ -22,13 +22,14 @@ using ::testing::ElementsAre;
using ::testing::NotNull;
routingInterfaceTest::routingInterfaceTest()
- :pDatabaseHandler(),
- pRoutingSender(),
- pCommandSender(),
+ :plistCommandPluginDirs(),
+ pDatabaseHandler(std::string(":memory:")),
+ pRoutingSender(plistRoutingPluginDirs),
+ pCommandSender(plistCommandPluginDirs),
pMockInterface(),
pRoutingInterfaceBackdoor(),
pCommandInterfaceBackdoor(),
- pControlReceiver(&pDatabaseHandler,&pRoutingSender),
+ pControlReceiver(&pDatabaseHandler,&pRoutingSender,&pCommandSender),
pObserver(&pCommandSender,&pRoutingSender)
{
pDatabaseHandler.registerObserver(&pObserver);