From 1a6ad384cb52f3ec5bf98faed77b53a795c71ca0 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Mon, 12 Aug 2019 23:32:47 -0700 Subject: TESTBED: Increase pause in TTS pause test --- engines/testbed/speech.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/testbed/speech.cpp') diff --git a/engines/testbed/speech.cpp b/engines/testbed/speech.cpp index 282b4d157f..cf51f1a0a7 100644 --- a/engines/testbed/speech.cpp +++ b/engines/testbed/speech.cpp @@ -154,7 +154,7 @@ TestExitStatus Speechtests::testPauseResume() { ttsMan->setPitch(0); ttsMan->setVoice(0); Testsuite::clearScreen(); - Common::String info = "Text to speech pause test. You should expect a voice to start speaking, then after approximately a second of speech, it should pause for about a second and then continue from where it left."; + Common::String info = "Text to speech pause test. You should expect a voice to start speaking, then after approximately a second of speech, it should pause and then continue from where it left."; Common::Point pt(0, 100); Testsuite::writeOnScreen("Testing TTS pause", pt); @@ -172,7 +172,7 @@ TestExitStatus Speechtests::testPauseResume() { return kTestFailed; } ttsMan->say("and then resume again", Common::TextToSpeechManager::QUEUE); - g_system->delayMillis(1000); + g_system->delayMillis(3000); if (!ttsMan->isPaused()) { Testsuite::logDetailedPrintf("TTS pause failed\n"); return kTestFailed; @@ -183,7 +183,7 @@ TestExitStatus Speechtests::testPauseResume() { return kTestFailed; } waitForSpeechEnd(ttsMan); - Common::String prompt = "Did you hear a voice saying: \"Testing text to speech, the speech should pause after a second and then resume again.\" but with a second long pause in the middle?"; + Common::String prompt = "Did you hear a voice saying: \"Testing text to speech, the speech should pause after a second and then resume again.\" but with a pause in the middle?"; if (!Testsuite::handleInteractiveInput(prompt, "Yes", "No", kOptionLeft)) { Testsuite::logDetailedPrintf("TTS pauseResume failed\n"); return kTestFailed; -- cgit v1.2.3