diff options
author | Christian Linke <christian.linke@bmw.de> | 2013-01-18 10:25:46 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2013-01-18 10:25:46 +0100 |
commit | fe07befd3a2d2cbefc631fdfe7050ef0f429a042 (patch) | |
tree | 390c1b360265fca23e0b153f37f4a1f8d551bd13 /AudioManagerDaemon | |
parent | 3a1086516a5edf30b3bad6a2e138b03bc0479005 (diff) | |
download | audiomanager-fe07befd3a2d2cbefc631fdfe7050ef0f429a042.tar.gz |
* repair NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon')
-rw-r--r-- | AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; |