summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test
diff options
context:
space:
mode:
authorIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-07-20 12:25:06 +0300
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-07-20 12:25:06 +0300
commit79b48dcec650705e42f163defa1ac663d1f1bbb8 (patch)
tree000aa53093f6350e0f18f2fbc1532ac774ae41c7 /src/components/application_manager/test
parent734fb7d8247f43a97b221897dd44f245f5144b7e (diff)
downloadsdl_core-79b48dcec650705e42f163defa1ac663d1f1bbb8.tar.gz
Replace utils::SharedPtr with std::shared_ptr and fix its usage for external policy
Diffstat (limited to 'src/components/application_manager/test')
-rw-r--r--src/components/application_manager/test/message_helper/message_helper_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/test/message_helper/message_helper_test.cc b/src/components/application_manager/test/message_helper/message_helper_test.cc
index 39bd5f4d4d..63d1f4471a 100644
--- a/src/components/application_manager/test/message_helper/message_helper_test.cc
+++ b/src/components/application_manager/test/message_helper/message_helper_test.cc
@@ -967,7 +967,7 @@ TEST_F(MessageHelperTest, SendGetListOfPermissionsResponse_SUCCESS) {
correlation_id,
mock_application_manager);
- ASSERT_TRUE(result);
+ ASSERT_TRUE(result.get());
EXPECT_EQ(hmi_apis::FunctionID::SDL_GetListOfPermissions,
(*result)[strings::params][strings::function_id].asInt());
@@ -1007,7 +1007,7 @@ TEST_F(MessageHelperTest,
correlation_id,
mock_application_manager);
- ASSERT_TRUE(result);
+ ASSERT_TRUE(result.get());
smart_objects::SmartObject& msg_params = (*result)[strings::msg_params];
const std::string external_consent_status_key = "externalConsentStatus";