summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc
index 229f48b5e1..4a86fa9458 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc
@@ -33,7 +33,6 @@
#include <stdint.h>
#include "gtest/gtest.h"
-#include "utils/shared_ptr.h"
#include "smart_objects/smart_object.h"
#include "application_manager/smart_object_keys.h"
#include "application_manager/commands/commands_test.h"
@@ -108,8 +107,6 @@ using ::testing::Return;
using ::testing::ReturnRef;
using ::testing::Types;
using ::testing::Eq;
-
-using ::utils::SharedPtr;
using ::test::components::event_engine_test::MockEventDispatcher;
namespace am = ::application_manager;
@@ -244,7 +241,8 @@ TYPED_TEST(ResponseFromHMICommandsTest, Run_SendMessageToHMI_SUCCESS) {
typedef typename TestFixture::CommandData CommandData;
typedef typename CommandData::CommandType CommandType;
- SharedPtr<CommandType> command = this->template CreateCommand<CommandType>();
+ std::shared_ptr<CommandType> command =
+ this->template CreateCommand<CommandType>();
EXPECT_CALL(this->event_dispatcher_,
raise_event(EventIdIsEqualTo(CommandData::kEventId)));
@@ -255,7 +253,8 @@ TYPED_TEST(ResponseFromHMICommandsTest, Run_SendMessageToHMI_SUCCESS) {
TYPED_TEST(EmptyResponseFromHMICommandsTest, Run_SUCCESS) {
typedef typename TestFixture::CommandType CommandType;
- SharedPtr<CommandType> command = this->template CreateCommand<CommandType>();
+ std::shared_ptr<CommandType> command =
+ this->template CreateCommand<CommandType>();
command->Run();
}
@@ -277,7 +276,7 @@ class NotificationFromHMITest
: public CommandsTest<CommandsTestMocks::kIsNice> {};
TEST_F(NotificationFromHMITest, BasicMethodsOverloads_SUCCESS) {
- SharedPtr<application_manager::commands::NotificationFromHMI> command(
+ std::shared_ptr<application_manager::commands::NotificationFromHMI> command(
CreateCommand<application_manager::commands::NotificationFromHMI>());
// Current implementation always return `true`
EXPECT_TRUE(command->Init());
@@ -290,7 +289,7 @@ TEST_F(NotificationFromHMITest, SendNotificationToMobile_SUCCESS) {
(*command_msg)[am::strings::params][am::strings::message_type] =
static_cast<int32_t>(am::MessageType::kNotification);
- SharedPtr<application_manager::commands::NotificationFromHMI> command(
+ std::shared_ptr<application_manager::commands::NotificationFromHMI> command(
CreateCommand<application_manager::commands::NotificationFromHMI>());
EXPECT_CALL(
mock_rpc_service_,
@@ -303,7 +302,7 @@ TEST_F(NotificationFromHMITest, SendNotificationToMobile_SUCCESS) {
TEST_F(NotificationFromHMITest, CreateHMIRequest_UNSUCCESS) {
MessageSharedPtr command_msg(CreateMessage(smart_objects::SmartType_Map));
(*command_msg)[am::strings::msg_params] = 0;
- SharedPtr<application_manager::commands::NotificationFromHMI> command(
+ std::shared_ptr<application_manager::commands::NotificationFromHMI> command(
CreateCommand<application_manager::commands::NotificationFromHMI>(
command_msg));