qt5base-lts/tests/auto/gui/kernel
Gatis Paeglis 542e11ab2b tests: make exposeEventOnShrink_QTBUG54040 not flakey on xcb
From: https://tronche.com/gui/x/xlib/events/exposure/expose.html

"The circumstances in which the X server generates Expose events
are not as definite as those for other events."

On windows with XCB_GRAVITY_NORTH_WEST flag set we should not get
expose events according to e2665600c0,
but as stated earlier this might not always be true.

Nevertheless, sometimes we get expose event from X server when shrinking
window, but most of the time we don't. Make the test not flakey by
checking that we get at least 1 expose event, instead of exactly 1.
Now running test 500 times in a loop does not fail.

Task-number: QTBUG-63424
Change-Id: I8004e622020cc09e11b7d592faf6d9ee1b9cfee2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-09-26 12:49:59 +00:00
..
noqteventloop tst_NoQtEventLoop: Pass with High DPI scaling active 2017-08-04 08:36:16 +00:00
qbackingstore Updated license headers 2016-01-21 18:55:18 +00:00
qclipboard Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qcursor QCursor: Add equality operators 2017-03-21 17:22:41 +00:00
qdrag Updated license headers 2016-01-21 18:55:18 +00:00
qevent Updated license headers 2016-01-21 18:55:18 +00:00
qfileopenevent Fix test for sandboxed targets 2016-09-15 14:25:50 +00:00
qguiapplication tst_QGuiApplication: Split the quitOnLastWindowClosed() tests 2017-03-29 13:06:21 +00:00
qguieventdispatcher QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguieventloop Fix race condition in the processEvents test 2017-07-19 12:29:53 +00:00
qguimetatype Remove tests/auto/qtest-config.h. 2016-04-12 14:56:49 +00:00
qguitimer Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qguivariant Remove tests/auto/qtest-config.h. 2016-04-12 14:56:49 +00:00
qinputmethod Skip failing autotests with b2qt toolchain 2017-05-09 08:11:18 +00:00
qkeyevent tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qkeysequence Remove remaining Carbon includes from QtCore, QtGui and QtWidgets 2017-03-07 01:04:40 +00:00
qmouseevent Add helper function to reset QMouseEvent localPos 2016-08-01 09:58:23 +00:00
qmouseevent_modal Updated license headers 2016-01-21 18:55:18 +00:00
qopenglwindow Skip OpenGL tests on platforms that don't support OpenGL 2017-04-04 11:06:38 +00:00
qpalette Updated license headers 2016-01-21 18:55:18 +00:00
qpixelformat Updated license headers 2016-01-21 18:55:18 +00:00
qrasterwindow Updated license headers 2016-01-21 18:55:18 +00:00
qscreen Updated license headers 2016-01-21 18:55:18 +00:00
qsurfaceformat Updated license headers 2016-01-21 18:55:18 +00:00
qtouchevent Merge remote-tracking branch 'origin/5.8' into dev 2016-12-16 16:38:33 +01:00
qwindow tests: make exposeEventOnShrink_QTBUG54040 not flakey on xcb 2017-09-26 12:49:59 +00:00
kernel.pro QCursor: Add equality operators 2017-03-21 17:22:41 +00:00