summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2012-09-27 10:47:37 +0200
committerchristian linke <christian.linke@bmw.de>2012-09-27 10:47:37 +0200
commit670fb5bcc1f1e10644803af130cb2511a46cb7c9 (patch)
tree1e9011859da0d05f0bbe94a62528f5a560f6a7cb /PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp
parentb3dc53dab25456b43c10e200a423fa5410099c7b (diff)
downloadaudiomanager-670fb5bcc1f1e10644803af130cb2511a46cb7c9.tar.gz
* include google test into source tree
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp')
-rw-r--r--PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp b/PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp
index 8add391..aa2a1d4 100644
--- a/PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp
+++ b/PluginCommandInterfaceDbus/test/CAmCommandSenderDbusTest.cpp
@@ -109,7 +109,7 @@ arg0=list;
ACTION(returnListMainSinkSoundProperties){
std::vector<am::am_MainSoundProperty_s> list;
am::am_MainSoundProperty_s listItem;
-listItem.type=MSP_MAX;
+listItem.type=MSP_EXAMPLE_MID;
listItem.value=223;
list.push_back(listItem);
listItem.type=MSP_UNKNOWN;
@@ -481,7 +481,7 @@ TEST_F(CAmCommandSenderDbusTest, MessageTest)
while (std::getline(ifs, line))
{
//we could parse here, but this is the fastest way....
- ASSERT_EQ(line.compare("(dbus.Int16(9), dbus.Array([dbus.Struct((dbus.Int16(4), dbus.Int16(223)), signature=None), dbus.Struct((dbus.Int16(0), dbus.Int16(2)), signature=None)], signature=dbus.Signature('(nn)')))"), 0);
+ ASSERT_EQ(line.compare("(dbus.Int16(9), dbus.Array([dbus.Struct((dbus.Int16(2), dbus.Int16(223)), signature=None), dbus.Struct((dbus.Int16(0), dbus.Int16(2)), signature=None)], signature=dbus.Signature('(nn)')))"), 0);
}
ifs.close();
@@ -506,7 +506,7 @@ TEST_F(CAmCommandSenderDbusTest, MessageTest)
while (std::getline(ifs, line))
{
//we could parse here, but this is the fastest way....
- ASSERT_EQ(line.compare("(dbus.Int16(9), dbus.Array([dbus.Struct((dbus.Int16(4), dbus.Int16(223)), signature=None), dbus.Struct((dbus.Int16(0), dbus.Int16(2)), signature=None)], signature=dbus.Signature('(nn)')))"), 0);
+ ASSERT_EQ(line.compare("(dbus.Int16(9), dbus.Array([dbus.Struct((dbus.Int16(2), dbus.Int16(223)), signature=None), dbus.Struct((dbus.Int16(0), dbus.Int16(2)), signature=None)], signature=dbus.Signature('(nn)')))"), 0);
}
ifs.close();