qt5base-lts/tests/auto/gui
Gatis Paeglis 377d2502e3 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>
(cherry picked from commit 542e11ab2b)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2017-10-17 13:58:36 +00:00
..
image Fix convertToFormat with color-tables 2017-09-14 08:13:46 +00:00
itemmodels Fix QStandardItem::setChild crash when passing a null pointer 2017-07-27 19:41:06 +00:00
kernel tests: make exposeEventOnShrink_QTBUG54040 not flakey on xcb 2017-10-17 13:58:36 +00:00
math3d QMatrix4x4: fix aliasing problem in operator*= 2017-04-14 12:29:35 +00:00
painting Fix polygon stroking with cosmetic pen 2017-07-05 12:35:26 +00:00
qopengl Fix blacklisting of tst_QOpenGL in Windows 2017-10-10 07:42:33 +00:00
qopenglconfig Fix tst_QOpenGlConfig for platforms with builtin test data 2017-06-19 07:05:59 +00:00
text Blacklist tst_QFont::DefaultFamily in B2Qt 2017-08-16 07:32:09 +00:00
util Fix test for WinRT 2016-09-23 07:20:53 +00:00
gui.pro Clean up some conditions in our pro files 2016-11-14 19:22:17 +00:00