summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceDbus/test/dbuscommandpluginInterfaceTest.h
blob: 0f46731747c2c3a1208312f8e64766a369ab4156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * dbuscommandpluginInterfaceTest.h
 *
 *  Created on: Dec 14, 2011
 *      Author: christian
 */

#ifndef DBUSCOMMANDPLUGININTERFACETEST_H_
#define DBUSCOMMANDPLUGININTERFACETEST_H_

#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <dlt/dlt.h>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
#include "CommandReceiver.h"
#include "CommandSender.h"
#include "MockInterfaces.h"
#include "DbusCommandInterfaceBackdoor.h"


#define DEFAULT_PLUGIN_COMMAND_DIR "/home/christian/workspace/gitserver/build/plugins/command"
#define UNIT_TEST 1

namespace am {

class DbusCommandInterfaceBackdoor;

/*
 * originally, I would want to have several tests, but there are problems implementing this with
 * Dbus.
 * I use python to send put the messages and to check the returns I get from the Plugin.
 *
 */


class dbuscommandpluginInterfaceTest :public ::testing::Test
{
public:
	dbuscommandpluginInterfaceTest();
	~dbuscommandpluginInterfaceTest();

	void SetUp();
	void TearDown();
};

}

#endif /* DBUSCOMMANDPLUGININTERFACETEST_H_ */