qt5base-lts/tests/auto/corelib
Edward Welbourne e8c52d0e8c Fix transitionEachZone() failures on Android
In QTimeZonePrivate::dataForLocalTime(), mistrust the Android
backend's hasDaylightTime(), as it has a comment saying it only knows
about future transitions, not past. This caller of it really needs to
query "has ever had a transition", which this doesn't answer. Many
zones that have no plans for future transitions have had transitions
in the past; these were failing the transitionEachZone() test.

In the process, refine the test itself, making sure we catch some
quirk cases that shouldn't arise and making the debug message on
failure more informative (while eliding the zone name, as this is part
of the test name anyway, so added to the output by qDebug() itself).

Fixes: QTBUG-69131
Change-Id: I88a0528182c247acb8b6327b40516178e455bcc0
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-02-24 12:08:57 +01:00
..
animation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
global Fix warning about unused variable 2021-02-18 11:25:01 +01:00
io QProcess/Unix: remove outdated notices about use of posix_spawn() on QNX 2021-02-21 22:48:38 -08:00
itemmodels Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
kernel Fix QTimer::setInterval to remove existing bindings 2021-02-15 13:47:31 +01:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization QJsonObject: Fix operator<=() 2021-02-18 11:22:51 +00:00
text macOS: Be honest about the system locale 2021-02-11 15:01:45 +01:00
thread Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
time Fix transitionEachZone() failures on Android 2021-02-24 12:08:57 +01:00
tools Disable warnings from using deprecated QScopedPointer::take 2021-02-13 06:44:52 +01:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00