qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsitem
Volker Hilsheimer 59b29d03b2 Further stabilization of QGraphicsItem::cursor test
The QTest::mouseMove calls are not reliable, and seem to produce
flakiness, at least on WinRT. Removing them, and only depending on
handling of the synchronously delivered QMouseEVent for simulated
mouse moves.

Also, initialize the expected cursor shape from an empty scene;
this avoids that showing the view with the cursor accidentially
on an item results in the wrong default shape. Remove hard
coded coordinates, just test what we know.

Fixes: QTBUG-73545
Change-Id: I6f81d6b16bb613ec77aaa776d6a80aac739aeb58
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-07-10 06:16:52 +02:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Blacklist qgraphicsitem::sorting test on opensuse-42.3 2019-03-29 07:36:48 +00:00
qgraphicsitem.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qgraphicsitem.cpp Further stabilization of QGraphicsItem::cursor test 2019-07-10 06:16:52 +02:00