diff options
Diffstat (limited to 'src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc b/src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc index 32e53b4d04..628f0d9434 100644 --- a/src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc +++ b/src/components/application_manager/test/commands/hmi/hmi_notifications/hmi_notifications_test.cc @@ -132,10 +132,6 @@ #include "protocol_handler/mock_session_observer.h" #include "application_manager/mock_resume_ctrl.h" -#ifdef SDL_REMOTE_CONTROL -#include "functional_module/plugin_manager.h" -#endif // SDL_REMOTE_CONTROL - namespace am = application_manager; namespace test { @@ -1121,7 +1117,7 @@ TEST_F(HMICommandsNotificationsTest, static_cast<int32_t>(*it_mobile_reason); #ifdef SDL_REMOTE_CONTROL - functional_modules::PluginManager plugin_mng; + plugin_manager::RPCPluginManager plugin_mng; EXPECT_CALL(app_mngr_, GetPluginManager()) .WillRepeatedly(ReturnRef(plugin_mng)); #endif // SDL_REMOTE_CONTROL @@ -1151,12 +1147,6 @@ TEST_F(HMICommandsNotificationsTest, utils::SharedPtr<Command> command = CreateCommand<OnExitApplicationNotification>(message); -#ifdef SDL_REMOTE_CONTROL - functional_modules::PluginManager plugin_mng; - EXPECT_CALL(app_mngr_, GetPluginManager()) - .WillRepeatedly(ReturnRef(plugin_mng)); -#endif // SDL_REMOTE_CONTROL - EXPECT_CALL(app_mngr_, application(_)).Times(0); EXPECT_CALL(app_mngr_, GetRPCService()).Times(0); EXPECT_CALL(rpc_service_, ManageMobileCommand(_, _)).Times(0); @@ -1213,13 +1203,6 @@ TEST_F(HMICommandsNotificationsTest, hmi_apis::Common_ApplicationExitReason::USER_EXIT; utils::SharedPtr<Command> command = CreateCommand<OnExitApplicationNotification>(message); - -#ifdef SDL_REMOTE_CONTROL - functional_modules::PluginManager plugin_mng; - EXPECT_CALL(app_mngr_, GetPluginManager()) - .WillRepeatedly(ReturnRef(plugin_mng)); -#endif // SDL_REMOTE_CONTROL - EXPECT_CALL(app_mngr_, application(kAppId_)).WillRepeatedly(Return(app_)); EXPECT_CALL(app_mngr_, GetRPCService()).Times(0); EXPECT_CALL(rpc_service_, ManageMobileCommand(_, _)).Times(0); |