qt5base-lts/tests/auto/corelib
Ivan Solovev e300fc9204 Make tst_QLocale::TransientLocale succeed at changing system locale
It was previously calling setlocale(), which makes no difference to
the Unix backend for the system locale, since that's based on
environment variables (that would normally be used to get default
values for the various setlocale() categories, but only the first time
each is asked for). So, on Unix, set the environment variable, too.

It's also necessary to instantiate a QSystemLocale instance
transiently to trigger a refresh of the system locale data.

Pick-to: 6.2
Change-Id: If92e44053f9021e96c814f4b289f4fadaa7027e0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2021-09-03 14:00:53 +02:00
..
animation Avoid use after free in tst_qsequentialanimationgroup 2021-06-02 16:45:23 +02:00
global tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
io tests: Add test for UTS #46 implementation using Unicode data 2021-09-01 14:15:45 +02:00
itemmodels emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
kernel QObject::connect(): fail to connect to a functor if UniqueConnection is passed 2021-08-27 15:45:25 +02:00
mimetypes Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin tst_QPluginLoader: Simplify creating a fake pointer in fakeplugin.cpp 2021-08-20 22:19:58 +03:00
serialization tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
text Make tst_QLocale::TransientLocale succeed at changing system locale 2021-09-03 14:00:53 +02:00
thread Use constexpr for constants and ranged-based for loops 2021-08-23 15:11:49 +02:00
time Fix and clean up utterly confused (and confusing) transition tests 2021-06-15 16:58:46 +02:00
tools QS(V)/QBA(V)/QL1S::lastIndexOf: fix the offset calculations 2021-08-19 01:55:01 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00