diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-19 17:22:37 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-20 18:16:10 +0000 |
commit | a14a0d27b02cc0203962874d71ddc00451609c99 (patch) | |
tree | eb28ba9381a6028616927f1961ae47dcd2d7f468 /src/qml | |
parent | 861d93965e0dbc2c088e83f8a6093a639373a02c (diff) |
Clean up and un-blacklist tst_QQuickMouseArea tests
- Use QQuickTest::showView() consistently to reduce boilerplate
- Use QTest::mouse*() where possible rather than constructing QMouseEvents
(and potentially getting them wrong)
- Use QPointingDevicePrivate::firstPointExclusiveGrabber() on a specific
device to check grab state rather than QQWindow::mouseGrabberItem()
- The warning "event went missing during delivery!" has been removed,
so tst_QQuickMouseArea::nestedEventDelivery() shouldn't expect it
Task-number: QTBUG-86729
Change-Id: Ieb1af38c118dadf8cdf8ae19f92002207d71d5b5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit f1a9c9b4273ec6104a0543b5cf48281141f613e6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml')
0 files changed, 0 insertions, 0 deletions