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

Pick-to: 6.0
Pick-to: 6.0.0
Task-number: QTBUG-86729
Change-Id: Ieb1af38c118dadf8cdf8ae19f92002207d71d5b5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Shawn Rutledge 2020-11-19 17:22:37 +01:00
parent 06c31f386f
commit f1a9c9b427
2 changed files with 248 additions and 433 deletions

View File

@ -9,12 +9,3 @@ opensuse-leap
[pressOneAndTapAnother]
opensuse-leap
[nestedEventDelivery]
* # QTBUG-86729
[ignoreBySource]
* # QTBUG-86729
[onMousePressRejected]
* # QTBUG-86729

File diff suppressed because it is too large Load Diff