qt5base-lts/tests/auto
Gatis Paeglis 0aba5546ef tests: fix and un-blacklist tst_qgraphicsview::hoverLeave
Tests should not use QCursor to emulate mouse move, see QCursor::setPos() docs.

The flakiness of the test on XCB is not surprising when the test queries geometry
even before the window has been shown. With the re-factored version I could not
reproduce flakiness anymore.

Removed Q_OS_MAC and closed QTBUG-26274 as test passes on macOS from which I
assume that the underlying issue has been fixed.

Removed Q_OS_QNX ifdef as test does not rely on QCursor anymore.

This patch also fixes the issues on minimal / offscreen platform plugins.
QCursor::setPos() is evil for auto test purposes.

Note:

We intentionally use QTest::mouseMove(QWindow *window, ..), not the QWidget overload.
The QWindow version gets routed through QWSI, which ensures that all necessary events
are generated as expect. In QWidget code path this is currently disabled by
QTEST_QPA_MOUSE_HANDLING.

Change-Id: I285c26cff09e3f2750f8c2abbb1f46c8f7be984a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 1af927976a)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2017-10-17 13:58:29 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Update binary compatibility files for Qt 5.9.0 for QtBase 2017-08-14 13:48:17 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Remove tst_qtconcurrentiteratekernel blockSize test 2017-07-29 09:35:16 +00:00
corelib QUrl: re-fix the setPath("//path") case leading to scheme://path 2017-10-06 03:49:40 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui Fix blacklisting of tst_QOpenGL in Windows 2017-10-10 07:42:33 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QNAM (redirects) - clear 'raw' headers before sending the next request 2017-10-17 13:58:16 +00:00
opengl Switch to RGB(A|X)8888[_Premultiplied] for QOpenGLFBO readbacks on GLES 2017-03-28 11:17:52 +00:00
other Extend blacklisting of tst_gestures in RHEL 2017-10-10 07:42:24 +00:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
sql Fix recordOCI() test to treat clob/nclob as QByteArray 2017-09-18 21:06:49 +00:00
testlib Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
tools Adapt qmake's raw-string parser to avoid confusion by macros 2017-08-24 14:27:50 +00:00
widgets tests: fix and un-blacklist tst_qgraphicsview::hoverLeave 2017-10-17 13:58:29 +00:00
xml Increase timeout for tst_QXmlSimpleReader::inputFromSocket() test 2017-10-05 10:22:12 +00:00
auto.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00