qt5base-lts/tests/auto/widgets/graphicsview
Morten Johan Sørvig dae8133ded Stabilize tst_qgraphicsitem and tst_qgraphicsview
Add qWaitForWindowExposed() calls in addition to the
existing qWaitForWindowActive().

Depending on the platform, window activation events may
be synchronous, which means that a window can (and will)
become active before it becomes exposed.

This causes test failures for tests that count paint
event, and does not wait-for-exposed, when the expose/paint
event is delivered after waitForWindowActive() has returned.

We need to keep the waitForWindowActive() as well: the
test has several qWait() calls with he comment:
  “Increase the probability of window activation not
   causing another repaint of test items”.
These qWait() calls can possibly be removed in a future
commit.

Task-number: QTBUG-66536
Task-number: QTBUG-61967
Change-Id: Ie61bba058b583fdd1d80e600475aff3efccc32eb
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2018-03-19 14:38:23 +00:00
..
qgraphicsanchorlayout Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsanchorlayout1 Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicseffectsource Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsgridlayout Fix layout tests for GCC 5.2.x/5.3.x 2017-03-30 06:58:07 +00:00
qgraphicsitem Stabilize tst_qgraphicsitem and tst_qgraphicsview 2018-03-19 14:38:23 +00:00
qgraphicsitemanimation tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qgraphicslayout tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qgraphicslayoutitem tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qgraphicslinearlayout Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qgraphicsobject Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicspixmapitem Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicspolygonitem Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsproxywidget qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qgraphicsscene Fix touch point positions of non-transformable QGraphicsItems 2018-02-20 13:54:34 +00:00
qgraphicssceneindex Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qgraphicstransform Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsview Stabilize tst_qgraphicsitem and tst_qgraphicsview 2018-03-19 14:38:23 +00:00
qgraphicswidget qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
graphicsview.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00