Remove insignfication from QGuiApplication test on Windows.
This test has two stable failures, one of which slipped through while the test was disabled. Mark the failures with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-24186 Change-Id: Ie24f86603a01634d6eec5a42baa77e966f9388c8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
46556529ec
commit
d43c931cf0
@ -2,5 +2,3 @@ CONFIG += testcase
|
||||
TARGET = tst_qguiapplication
|
||||
QT += core gui testlib
|
||||
SOURCES = tst_qguiapplication.cpp
|
||||
|
||||
win32:CONFIG += insignificant_test # QTBUG-24186
|
||||
|
@ -116,6 +116,9 @@ void tst_QGuiApplication::focusObject()
|
||||
QTest::qWaitForWindowShown(&window2);
|
||||
QTRY_COMPARE(app.focusWindow(), &window2);
|
||||
QCOMPARE(app.focusObject(), &obj3);
|
||||
#ifdef Q_OS_WIN
|
||||
QEXPECT_FAIL("", "QTBUG-24186", Abort);
|
||||
#endif
|
||||
QCOMPARE(spy.count(), 1);
|
||||
|
||||
// focus change on unfocused window does not show
|
||||
@ -238,6 +241,9 @@ void tst_QGuiApplication::changeFocusWindow()
|
||||
window2.requestActivateWindow();
|
||||
QTRY_COMPARE(app.focusWindow(), &window2);
|
||||
QCOMPARE(window1.windowDuringFocusAboutToChange, &window1);
|
||||
#ifdef Q_OS_WIN
|
||||
QEXPECT_FAIL("", "QTBUG-24186", Abort);
|
||||
#endif
|
||||
QCOMPARE(window1.windowDuringFocusOut, &window2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user