qt5base-lts/tests/auto
Edward Welbourne 017ac02ec4 Clean up time-zone matching logic in tst_QLocale::macDefaultLocale()
The test was computing GMT with a suffix added to it for the offset;
but when the offset is zero there's no need for it.  Cleaned up the
logic so that it only checks for a "padded to two digits with zero" if
the number is single-digit (and use string arithmetic in preference to
wantonly complex .arg()ing; and use simpler names).  Since we don't
try to check anything unless GMT does appear in the string (because
the actual zone ID was used, instead of GMT with an offset), the case
of zero offset has nothing more to check than that GMT was present,
the precondition for checking anything.

Task-number: QTBUG-70322
Change-Id: I0b8abe7e63d9d72fa9cf32f188b47a78a849044b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-09-11 14:40:22 +00:00
..
android
bic/data Add binary compatibility files for 5.11 for QtBase 2018-06-05 06:00:28 +00:00
cmake Merge dev into 5.12 2018-08-21 02:32:50 +02:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib Clean up time-zone matching logic in tst_QLocale::macDefaultLocale() 2018-09-11 14:40:22 +00:00
dbus Fix wrong relative path to qdbus_symbols.cpp 2018-07-24 04:24:31 +00:00
gui Extend opensuse blacklistings to opensuse-leap 2018-09-11 12:11:45 +00:00
guiapplauncher
installed_cmake
network tst_qdtls: add 'invalidConfiguration' test 2018-08-10 12:18:41 +00:00
opengl tst_qglthreads::swapInThread(): Acquire context before resizing widget 2018-09-06 12:42:06 +00:00
other Extend opensuse blacklistings to opensuse-leap 2018-09-11 12:11:45 +00:00
printsupport Merge remote-tracking branch 'origin/5.11' into dev 2018-05-03 14:50:22 +02:00
shared
sql Initialize the QSqlQuery to be invalid when creating a sql model 2018-08-28 16:10:30 +00:00
testlib Merge remote-tracking branch 'origin/5.11' into dev 2018-07-02 11:23:45 +02:00
tools uic: Fix pixmap functions for QIcon 2018-09-06 11:58:40 +00:00
widgets Extend opensuse blacklistings to opensuse-leap 2018-09-11 12:11:45 +00:00
xml
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
testserver.pri Postpone testing docker images and files until running 'make check' 2018-08-30 04:06:51 +00:00