diff options
author | collin <collin@livio.io> | 2020-05-19 12:28:47 -0400 |
---|---|---|
committer | collin <collin@livio.io> | 2020-05-19 12:28:47 -0400 |
commit | 323a327f724380e2e8c758adc8407b52490d51df (patch) | |
tree | 010284d826757a82aae4dffda7330e350e480a92 | |
parent | e0740f7526117dac670c82f626f5b6a1db747673 (diff) | |
download | sdl_core-fix/btn_press_limited.tar.gz |
fixup! initialize app in non custom button path of on_button_press runfix/btn_press_limited
fix unit tests with changes in run
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc index aa48e8916b..e4536ddeea 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc @@ -351,6 +351,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest, Run_SUCCESS) { .WillRepeatedly(Return(mobile_apis::HMILevel::HMI_FULL)); ON_CALL(*mock_app, IsFullscreen()).WillByDefault(Return(true)); + ON_CALL(this->app_mngr_, application(kAppId)).WillByDefault(Return(mock_app)); EXPECT_CALL(this->app_mngr_, applications_by_button(kButtonName)) .WillOnce(Return(subscribed_apps_list)); |