From 573d543d61bafd1499dd1c5e372cbdaf4dfb2a7f Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Fri, 18 Jan 2013 12:12:32 +0100 Subject: * fix asyncRoutingTest and NSM test Signed-off-by: Christian Linke --- .../AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 8 ++++---- PluginRoutingInterfaceAsync/test/CMakeLists.txt | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp index ad88143..b19883e 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp @@ -155,12 +155,12 @@ TEST_F(CAmNodeStateCommunicatorTest, receiveLifecycleRequest) env->pControlInterfaceBackdoor.replaceController(&env->pControlSender,&pMockControlInterface); uint32_t shutdownmode(1); uint32_t timeoutMs(100); - uint32_t Request(1); - uint32_t RequestID(4); - EXPECT_CALL(pMockControlInterface,hookSystemLifecycleRequest(Request,RequestID)).WillOnce(Return(NsmErrorStatus_e::NsmErrorStatus_Ok)); + int32_t Request=(1); + int32_t RequestID(4); + EXPECT_CALL(pMockControlInterface,hookSystemLifecycleRequest(1,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); + send << "python send2nsm.py LifecycleRequest "<