diff options
Diffstat (limited to 'src/components')
4 files changed, 8 insertions, 0 deletions
diff --git a/src/components/remote_control/test/commands/button_press_request_test.cc b/src/components/remote_control/test/commands/button_press_request_test.cc index 063aa59b6f..06a48fc077 100644 --- a/src/components/remote_control/test/commands/button_press_request_test.cc +++ b/src/components/remote_control/test/commands/button_press_request_test.cc @@ -148,6 +148,8 @@ class ButtonPressRequestTest : public ::testing::Test { .WillByDefault(Return(&rc_capabilities_)); ON_CALL(*mock_service_, IsInterfaceAvailable(_)) .WillByDefault(Return(true)); + ON_CALL(*mock_service_, IsRemoteControlApplication(_)) + .WillByDefault(Return(true)); } remote_control::request_controller::MobileRequestPtr CreateCommand( diff --git a/src/components/remote_control/test/commands/get_interior_vehicle_data_request_test.cc b/src/components/remote_control/test/commands/get_interior_vehicle_data_request_test.cc index 5e7366f48c..4ad833aa60 100644 --- a/src/components/remote_control/test/commands/get_interior_vehicle_data_request_test.cc +++ b/src/components/remote_control/test/commands/get_interior_vehicle_data_request_test.cc @@ -115,6 +115,8 @@ class GetInteriorVehicleDataRequestTest : public ::testing::Test { .WillByDefault(Return(mock_app_)); ON_CALL(*mock_service_, IsInterfaceAvailable(_)) .WillByDefault(Return(true)); + ON_CALL(*mock_service_, IsRemoteControlApplication(_)) + .WillByDefault(Return(true)); EXPECT_CALL(mock_module_, event_dispatcher()) .WillRepeatedly(ReturnRef(event_dispatcher_)); ServicePtr exp_service(mock_service_); diff --git a/src/components/remote_control/test/commands/on_remote_control_settings_test.cc b/src/components/remote_control/test/commands/on_remote_control_settings_test.cc index 977ae996fa..5c13ea63d5 100644 --- a/src/components/remote_control/test/commands/on_remote_control_settings_test.cc +++ b/src/components/remote_control/test/commands/on_remote_control_settings_test.cc @@ -106,6 +106,8 @@ class OnRemoteControlSettingsNotificationTest : public ::testing::Test { .WillByDefault(ReturnRef(mock_allocation_manager_)); ON_CALL(*mock_service_, IsInterfaceAvailable(_)) .WillByDefault(Return(true)); + ON_CALL(*mock_service_, IsRemoteControlApplication(_)) + .WillByDefault(Return(true)); apps_.push_back(mock_app_); } diff --git a/src/components/remote_control/test/commands/set_interior_vehicle_data_request_test.cc b/src/components/remote_control/test/commands/set_interior_vehicle_data_request_test.cc index ac8548dd0d..a219bc086d 100644 --- a/src/components/remote_control/test/commands/set_interior_vehicle_data_request_test.cc +++ b/src/components/remote_control/test/commands/set_interior_vehicle_data_request_test.cc @@ -124,6 +124,8 @@ class SetInteriorVehicleDataRequestTest : public ::testing::Test { ON_CALL(*mock_service_, GetApplication(_)).WillByDefault(Return(mock_app_)); ON_CALL(*mock_service_, IsInterfaceAvailable(_)) .WillByDefault(Return(true)); + ON_CALL(*mock_service_, IsRemoteControlApplication(_)) + .WillByDefault(Return(true)); ON_CALL(mock_module_, event_dispatcher()) .WillByDefault(ReturnRef(event_dispatcher_)); ServicePtr exp_service(mock_service_); |