tst_QDockWidget::restoreDockWidget: Add QSKIP for XCB.
The positioning test has been observed to fail on X11. Change-Id: I58727126a8742de93ec203e9992a9ae1b454f731 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
f5d1c329ce
commit
4964c89540
@ -764,6 +764,8 @@ void tst_QDockWidget::restoreDockWidget()
|
||||
restoreWindow.show();
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&restoreWindow));
|
||||
QTRY_VERIFY(dock->isFloating());
|
||||
if (!QGuiApplication::platformName().compare("xcb", Qt::CaseInsensitive))
|
||||
QSKIP("Skip due to Window manager positioning issues", Abort);
|
||||
QTRY_COMPARE(dock->pos(), dockPos);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user