summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/on_button_notification_commands_test.cc22
1 files changed, 11 insertions, 11 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 d2e86f0103..2ea0091332 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
@@ -34,7 +34,7 @@
#include <string>
#include "gtest/gtest.h"
-#include "utils/shared_ptr.h"
+
#include "smart_objects/smart_object.h"
#include "application_manager/smart_object_keys.h"
@@ -61,7 +61,7 @@ using ::testing::_;
using ::testing::Types;
using ::testing::Return;
-using ::utils::SharedPtr;
+
using am::commands::MessageSharedPtr;
namespace {
@@ -131,7 +131,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest,
(*notification_msg)[am::strings::msg_params][am::hmi_response::button_name] =
mobile_apis::ButtonName::CUSTOM_BUTTON;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
command->Run();
@@ -148,7 +148,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest,
mobile_apis::ButtonName::CUSTOM_BUTTON;
(*notification_msg)[am::strings::msg_params][am::strings::app_id] = kAppId;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();
@@ -170,7 +170,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest,
(*notification_msg)[am::strings::msg_params]
[am::hmi_response::custom_button_id] = kCustomButtonId;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
EXPECT_CALL(this->app_mngr_, application(kAppId))
@@ -192,7 +192,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest,
(*notification_msg)[am::strings::msg_params]
[am::hmi_response::custom_button_id] = kCustomButtonId;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();
@@ -216,7 +216,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest, Run_CustomButton_SUCCESS) {
(*notification_msg)[am::strings::msg_params]
[am::hmi_response::custom_button_id] = kCustomButtonId;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();
@@ -241,7 +241,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest, Run_NoSubscribedApps_UNSUCCESS) {
(*notification_msg)[am::strings::msg_params][am::hmi_response::button_name] =
kButtonName;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
const std::vector<ApplicationSharedPtr> empty_subscribed_apps_list;
@@ -260,7 +260,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest, Run_InvalidHmiLevel_UNSUCCESS) {
(*notification_msg)[am::strings::msg_params][am::hmi_response::button_name] =
kButtonName;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();
@@ -286,7 +286,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest,
(*notification_msg)[am::strings::msg_params][am::hmi_response::button_name] =
kButtonName;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();
@@ -312,7 +312,7 @@ TYPED_TEST(OnButtonNotificationCommandsTest, Run_SUCCESS) {
(*notification_msg)[am::strings::msg_params][am::hmi_response::button_name] =
kButtonName;
- SharedPtr<Notification> command(
+ std::shared_ptr<Notification> command(
this->template CreateCommand<Notification>(notification_msg));
typename TestFixture::MockAppPtr mock_app = this->CreateMockApp();