qt5base-lts/tests/auto/widgets
Volker Hilsheimer 307403f8b4 Stabilize QGraphicsItem::cursor and select_multi tests
The tests send QEvent::MouseMove events to the view, but don't fully
construct the event with both local and global position. Consequently,
QMouseEvent will use QCursor::pos as the global position, which is
unreliable, as QTest::mouseMove can not guarantee that the mouse really
moves - when running the tests locally on e.g macOS, it never does.

So instead construct the QMouseEvent with the trivially calculated
global position.

Change-Id: Ic4c914e3af7f15751545080d4743b06d3887cce8
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
2019-07-08 20:51:19 +02:00
..
dialogs Qt Widgets: Make tests pass on High DPI screens and scaling 2019-05-29 12:52:51 +02:00
effects qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
graphicsview Stabilize QGraphicsItem::cursor and select_multi tests 2019-07-08 20:51:19 +02:00
itemviews Qt Widgets: Make tests pass on High DPI screens and scaling 2019-05-29 12:52:51 +02:00
kernel Update visible window's alpha when toggling WA_TranslucentBackground 2019-07-02 16:35:18 +02:00
styles QStyleSheetStyle::repolish: only run on direct children 2019-04-12 14:33:32 +00:00
util Brush up tst_QCompleter 2019-06-07 12:34:47 +02:00
widgets Stabilize tst_qsplitter 2019-06-19 18:32:19 +02:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00