3b2770180b25d64465316b980eece27f3d703a13
[profile/ivi/genivi/genivi-audio-manager.git] / AudioManagerDaemon / test / routingInterface / routingInterfaceTest.h
1 /*
2  * routingInterfaceTest.h
3  *
4  *  Created on: Dec 10, 2011
5  *      Author: christian
6  */
7
8 #ifndef ROUTINGINTERFACETEST_H_
9 #define ROUTINGINTERFACETEST_H_
10
11 #include <gtest/gtest.h>
12 #include <gmock/gmock.h>
13 #include <dlt/dlt.h>
14 #include <algorithm>
15 #include <string>
16 #include <vector>
17 #include <set>
18 #include "MockRoutingInterface.h"
19 #include "DatabaseHandler.h"
20 #include "ControlReceiver.h"
21 #include "ControlSender.h"
22 #include "DatabaseObserver.h"
23 #include "../RoutingInterfaceBackdoor.h"
24 #include "../CommandInterfaceBackdoor.h"
25 #include "../CommonFunctions.h"
26
27 DLT_DECLARE_CONTEXT(AudioManager)
28
29 using namespace testing;
30 using namespace am;
31
32 class routingInterfaceTest : public Test{
33 public:
34         routingInterfaceTest();
35         ~routingInterfaceTest();
36         std::vector<std::string> plistRoutingPluginDirs;
37         std::vector<std::string> plistCommandPluginDirs;
38         DatabaseHandler pDatabaseHandler;
39         RoutingSender pRoutingSender;
40         CommandSender pCommandSender;
41         MockRoutingSendInterface pMockInterface;
42         RoutingInterfaceBackdoor pRoutingInterfaceBackdoor;
43         CommandInterfaceBackdoor pCommandInterfaceBackdoor;
44         ControlReceiver pControlReceiver;
45         DatabaseObserver pObserver;
46         CommonFunctions pCF;
47         void SetUp();
48         void TearDown();
49 };
50
51 #endif /* ROUTINGINTERFACETEST_H_ */