diff options
author | Christian Linke <christian.linke@bmw.de> | 2013-01-18 14:23:24 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2013-01-18 14:23:24 +0100 |
commit | 2999b87998ec7df7ca5a4a897a41611148587fd7 (patch) | |
tree | bfe16634e47d5b8d0bb16add1ef52ef273bb60a0 | |
parent | 573d543d61bafd1499dd1c5e372cbdaf4dfb2a7f (diff) | |
download | audiomanager-2999b87998ec7df7ca5a4a897a41611148587fd7.tar.gz |
* update NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r-- | AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp index b19883e..b846956 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp @@ -155,9 +155,9 @@ TEST_F(CAmNodeStateCommunicatorTest, receiveLifecycleRequest) env->pControlInterfaceBackdoor.replaceController(&env->pControlSender,&pMockControlInterface); uint32_t shutdownmode(1); uint32_t timeoutMs(100); - int32_t Request=(1); + int32_t Request(1); int32_t RequestID(4); - EXPECT_CALL(pMockControlInterface,hookSystemLifecycleRequest(1,RequestID)).WillOnce(Return(NsmErrorStatus_e::NsmErrorStatus_Ok)); + EXPECT_CALL(pMockControlInterface,hookSystemLifecycleRequest(_,RequestID)).WillOnce(Return(NsmErrorStatus_e::NsmErrorStatus_Ok)); ASSERT_EQ(NsmErrorStatus_e::NsmErrorStatus_Ok,env->nsmController.nsmRegisterShutdownClient(shutdownmode,timeoutMs)); std::ostringstream send; send << "python send2nsm.py LifecycleRequest "<<Request<<" "<<RequestID; |