diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2018-01-26 13:29:38 +0200 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 12:01:42 +0300 |
commit | f83d4759add793398b24cca0ae1dd157d03f648c (patch) | |
tree | 6b949862b639f0ab1cb536109377ae77f62177ba /src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc | |
parent | a79341d7a35b7d97e239d4908a34b72978d5a821 (diff) | |
download | sdl_core-f83d4759add793398b24cca0ae1dd157d03f648c.tar.gz |
RPCService implementation
Fix commands UTs
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc b/src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc index 6b1d909121..c2fe310d9a 100644 --- a/src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc +++ b/src/components/application_manager/test/commands/mobile/end_audio_pass_thru_request_test.cc @@ -87,8 +87,9 @@ TEST_F(EndAudioPassThruRequestTest, OnEvent_UI_UNSUPPORTED_RESOUCRE) { EXPECT_CALL(app_mngr_, EndAudioPassThru(app_id)).WillOnce(Return(false)); MessageSharedPtr ui_command_result; + ON_CALL(app_mngr_, GetRPCService()).WillByDefault(ReturnRef(rpc_service_)); EXPECT_CALL( - app_mngr_, + rpc_service_, ManageMobileCommand(_, am::commands::Command::CommandOrigin::ORIGIN_SDL)) .WillOnce(DoAll(SaveArg<0>(&ui_command_result), Return(true))); |