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:
parent
f6155aec30
commit
1395b81935
@ -352,6 +352,8 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
|
|||||||
|
|
||||||
QDialog* d = new QDialog( testFocusWidget );
|
QDialog* d = new QDialog( testFocusWidget );
|
||||||
d->show();
|
d->show();
|
||||||
|
QVERIFY(QTest::qWaitForWindowExposed(d));
|
||||||
|
|
||||||
d->activateWindow(); // ### CDE
|
d->activateWindow(); // ### CDE
|
||||||
QApplication::setActiveWindow(d);
|
QApplication::setActiveWindow(d);
|
||||||
QVERIFY(QTest::qWaitForWindowActive(d));
|
QVERIFY(QTest::qWaitForWindowActive(d));
|
||||||
@ -373,8 +375,6 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
QEXPECT_FAIL("", "QTBUG-22815", Abort);
|
QEXPECT_FAIL("", "QTBUG-22815", Abort);
|
||||||
#endif
|
#endif
|
||||||
if (QGuiApplication::platformName() == QStringLiteral("xcb"))
|
|
||||||
QSKIP("QTBUG-22815 - This test is unstable on this platform");
|
|
||||||
QTRY_VERIFY(childFocusWidgetOne->focusInEventRecieved);
|
QTRY_VERIFY(childFocusWidgetOne->focusInEventRecieved);
|
||||||
QVERIFY(childFocusWidgetOne->focusInEventGotFocus);
|
QVERIFY(childFocusWidgetOne->focusInEventGotFocus);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user