qt5base-lts/tests/auto/corelib
Edward Welbourne 76dfda1ad1 Use RAII to handle setting of default locale in tst_QString
Various tests were setting the default locale and relying on cleanup()
to "restore" the C locale; which needn't actually be the locale we
started out in and, in any case, was the wrong locale for some tests.
So handle this via an RAII class that records the actual prior locale
and restores it on destruction.

Fixes: QTBUG-73116
Change-Id: If44f7cb8c6e0ce81be396ac1ea8bab7038a86729
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-01-22 16:42:29 +00:00
..
animation Extend blacklisting of tst_qparallelanimationgroup tests to macOS 10.13 2018-09-24 21:13:30 +00:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
io Fix QSettings parsing of spaces after comment lines 2018-12-07 18:53:34 +00:00
itemmodels Fix QStringListModel::setData to check for actual changes 2018-12-24 08:07:36 +00:00
kernel fix out-of-bounds access on trailing percent sign in tr() argument 2019-01-14 08:52:15 +00:00
mimetypes QMimeType: Use default key as fallback for comment() property 2018-11-02 08:27:10 +00:00
plugin Avoid invalid qmake code in macOS-specific pluginloader test 2018-11-30 14:47:29 +00:00
serialization Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Re-enable thread autotests 2018-09-25 22:35:40 +00:00
tools Use RAII to handle setting of default locale in tst_QString 2019-01-22 16:42:29 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00