From fe07befd3a2d2cbefc631fdfe7050ef0f429a042 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Fri, 18 Jan 2013 10:25:46 +0100 Subject: * repair NSM test Signed-off-by: Christian Linke --- .../AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp index 68d7c89..ad88143 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp @@ -153,7 +153,10 @@ TEST_F(CAmNodeStateCommunicatorTest, RegisterShutdownClient) TEST_F(CAmNodeStateCommunicatorTest, receiveLifecycleRequest) { env->pControlInterfaceBackdoor.replaceController(&env->pControlSender,&pMockControlInterface); - uint32_t shutdownmode(1),timeoutMs(100),Request(1),RequestID(4); + 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)); ASSERT_EQ(NsmErrorStatus_e::NsmErrorStatus_Ok,env->nsmController.nsmRegisterShutdownClient(shutdownmode,timeoutMs)); std::ostringstream send; -- cgit v1.2.1