Android: skip tst_QDialog::snapToDefaultButton

This test uses the cursor. However we have no cursor support on Android.
Skip the test instead of blacklisting it, because that is the correct
behavior.

Fixes: QTBUG-87389
Pick-to: 6.3 6.2
Change-Id: I1a2d2dd406b3d7da1bc70b51c2072a83d9a29ca5
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
This commit is contained in:
Ivan Solovev 2022-02-28 12:23:57 +01:00
parent 88dedfee1c
commit ef22545184
2 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,3 @@
macos
[showFullScreen]
macos ci
# QTBUG-87389
[snapToDefaultButton]
android

View File

@ -503,6 +503,9 @@ void tst_QDialog::snapToDefaultButton()
#else
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("This platform does not support setting the cursor position.");
#ifdef Q_OS_ANDROID
QSKIP("Android does not support cursor");
#endif
const QRect dialogGeometry(QGuiApplication::primaryScreen()->availableGeometry().topLeft()
+ QPoint(100, 100), QSize(200, 200));