qt6-bb10/tests/auto/corelib/tools/qtimezone
Edward Welbourne 03fadc26e7 Fix broken data for time-zones with no transitions
While an invalid time-zone shall have no transitions, so may various
constant zones, like UTC.  The TZ data may include only the POSIX rule
for such a zone, in which case we should use it, even if there are no
transitions.

Broke out a piece of repeated code as a common method, in the process,
since I was complicating it further.

Added test for the case that revealed this; and made sure we see a
warning if any of the checkOffset() tests gets skipped because its
zone is unsupported.

Fixes: QTBUG-74614
Change-Id: Ic8e039a2a9b3f4e0f567585682a94f4b494b558d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-03-22 07:32:52 +00:00
..
BLACKLIST Android: tst_qtimezone: Blacklist a bunch 2018-06-27 07:52:26 +00:00
qtimezone.pro Adjust tst_QTimeZone's Q_OS_WIN #if-ery now that ICU is the default 2018-03-09 10:34:00 +00:00
tst_qtimezone.cpp Fix broken data for time-zones with no transitions 2019-03-22 07:32:52 +00:00
tst_qtimezone_darwin.mm Add conversion functions for QTimeZone and CFTimeZone/NSTimeZone 2017-01-23 21:55:22 +00:00