test: Remove QSKIP from tst_QFocusEvent::checkReason_ActiveWindow()

This test actually passes using the "xcb" platform and fails otherwise.

Second, the Jira task is misleading since it refers to
tst_QFocusEvent::checkReason_Shortcut()

Change-Id: Icab91ace8c214d958b534c5cebae900242522372
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
This commit is contained in:
Sergio Ahumada 2012-09-10 12:12:36 +02:00 committed by The Qt Project
parent f6155aec30
commit 1395b81935

View File

@ -352,6 +352,8 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
QDialog* d = new QDialog( testFocusWidget );
d->show();
QVERIFY(QTest::qWaitForWindowExposed(d));
d->activateWindow(); // ### CDE
QApplication::setActiveWindow(d);
QVERIFY(QTest::qWaitForWindowActive(d));
@ -373,8 +375,6 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-22815", Abort);
#endif
if (QGuiApplication::platformName() == QStringLiteral("xcb"))
QSKIP("QTBUG-22815 - This test is unstable on this platform");
QTRY_VERIFY(childFocusWidgetOne->focusInEventRecieved);
QVERIFY(childFocusWidgetOne->focusInEventGotFocus);