qt5base-lts/tests/auto
Axel Spoerl a45a1b8674 Stabilize flakiness in tst_QWidget::raise()
The test function raise() occasionally failed because of unexpected
paint events being counted.

This is due to a QTRY_VERIFY returning after consumption of the first
paint event. If more than one paint event got posted, it will be
delivered and counted when no more paint events are expected.

This patch ensures that all paint events are consumed before resetting
the count and expecting no more paint events.

Fixes: QTBUG-68175
Pick-to: 6.2 6.4
Change-Id: I3e91a34e851da4bd01c7429e824d2b9101077a06
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-11-11 17:48:50 +01:00
..
bic/data Add binary compatibility file generated against 6.4.0 2022-11-09 13:18:42 +03:00
cmake tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib Add more tests of QLocale and "single character" data that aren't 2022-11-11 16:32:53 +01:00
dbus Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
gui emit QWindow::windowStateChanged only when state has changed 2022-11-11 11:21:32 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Windows: Inform accessibility system about the focused child item 2022-11-11 10:21:32 +00:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
testlib Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
tools Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets Stabilize flakiness in tst_QWidget::raise() 2022-11-11 17:48:50 +01:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00