summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp')
-rw-r--r--AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp b/AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp
index b126efc..3c4af7d 100644
--- a/AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp
+++ b/AudioManagerDaemon/test/AmControlInterfaceTest/CAmControlInterfaceTest.cpp
@@ -208,7 +208,8 @@ TEST_F(CAmControlInterfaceTest,ackConnect)
ASSERT_TRUE(!connectionList.empty());
//no we try the same, but do expect a no_change answer directly and no call because connection already exists
- ASSERT_EQ(E_ALREADY_EXISTS, pControlReceiver.connect(handle,connectionID,CF_GENIVI_STEREO,2,2));
+ //ASSERT_EQ(E_ALREADY_EXISTS, pControlReceiver.connect(handle,connectionID,CF_GENIVI_STEREO,2,2));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,ackDisconnect)
@@ -369,7 +370,8 @@ TEST_F(CAmControlInterfaceTest,setSourceState)
ASSERT_TRUE(handlesList.empty());
//we try again but expect a no change error
- ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceState(handle,source.sourceID,SS_PAUSED));
+ //ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceState(handle,source.sourceID,SS_PAUSED));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,SetSinkVolumeChange)
@@ -419,7 +421,8 @@ TEST_F(CAmControlInterfaceTest,SetSinkVolumeChange)
ASSERT_TRUE(handlesList.empty());
//Now we try again, but the value is unchanged
- ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSinkVolume(handle,sinkID,11,RAMP_GENIVI_DIRECT,23));
+ //ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSinkVolume(handle,sinkID,11,RAMP_GENIVI_DIRECT,23));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,ackSetSourceVolumeChange)
@@ -469,7 +472,8 @@ TEST_F(CAmControlInterfaceTest,ackSetSourceVolumeChange)
ASSERT_TRUE(handlesList.empty());
//Now we try again, but the value is unchanged
- ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceVolume(handle,source.sourceID,11,RAMP_GENIVI_DIRECT,23));
+ //ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceVolume(handle,source.sourceID,11,RAMP_GENIVI_DIRECT,23));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,ackSetSinkSoundProperty)
@@ -521,7 +525,8 @@ TEST_F(CAmControlInterfaceTest,ackSetSinkSoundProperty)
ASSERT_TRUE(handlesList.empty());
//Now we try again, but the value is unchanged
- ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSinkSoundProperty(handle,sink.sinkID,soundProperty));
+ //ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSinkSoundProperty(handle,sink.sinkID,soundProperty));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,ackSetSourceSoundProperty)
@@ -573,7 +578,8 @@ TEST_F(CAmControlInterfaceTest,ackSetSourceSoundProperty)
ASSERT_TRUE(handlesList.empty());
//Now we try again, but the value is unchanged
- ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceSoundProperty(handle,source.sourceID,soundProperty));
+ //ASSERT_EQ(E_NO_CHANGE, pControlReceiver.setSourceSoundProperty(handle,source.sourceID,soundProperty));
+ //needed to be removed because logic changed here
}
TEST_F(CAmControlInterfaceTest,crossFading)