qt5base-lts/tests/auto/corelib/text
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
..
qbytearray Adjust resize() behavior of QString and QByteArray to match Qt 5 2020-05-21 17:59:31 +02:00
qbytearraylist Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qbytearraymatcher Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qbytedatabuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qchar QChar: add fromUcs{2,4}() 2020-05-09 06:26:08 +00:00
qcollator Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlatin1string Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlocale Rework QLocale and QDateTime tests that expect CET abbreviation 2020-05-28 15:15:17 +02:00
qregexp Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
qregularexpression QRegularExpression: rename AnchoredMatchOption to AnchorAtOffsetMatchOption 2020-04-03 21:49:57 +02:00
qstring Adjust resize() behavior of QString and QByteArray to match Qt 5 2020-05-21 17:59:31 +02:00
qstring_no_cast_from_bytearray Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringapisymmetry tst_qstringapisymmetry: test split() with char16_t seps 2020-05-08 16:52:59 +02:00
qstringbuilder Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qstringconverter Streamline the code in the conversion to and from utf8 2020-05-14 07:51:45 +02:00
qstringiterator Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
qstringlist Remove QRegExp support from QString and StringList 2020-05-14 14:19:47 +02:00
qstringmatcher Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringref tst_qstringref: remove some wtf? 2020-05-14 20:30:35 +00:00
qstringview QStringView: add converting constructor from array-like containers 2020-05-14 12:19:47 +00:00
qtextboundaryfinder Remove QTextCodec dependency from test 2020-05-14 07:50:49 +02:00
.prev_CMakeLists.txt Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
CMakeLists.txt Start work on a new API to replace QTextCodec 2020-05-14 07:46:14 +02:00
text.pro Start work on a new API to replace QTextCodec 2020-05-14 07:46:14 +02:00