qt6-bb10/tests/auto/corelib
Andreas Buhr 40495ce75c Fix tst_qtimer::zeroTimer unit test
The tst_qtimer::zeroTimer unit test was relying on
QCoreApplication::processEvents processing all pending
events. However, for the glib backend, this is not the case.
For the glib backend, if there is an event of high
priority pending, low priority events are not processed.
This patch changes the test to use the overload with
timeout of processEvents, which does process events
until there are no more events or the timeout is reached.

Fixes: QTBUG-84291
Change-Id: I429141507b8603b57a191efa21f154493d75cc9e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-01 01:28:55 +02:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global QRandomGenerator: add 64-bit bounded() versions 2020-10-20 22:45:06 -07:00
io Forbid implicit conversions between QFuture and other types 2020-10-30 17:19:26 +01:00
itemmodels Remove QItemSelectionRange's operator<() 2020-10-28 15:27:37 +01:00
kernel Fix tst_qtimer::zeroTimer unit test 2020-11-01 01:28:55 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
serialization Update tst_qcborstreamwriter to use QMetaType 2020-10-30 22:18:21 +01:00
text Purge deprecated language and country codes from QLocale 2020-10-29 10:44:38 +00:00
thread Forbid implicit conversions between QFuture and other types 2020-10-30 17:19:26 +01:00
time Adapt QDate::fromString() to accept negative year numbers 2020-10-30 17:19:27 +01:00
tools Make QVarLengthArray comparisons hidden friends 2020-10-30 13:27:14 +01:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00