qt5base-lts/tests/auto
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
..
cmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
concurrent Use universal references for passing callables in QtConcurrent 2020-10-30 17:19:26 +01:00
corelib Fix tst_qtimer::zeroTimer unit test 2020-11-01 01:28:55 +02:00
dbus Adjust tst_qdbusmarshall to QVariant changes 2020-10-30 13:27:14 +01:00
gui Update tst_qguivariant to use QMetaType 2020-10-28 22:18:45 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network tests: blacklist tst_QTcpSocket::connectToHostError() 2020-10-30 13:27:14 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other QSsl: Further work around to pass network test 2020-10-26 09:30:36 +02:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib Selftest - copy XAUTHORITY environment variable 2020-10-28 14:27:37 +00:00
tools CMake: Fix tst_qmake to work for configs with cross-compiled tools 2020-10-24 13:02:54 +02:00
widgets CMake: Fix tst_qapplication to respect blacklists in CMake builds 2020-10-30 17:29:25 +01:00
xml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00