qt5base-lts/tests/auto/widgets
Gatis Paeglis d50d35d9db tests: cleanup tst_QComboBox::keyBoardNavigationWithMouse()
- Don't use QCursor when we can position a mouse relative to the
window coordinates via QTest::mouse*() functions. Even the way
QCursor was user here seemed to be hackish. This hack apparently
was there to make the test pass on macOS, I have verified that
the updated test continue working on this platform.

- Remove Q_OS_QNX ifdef, as this test does not depend on QCursor anymore.

- Remove QTest::qWait()-s. Unconditinal waiting should not be used.

- Add better comments.

- Other minor things.

And move tst_QComboBox to use QTEST_QPA_MOUSE_HANDLING code path.
Eventually we want to deprecate the legacy code path.

Change-Id: Ib72f324b5197d0fd66fc32b8c1c7509e58838e04
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-04-25 13:07:23 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.11' into dev 2018-04-12 22:00:35 +02:00
effects Revert "Set sharedPainter correctly for QGraphicsEffect" 2018-03-14 12:37:53 +00:00
graphicsview Merge remote-tracking branch 'origin/5.11' into dev 2018-03-31 01:00:13 +02:00
itemviews Merge remote-tracking branch 'origin/5.11' into dev 2018-04-12 22:00:35 +02:00
kernel Merge remote-tracking branch 'origin/5.11' into dev 2018-04-20 21:22:53 +02:00
styles QMacStyle: CC_ComboBox is now HITheme-free 2018-04-12 00:20:42 +00:00
util tests/auto/widgets/util: Avoid unconditional qWait()s 2018-04-13 12:32:52 +00:00
widgets tests: cleanup tst_QComboBox::keyBoardNavigationWithMouse() 2018-04-25 13:07:23 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00