diff options
author | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-18 13:18:16 +0300 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 12:01:49 +0300 |
commit | e5974c2fea9efdb447ddbfc9560d00d1d7882897 (patch) | |
tree | 845b052f5715747c0ce2348a56e11ce110ddc491 /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/hmi/simple_response_from_hmi_test.cc | |
parent | e8d91bde77671b2448d041a05ef6ebbec13d8668 (diff) | |
download | sdl_core-e5974c2fea9efdb447ddbfc9560d00d1d7882897.tar.gz |
Move vi_get_vehicle_type to vehicle_info_plugin
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.cc | 18 |
1 files changed, 0 insertions, 18 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 cfe1032ea2..229f48b5e1 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 @@ -59,7 +59,6 @@ #include "application_manager/mock_event_dispatcher.h" #include "application_manager/mock_hmi_capabilities.h" #include "application_manager/policies/mock_policy_handler_interface.h" -#include "hmi/vi_get_vehicle_type_response.h" #include "hmi/dial_number_response.h" #include "hmi/close_popup_response.h" #include "hmi/tts_set_global_properties_response.h" @@ -268,23 +267,6 @@ MATCHER_P(VehicleTypeIsEqualTo, vehicle_type, "") { return (*vehicle_type) == arg.asString(); } -TEST_F(OtherResponseFromHMICommandsTest, VIGetVehicleTypeResponse_Run_SUCCESS) { - const std::string kVehicleType = "Test"; - - MessageSharedPtr command_msg(CreateMessage(smart_objects::SmartType_Map)); - (*command_msg)[am::strings::msg_params][am::hmi_response::vehicle_type] = - kVehicleType; - - SharedPtr<sdl_rpc_plugin::commands::VIGetVehicleTypeResponse> command( - CreateCommand<sdl_rpc_plugin::commands::VIGetVehicleTypeResponse>( - command_msg)); - - EXPECT_CALL(mock_hmi_capabilities_, - set_vehicle_type(VehicleTypeIsEqualTo(&kVehicleType))); - - command->Run(); -} - MATCHER_P(CheckMsgType, msg_type, "") { return msg_type == static_cast<int32_t>( |