tst_QWindow::framePositioning: Skip on Android and fullscreen-only systems

The framePositioning test was split out from the positioning test, but
without the existing skips. Turns out we do need the same skips, so
add them.

Change-Id: Ib5d1cdf474a3a88a154c7cdc8df346668c8053d6
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
(cherry picked from commit 6f46f85899b425729d595af6461c6dbe3f4f7e1c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2024-08-05 15:53:25 +02:00 committed by Qt Cherry-pick Bot
parent 7cea4391ce
commit 69e5a9fb4a

View File

@ -608,6 +608,13 @@ void tst_QWindow::framePositioning_data()
void tst_QWindow::framePositioning()
{
#ifdef Q_OS_ANDROID
QSKIP("Fails on Android. QTBUG-105201");
#endif
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(
QPlatformIntegration::NonFullScreenWindows)) {
QSKIP("This platform does not support non-fullscreen windows");
}
if (isPlatformWayland())
QSKIP("Wayland: This fails. See QTBUG-68660.");