diff options
author | Shobhit Adlakha <adlakhashobhit@gmail.com> | 2019-03-16 18:39:34 -0500 |
---|---|---|
committer | Shobhit Adlakha <adlakhashobhit@gmail.com> | 2019-03-16 18:39:34 -0500 |
commit | c45ae773e16f3ba6b2c23fed6c6acb5a8fb2821b (patch) | |
tree | 7cc8acd889a6af73cbfacb587aafce5161f4a39b /src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc | |
parent | 060c53c6172c87076089e975175d2c60b20e26a2 (diff) | |
download | sdl_core-c45ae773e16f3ba6b2c23fed6c6acb5a8fb2821b.tar.gz |
Set expectation that shared_ptr for command was succesfully created in dummy_command_teststest/app_service_command_factory
Diffstat (limited to 'src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc')
-rw-r--r-- | src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc index e182397516..8ef87b6de9 100644 --- a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc +++ b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/test/commands/hmi/dummy_hmi_commands_test.cc @@ -141,7 +141,7 @@ TYPED_TEST_CASE(HMICommandsTestFirst, HMICommandsListFirst); TYPED_TEST(HMICommandsTestFirst, CtorAndDtorCall) { std::shared_ptr<typename TestFixture::CommandType> command = this->template CreateCommand<typename TestFixture::CommandType>(); - UNUSED(command); + EXPECT_NE(command.use_count(), 0); } } // namespace dummy_hmi_commands_test |