qt6-bb10/tests/auto/gui
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
..
image Merge remote-tracking branch 'origin/5.9' into 5.10 2017-09-20 11:58:32 +02: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-09-26 12:49:59 +00:00
math3d Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting Merge remote-tracking branch 'origin/5.9' into dev 2017-07-13 16:36:10 -07:00
qopengl Blacklist tst_QOpenGL autotest in Windows 7 2017-09-12 07:15:25 +00:00
qopenglconfig Fix tst_QOpenGlConfig for platforms with builtin test data 2017-06-19 07:05:59 +00:00
qvulkan Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
text Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
util GLSL 1.00 ES must be selected using "#version 100" 2017-08-04 11:19:30 +00:00
gui.pro Basic Vulkan enablers 2017-03-17 16:12:03 +00:00