qt5base-lts/tests/auto/corelib/text
Edward Welbourne 0b5b98c4ae Fix qlocale_unix's handling of uiLanguages to take script into account
Some languages have, in the same territory, locales for more than one
script. In such cases, since we ignored the script, we got the one
that is used by default, instead of the one actually asked for. Take
the script into account.

Added TODO comment in test listing the known examples of this;
manually tested before and after the fix to verify the prior code was
indeed getting it wrong and now does do it right.

Change-Id: Iaf9201d6992bc39e6e9346ef8b7c69d418db7253
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-04-27 17:03:54 +02:00
..
qanystringview Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
qbytearray Add literal operators for QString/QByteArray to StringLiterals namespace 2022-04-07 09:22:28 +02:00
qbytearrayapisymmetry Silence compiler warning 2021-10-06 15:05:20 +02:00
qbytearraylist QByteArrayList: add join(QByteArrayView) 2021-11-04 01:16:16 +01:00
qbytearraymatcher Q(Static)ByteArrayMatcher: manage indexIn() overloads 2022-01-23 09:48:28 +01:00
qbytearrayview tst_QByteArrayView:: disable failing constexpr checks for GCC 2022-04-01 09:51:29 +02:00
qbytedatabuffer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qchar Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
qcollator Fix tst_qcollator run time issue on INTEGRITY device 2022-01-12 21:49:02 +00:00
qlatin1stringview Allow brace initialization for some of QLatin1StringView constructors 2022-04-01 19:33:12 +01:00
qlocale Fix qlocale_unix's handling of uiLanguages to take script into account 2022-04-27 17:03:54 +02:00
qregularexpression QRegularExpression: print the pattern when warning 2022-02-22 21:15:31 +01:00
qstring Add literal operators for QString/QByteArray to StringLiterals namespace 2022-04-07 09:22:28 +02:00
qstring_no_cast_from_bytearray testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qstringapisymmetry tst_qstringapisymmetry: check toInt() etc also with base != 0 2022-04-17 21:55:23 +02:00
qstringbuilder tst_QStringBuilder: remove test that doesn't test anything 2021-12-22 13:01:25 +01:00
qstringconverter Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
qstringiterator Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstringlist tst_QStringList: check that join(u'\0') embeds NULs 2021-12-28 23:09:44 +01:00
qstringmatcher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstringtokenizer QStringTokenizer::toContainer(): allow more types of target containers 2022-03-15 21:05:31 +01:00
qstringview Remove checks for features available in C++17 2021-10-02 17:54:39 +02:00
qtextboundaryfinder Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
qunicodetools Add additional grapheme, word, and sentence break class tests from tr29 2021-11-10 09:44:03 +01:00
shared QString/QByteArray::number(double): Test big numbers 2021-08-17 03:53:45 +02:00
CMakeLists.txt Rename tst_qlatin1string and switch to using QLatin1StringView 2022-03-19 18:51:08 +01:00