diff options
author | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-21 22:10:18 +0300 |
---|---|---|
committer | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-21 22:10:18 +0300 |
commit | 44ac9792ac23d05475204e154ddce859d0ceb1d5 (patch) | |
tree | 80d875ac4244d0c1c644747e37bfb1d3fc7b21e0 /src/components/application_manager/test/commands/mobile/speak_request_test.cc | |
parent | 31d409f6389e6f18429d076e5b1353aabb22caf4 (diff) | |
parent | f78d4122fc3de1070dc3fe4496488a13e29d9d8c (diff) | |
download | sdl_core-44ac9792ac23d05475204e154ddce859d0ceb1d5.tar.gz |
Merge remote-tracking branch 'origin/develop' into feature/sdl_remote_control_baseline
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/speak_request_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/mobile/speak_request_test.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/application_manager/test/commands/mobile/speak_request_test.cc b/src/components/application_manager/test/commands/mobile/speak_request_test.cc index 58eec42902..f8a7d22b40 100644 --- a/src/components/application_manager/test/commands/mobile/speak_request_test.cc +++ b/src/components/application_manager/test/commands/mobile/speak_request_test.cc @@ -67,7 +67,6 @@ using am::ApplicationManager; using am::commands::MessageSharedPtr; using am::ApplicationSharedPtr; using am::MockMessageHelper; -using am::MockHmiInterfaces; using ::testing::_; using ::utils::SharedPtr; using ::testing::Return; @@ -113,10 +112,8 @@ class SpeakRequestTest : public CommandRequestTest<CommandsTestMocks::kIsNice> { ON_CALL(app_mngr_, application(_)).WillByDefault(Return(mock_app)); MessageSharedPtr response_to_mobile; - MockHmiInterfaces hmi_interfaces; - EXPECT_CALL(app_mngr_, hmi_interfaces()) - .WillOnce(ReturnRef(hmi_interfaces)); - EXPECT_CALL(hmi_interfaces, GetInterfaceState(_)).WillOnce(Return(state)); + EXPECT_CALL(mock_hmi_interfaces_, GetInterfaceState(_)) + .WillRepeatedly(Return(state)); MockMessageHelper* mock_message_helper = MockMessageHelper::message_helper_mock(); EXPECT_CALL(*mock_message_helper, HMIToMobileResult(_)) |