diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-06-10 15:08:11 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-06-13 07:36:37 +0200 |
commit | b456b9fd40ef8ecf0c683159f595ffd97d0e0411 (patch) | |
tree | 306dd78f443508e8bf4139d9e0f8452bf741cc10 /tests/auto | |
parent | 0cee1827f56b7bdb337c8b20d84078375fadb82a (diff) |
Rename iOS engine to Darwin
It's the default engine for both iOS and macOS.
Pick-to: 6.4
Change-Id: I02c9ac77f10ad6faccf32e6ed58399890cfc770c
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qtexttospeech/tst_qtexttospeech.cpp | 2 | ||||
-rw-r--r-- | tests/auto/qvoice/tst_qvoice.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtexttospeech/tst_qtexttospeech.cpp b/tests/auto/qtexttospeech/tst_qtexttospeech.cpp index fd49cef..63da8f9 100644 --- a/tests/auto/qtexttospeech/tst_qtexttospeech.cpp +++ b/tests/auto/qtexttospeech/tst_qtexttospeech.cpp @@ -123,7 +123,7 @@ void tst_QTextToSpeech::init() QSKIP("speechd engine reported an error, " "make sure the speech-dispatcher service is running!"); } - } else if (engine == "ios" + } else if (engine == "darwin" && QOperatingSystemVersion::current() <= QOperatingSystemVersion::MacOSMojave) { QTextToSpeech tts(engine); if (!tts.availableLocales().count()) diff --git a/tests/auto/qvoice/tst_qvoice.cpp b/tests/auto/qvoice/tst_qvoice.cpp index f9e56e2..d0c0943 100644 --- a/tests/auto/qvoice/tst_qvoice.cpp +++ b/tests/auto/qvoice/tst_qvoice.cpp @@ -74,7 +74,7 @@ void tst_QVoice::init() QSKIP("speechd engine reported an error, " "make sure the speech-dispatcher service is running!"); } - } else if (engine == "ios" + } else if (engine == "darwin" && QOperatingSystemVersion::current() <= QOperatingSystemVersion::MacOSMojave) { QTextToSpeech tts(engine); if (!tts.availableLocales().count()) |