qt5base-lts/tests/auto/corelib
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
..
animation CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
global CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
io Tests: Use QVERIFY instead of QCOMPARE for empty lists 2020-07-10 14:30:58 +02:00
itemmodels CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
kernel Don't test for equality if types can't be compared 2020-07-15 16:16:53 +02:00
mimetypes CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
plugin CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
serialization CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
statemachine CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
text Fix handling of Suzhou numbering system 2020-07-17 12:19:01 +02:00
thread QtConcurrent: Get rid of multi-inheritance inside RunFunctionTaskBase 2020-07-14 14:52:08 +02:00
time CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
tools Deprecate QTimeLine's curveShape in favor of its easingCurve 2020-07-16 17:39:11 +02:00
.prev_CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
corelib.pro Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00