diff options
| author | Jaromir Wysoglad | 2019-08-12 23:32:47 -0700 | 
|---|---|---|
| committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 | 
| commit | 1a6ad384cb52f3ec5bf98faed77b53a795c71ca0 (patch) | |
| tree | dc5ee8d69a63a2a68075c1971c9ac417640fbadc | |
| parent | be5c865c508c93f6910468a07d3947237e7e0a8e (diff) | |
| download | scummvm-rg350-1a6ad384cb52f3ec5bf98faed77b53a795c71ca0.tar.gz scummvm-rg350-1a6ad384cb52f3ec5bf98faed77b53a795c71ca0.tar.bz2 scummvm-rg350-1a6ad384cb52f3ec5bf98faed77b53a795c71ca0.zip  | |
TESTBED: Increase pause in TTS pause test
| -rw-r--r-- | engines/testbed/speech.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
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;  | 
