qt5base-lts/tests/auto/corelib/text
Edward Welbourne d853816307 Fix handling of Suzhou numbering system
This only arises when the system locale tells us to use its zero as
our zero digit, since no CLDR locale uses it by default. Adapt an
MS-specific QLocale::system() test to use Suzhou numbering, so as to
test this.

While updating the locale-restoration code to also restore the digits
being set in that test, add restore code for the long time format,
where previously only the short time format was restored. Add a
comment to make it less likely one of those shall be missed in future.

Fixes: QTBUG-85409
Change-Id: I343324bb563ee0e455dfe77d4825bf8c3082ca30
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-17 12:19:01 +02:00
..
qbytearray Add tst_QByteArrayApiSymmetry test 2020-07-08 08:45:14 +02:00
qbytearrayapisymmetry Fix QByteArray::count implementation for longer data 2020-07-09 18:38:33 +02:00
qbytearraylist CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qbytearraymatcher Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qbytearrayview Introduce QByteArrayView 2020-07-08 08:45:49 +02:00
qbytedatabuffer CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qchar Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qcollator tst_QCollator: avoid an unused variable warning 2020-07-13 12:03:21 +02:00
qlatin1string Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlocale Fix handling of Suzhou numbering system 2020-07-17 12:19:01 +02:00
qregularexpression CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstring Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
qstring_no_cast_from_bytearray CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringapisymmetry Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringbuilder CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringconverter Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringiterator CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringlist CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringmatcher CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringref CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringtokenizer Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringview Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qtextboundaryfinder Remove QTextCodec dependency from test 2020-05-14 07:50:49 +02:00
.prev_CMakeLists.txt Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
CMakeLists.txt Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
text.pro Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00