qt5base-lts/tests/auto/corelib/kernel/qtimer
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
..
.gitignore
BLACKLIST Fix tst_qtimer::zeroTimer unit test 2020-11-01 01:28:55 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtimer.pro Clean up OS version checks for Apple platforms 2017-09-29 03:30:13 +00:00
tst_qtimer.cpp Fix tst_qtimer::zeroTimer unit test 2020-11-01 01:28:55 +02:00