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:
parent
88dedfee1c
commit
ef22545184
@ -2,6 +2,3 @@
|
||||
macos
|
||||
[showFullScreen]
|
||||
macos ci
|
||||
# QTBUG-87389
|
||||
[snapToDefaultButton]
|
||||
android
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user