qt5base-lts/tests/auto
Edward Welbourne 605ae62944 Correct the range of allowed hours for a POSIX rule's transition
A POSIX rule's transition time is allowed an hour in the range from
-137 to 137; in particular, a negative hour is allowed, and used by
some Greenland zones using Europe's time-of-transition which, as they
are more than two hours west of Greenwich, happens before midnight.

This means the time of transition can't be represented by a QTime(),
so propagate the int that represents it to the code that consumes it;
and treat parsing failure as an error rather than "correcting" it - if
the transition time is given, it must be valid.

Changed tst_QTimeZone::isTimeZoneIdAvailable()'s verification of
validity to report the name of the zone it thought was invalid.
(A later change, validating POSIX rules, caued this to fail for
America/Nuuk without the present fix.)

Change-Id: I5c9127ac34d878554dd0aca1c1c7338c7e0e1c28
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-04-20 21:33:00 +02:00
..
bic/data Add binary compatibility files for Qt 6.0.0 2021-04-08 06:34:13 +00:00
cmake Fix qtbase cmake autotest 2021-04-19 20:56:25 +03:00
concurrent Fix gcc warnings from having only one of assignment/copy 2021-04-11 19:53:51 +02:00
corelib Correct the range of allowed hours for a POSIX rule's transition 2021-04-20 21:33:00 +02:00
dbus Port of QDBusServiceWatcher::watchMode to new property system 2021-04-19 15:18:46 +02:00
gui Fix compiler warning on platforms without QRhiNativeHandles 2021-04-12 10:41:50 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Merge integration refs/builds/qtci/dev/1618401544 2021-04-14 15:08:32 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Remove Qt dependency from some test helper executables 2021-04-15 20:38:44 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Disable warnings for tests using QSqlQuery assignment 2021-04-11 23:08:32 +02:00
testlib Fix QAbstractItemModelTester false positive 2021-04-19 19:30:46 +01:00
tools Silence a bunch of gcc warnings for the moc test 2021-03-29 15:59:48 +02:00
widgets Re-layout QProgressDialog when setting the cancel button 2021-04-19 09:22:04 +00:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Build minimal subset of tests in desktop static builds 2021-04-06 09:15:37 +01:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00