qt6-bb10/tests/auto/corelib
Edward Welbourne 449b347644 Rework QLocale and QDateTime tests that expect CET abbreviation
The name CET is locale-dependent; but QLocale doesn't know about
localization of time zone names. Such abbreviated zone names are, in
any case, potentially ambiguous - various zones around the world have
collisions - so they can't be relied on.

QTimeZone's various backends have differing handlings of how to
abbreviate zone names (MS's provides no abbreviated names at all); and
it appears macOS actually follows the relevant localizations.

So it is hopeless to hard-code the expected zone abbreviations.
Changed the tests to consult QTimeZone for the abbreviation and
compare what it gets with the results of checks which should match
this. This is less stringent, but it is at least robustly correct,
thereby getting rid of assorted kludges and #if-ery.

Pick-to: 5.15
Task-number: QTBUG-70149
Change-Id: I0c565de3fd8b5987c8f5a3f785ebd8f6e941e055
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2020-05-28 15:15:17 +02:00
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Streamline the code in the conversion to and from utf8 2020-05-14 07:51:45 +02:00
global Get rid of QTextCodec in QTextStream 2020-05-14 07:50:19 +02:00
io Remove deprecated QProcess methods 2020-05-27 11:55:06 +02:00
itemmodels Add a property to QSFPM to show children of accepted items 2020-05-26 15:11:40 +02:00
kernel Add a QPropertyAlias 2020-05-27 14:41:52 +02:00
mimetypes QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
plugin Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
serialization Remove deprecated QProcess methods 2020-05-27 11:55:06 +02:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text Rework QLocale and QDateTime tests that expect CET abbreviation 2020-05-28 15:15:17 +02:00
thread Don't queue events in QFutureWatcher when pause is requested 2020-05-27 11:53:28 +02:00
time Rework QLocale and QDateTime tests that expect CET abbreviation 2020-05-28 15:15:17 +02:00
tools QTaggedPointer: verify constexpr'ness of some ctors 2020-05-16 08:55:28 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00