diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qtexttospeech/tst_qtexttospeech.cpp | 4 | ||||
-rw-r--r-- | tests/auto/qvoice/tst_qvoice.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qtexttospeech/tst_qtexttospeech.cpp b/tests/auto/qtexttospeech/tst_qtexttospeech.cpp index bc580c7..fd49cef 100644 --- a/tests/auto/qtexttospeech/tst_qtexttospeech.cpp +++ b/tests/auto/qtexttospeech/tst_qtexttospeech.cpp @@ -119,8 +119,8 @@ void tst_QTextToSpeech::init() if (engine == "speechd") { QTextToSpeech tts(engine); QTRY_COMPARE(tts.state(), QTextToSpeech::Ready); - if (tts.state() == QTextToSpeech::BackendError) { - QSKIP("speechd engine reported a backend error, " + if (tts.state() == QTextToSpeech::Error) { + QSKIP("speechd engine reported an error, " "make sure the speech-dispatcher service is running!"); } } else if (engine == "ios" diff --git a/tests/auto/qvoice/tst_qvoice.cpp b/tests/auto/qvoice/tst_qvoice.cpp index f0a61b6..f9e56e2 100644 --- a/tests/auto/qvoice/tst_qvoice.cpp +++ b/tests/auto/qvoice/tst_qvoice.cpp @@ -70,8 +70,8 @@ void tst_QVoice::init() QFETCH_GLOBAL(QString, engine); if (engine == "speechd") { QTextToSpeech tts(engine); - if (tts.state() == QTextToSpeech::BackendError) { - QSKIP("speechd engine reported a backend error, " + if (tts.state() == QTextToSpeech::Error) { + QSKIP("speechd engine reported an error, " "make sure the speech-dispatcher service is running!"); } } else if (engine == "ios" |