diff options
author | Conlain Kelly <conlain.k@gmail.com> | 2018-08-01 13:52:16 -0400 |
---|---|---|
committer | Conlain Kelly <conlain.k@gmail.com> | 2018-08-01 13:52:16 -0400 |
commit | 88da8446551c6111e08e89ddb997fb4b2eb652b0 (patch) | |
tree | 0d9f4f15a32396c16a32f0ac6a08f551d7393586 | |
parent | b2c29fb656e52925eb6fd0c07b808feec395577d (diff) | |
download | sdl_core-88da8446551c6111e08e89ddb997fb4b2eb652b0.tar.gz |
yet another style fix
2 files changed, 8 insertions, 7 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/perform_interaction_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/perform_interaction_request.cc index af6f0639c6..42489fd8bd 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/perform_interaction_request.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/perform_interaction_request.cc @@ -163,7 +163,7 @@ void PerformInteractionRequest::Run() { SendResponse(false, mobile_apis::Result::INVALID_ID); return; } - + if (msg_params.keyExists(strings::vr_help)) { if (mobile_apis::Result::INVALID_DATA == MessageHelper::VerifyImageVrHelpItems( diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/create_interaction_choice_set_test.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/create_interaction_choice_set_test.cc index 5bf97898b5..c42be48e57 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/create_interaction_choice_set_test.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/create_interaction_choice_set_test.cc @@ -514,16 +514,17 @@ TEST_F(CreateInteractionChoiceSetRequestTest, Run_WithoutVrCommands_SUCCESS) { smart_objects::SmartObject* choice_set_id = NULL; EXPECT_CALL(*mock_app_, FindChoiceSet(kChoiceSetId)) .WillOnce(Return(choice_set_id)); - - // No VR commands - EXPECT_CALL(app_mngr_, GenerateGrammarID()).Times(0); + + // No VR commands + EXPECT_CALL(app_mngr_, GenerateGrammarID()).Times(0); EXPECT_CALL(*mock_app_, AddChoiceSet(kChoiceSetId, _)); command_->Run(); } -TEST_F(CreateInteractionChoiceSetRequestTest, Run_WithMixedVrCommands_UNSUCCESS) { +TEST_F(CreateInteractionChoiceSetRequestTest, + Run_WithMixedVrCommands_UNSUCCESS) { (*message_)[am::strings::msg_params][am::strings::choice_set][0] [am::strings::menu_name] = kMenuName; (*message_)[am::strings::msg_params][am::strings::choice_set][0] @@ -551,10 +552,10 @@ TEST_F(CreateInteractionChoiceSetRequestTest, Run_WithMixedVrCommands_UNSUCCESS) smart_objects::SmartObject* choice_set_id = NULL; EXPECT_CALL(*mock_app_, FindChoiceSet(kChoiceSetId)) .WillOnce(Return(choice_set_id)); - + EXPECT_CALL(app_mngr_, GenerateGrammarID()).Times(0); - EXPECT_CALL(*mock_app_, AddChoiceSet(kChoiceSetId, _)).Times(0);; + EXPECT_CALL(*mock_app_, AddChoiceSet(kChoiceSetId, _)).Times(0); command_->Run(); } |