Remove insignification of QMdiArea test on Windows.
This test had two stable failures, caused by including code not meant for Windows. Task-number: QTBUG-25298 Change-Id: I43d9d62ecf5a3c6eec240fafbc43a625c00f45fa Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
39e6d75511
commit
4aacc47f66
@ -12,4 +12,4 @@ mac {
|
||||
LIBS += -framework Security
|
||||
}
|
||||
|
||||
!mac:CONFIG+=insignificant_test # QTBUG-25298
|
||||
!mac:!win32:CONFIG+=insignificant_test # QTBUG-25298
|
||||
|
@ -1032,7 +1032,7 @@ void tst_QMdiArea::activeSubWindow()
|
||||
qApp->setActiveWindow(&mainWindow);
|
||||
QCOMPARE(mdiArea->activeSubWindow(), subWindow);
|
||||
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_WS_WIN)
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
|
||||
qApp->setActiveWindow(0);
|
||||
QVERIFY(!mdiArea->activeSubWindow());
|
||||
#endif
|
||||
@ -1117,7 +1117,7 @@ void tst_QMdiArea::currentSubWindow()
|
||||
QVERIFY(mdiArea.activeSubWindow());
|
||||
QVERIFY(mdiArea.currentSubWindow());
|
||||
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_WS_WIN)
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
|
||||
qApp->setActiveWindow(0);
|
||||
QVERIFY(!mdiArea.activeSubWindow());
|
||||
QVERIFY(mdiArea.currentSubWindow());
|
||||
|
Loading…
Reference in New Issue
Block a user