summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc
index ebfc2256ac..04f88e2b13 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_keyboard_input_notification_test.cc
@@ -79,8 +79,8 @@ class OnKeyBoardInputNotificationTest
(*msg)[strings::params][strings::protocol_version].asInt());
}
- MockAppPtr InitAppSetDataAccessor(SharedPtr<ApplicationSet>& app_set) {
- app_set = (!app_set ? ::utils::MakeShared<ApplicationSet>() : app_set);
+ MockAppPtr InitAppSetDataAccessor(std::shared_ptr<ApplicationSet>& app_set) {
+ app_set = (!app_set ? std::make_shared<ApplicationSet>() : app_set);
MockAppPtr app(CreateMockApp());
app_set->insert(app);
EXPECT_CALL(app_mngr_, applications())
@@ -88,14 +88,14 @@ class OnKeyBoardInputNotificationTest
return app;
}
- SharedPtr<ApplicationSet> app_set_;
+ std::shared_ptr<ApplicationSet> app_set_;
std::shared_ptr<sync_primitives::Lock> lock_;
};
TEST_F(OnKeyBoardInputNotificationTest, Run_ActionActive_SUCCESS) {
MessageSharedPtr msg = CreateMessage();
- SharedPtr<OnKeyBoardInputNotification> command =
+ std::shared_ptr<OnKeyBoardInputNotification> command =
CreateCommand<OnKeyBoardInputNotification>(msg);
MockAppPtr mock_app(InitAppSetDataAccessor(app_set_));
@@ -119,7 +119,7 @@ TEST_F(OnKeyBoardInputNotificationTest, Run_ActionActive_SUCCESS) {
TEST_F(OnKeyBoardInputNotificationTest, Run_ActionNotActive_SUCCESS) {
MessageSharedPtr msg = CreateMessage();
- SharedPtr<OnKeyBoardInputNotification> command =
+ std::shared_ptr<OnKeyBoardInputNotification> command =
CreateCommand<OnKeyBoardInputNotification>(msg);
MockAppPtr mock_app(InitAppSetDataAccessor(app_set_));
@@ -144,7 +144,7 @@ TEST_F(OnKeyBoardInputNotificationTest, Run_ActionNotActive_SUCCESS) {
TEST_F(OnKeyBoardInputNotificationTest, Run_InvalidApp_NoNotification) {
MessageSharedPtr msg = CreateMessage();
- SharedPtr<OnKeyBoardInputNotification> command =
+ std::shared_ptr<OnKeyBoardInputNotification> command =
CreateCommand<OnKeyBoardInputNotification>(msg);
MockAppPtr mock_app(InitAppSetDataAccessor(app_set_));