qt6-bb10/tests/auto/corelib/kernel
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
..
qcoreapplication Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qdeadlinetimer Fix tst_QDeadlineTimer::stdchrono() flaky test 2020-10-27 17:43:12 +02:00
qelapsedtimer Fix tst_QDeadlineTimer::stdchrono() flaky test 2020-10-27 17:43:12 +02:00
qeventdispatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qeventloop Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qmath CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetacontainer tst_qmetacontainer: Remove non-existing typeflags.bin from build system 2020-09-25 08:50:11 +02:00
qmetaenum CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetamethod CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetaobject Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qmetaobjectbuilder Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qmetaproperty CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmetatype Rename the QMetaType::MovableType flag to RelocatableType 2020-10-23 09:49:36 +02:00
qmimedata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qobject Revert "QObject: simplify part of connection logic" 2020-10-27 16:43:12 +01:00
qpointer Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qproperty QProperty: Add value() and setValue() to QBindable 2020-10-19 16:29:48 +02:00
qsharedmemory CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsignalblocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsignalmapper CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsocketnotifier CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsystemsemaphore CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtimer Fix tst_qtimer::zeroTimer unit test 2020-11-01 01:28:55 +02:00
qtranslator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qvariant Do not store non relocatable types in QVariants internal storage 2020-10-23 09:50:16 +02:00
qwineventnotifier CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt Add a QMetaSequence interface 2020-09-01 13:35:39 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
kernel.pro CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00