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:
Friedemann Kleint 2015-05-29 15:53:02 +02:00 committed by Allan Sandfeld Jensen
parent f5d1c329ce
commit 4964c89540

View File

@ -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);
}
}