summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test/commands/mobile/speak_request_test.cc
diff options
context:
space:
mode:
authorconlain-k <conlain.k@gmail.com>2018-06-18 09:52:53 -0400
committerGitHub <noreply@github.com>2018-06-18 09:52:53 -0400
commita2612198bd29c80f20f2d3ea50d80ea8415bb723 (patch)
treebe9546d7ff8b6a34f99b3d9ee3961a0b5850f62c /src/components/application_manager/test/commands/mobile/speak_request_test.cc
parentc78c470b991a38037a4ada48b13cba9b3daf1c44 (diff)
parent1527db9a68a54e07891ccfad0c2532f0813704d7 (diff)
downloadsdl_core-a2612198bd29c80f20f2d3ea50d80ea8415bb723.tar.gz
Merge branch 'develop' into feature/boost_filesystem_implementation
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/speak_request_test.cc')
-rw-r--r--src/components/application_manager/test/commands/mobile/speak_request_test.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/application_manager/test/commands/mobile/speak_request_test.cc b/src/components/application_manager/test/commands/mobile/speak_request_test.cc
index f07012d315..36a9b85c6a 100644
--- a/src/components/application_manager/test/commands/mobile/speak_request_test.cc
+++ b/src/components/application_manager/test/commands/mobile/speak_request_test.cc
@@ -286,6 +286,11 @@ TEST_F(SpeakRequestTest, Run_MsgWithEmptyString_Success) {
[am::strings::text] = "";
CommandPtr command(CreateCommand<SpeakRequest>(request_));
+ EXPECT_CALL(
+ mock_message_helper_,
+ VerifyTtsFiles(
+ (*request_)[am::strings::msg_params][am::strings::tts_chunks], _, _))
+ .WillOnce(Return(mobile_apis::Result::SUCCESS));
ON_CALL(app_mngr_, application(_)).WillByDefault(Return(app_));
ON_CALL(*app_, app_id()).WillByDefault(Return(kAppId));
@@ -301,6 +306,11 @@ TEST_F(SpeakRequestTest, Run_MsgCorrect_Success) {
[am::strings::text] = "asda";
CommandPtr command(CreateCommand<SpeakRequest>(request_));
+ EXPECT_CALL(
+ mock_message_helper_,
+ VerifyTtsFiles(
+ (*request_)[am::strings::msg_params][am::strings::tts_chunks], _, _))
+ .WillOnce(Return(mobile_apis::Result::SUCCESS));
ON_CALL(app_mngr_, application(_)).WillByDefault(Return(app_));
ON_CALL(*app_, app_id()).WillByDefault(Return(kAppId));