diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-11 12:42:10 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-15 16:58:46 +0200 |
commit | a57f3b44bfc73e998980f96fb1b4452be1be1a74 (patch) | |
tree | 6209681786e3efdad235b2a1f92fafb3a4e701fe /tests/auto/corelib/text/qstring | |
parent | 2d51dfbefa7c42ab063dfd3be578e9dd676a1944 (diff) |
Don't use APPLESS testing for QString
Its collation (and everything locale-related) is only supported during
the lifetime of QApplication.
Change-Id: Ide97795664d45768e66248d47c3b1da83935b0d6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/text/qstring')
-rw-r--r-- | tests/auto/corelib/text/qstring/tst_qstring.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp index 8329948ef1..dcc3c1ef82 100644 --- a/tests/auto/corelib/text/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp @@ -6945,6 +6945,7 @@ void tst_QString::isValidUtf16() QTEST(string.isValidUtf16(), "valid"); } -QTEST_APPLESS_MAIN(tst_QString) +// QString's collation order is only supported during the lifetime as QCoreApplication +QTEST_GUILESS_MAIN(tst_QString) #include "tst_qstring.moc" |