summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-08-08 14:18:43 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-08-08 22:57:32 (GMT)
commitdbdb352318bbd157ec9e0c0627223f34af7b0e73 (patch)
treef4a4368e2564e0a59b00cd024e579c59988c931e /tests
parentfe77cabec769b49d0fe61d50d6802fa20d78d366 (diff)
downloadQt-dbdb352318bbd157ec9e0c0627223f34af7b0e73.zip
Qt-dbdb352318bbd157ec9e0c0627223f34af7b0e73.tar.gz
Qt-dbdb352318bbd157ec9e0c0627223f34af7b0e73.tar.bz2
tests: Re-enable tst_QMdiSubWindow test.
The test has one unstable failure. Mark this with QEXPECT_FAIL and re-enable the test. Change-Id: I2ccbbae4d5367cd9a24577857ed97247018f140e Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qmdisubwindow/qmdisubwindow.pro2
-rw-r--r--tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/qmdisubwindow/qmdisubwindow.pro b/tests/auto/qmdisubwindow/qmdisubwindow.pro
index d319278..a9a53b5 100644
--- a/tests/auto/qmdisubwindow/qmdisubwindow.pro
+++ b/tests/auto/qmdisubwindow/qmdisubwindow.pro
@@ -2,5 +2,3 @@ load(qttest_p4)
INCLUDEPATH += .
SOURCES += tst_qmdisubwindow.cpp
DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
-
-mac:CONFIG+=insignificant_test # QTQAINFRA-428
diff --git a/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp b/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp
index 6a09372..796ba61 100644
--- a/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp
+++ b/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp
@@ -812,6 +812,11 @@ void tst_QMdiSubWindow::setOpaqueResizeAndMove()
// Leave move mode
sendMouseRelease(window, mousePosition);
+#ifdef Q_OS_MAC
+ if (moveSpy.count() != expectedGeometryCount) {
+ QEXPECT_FAIL("", "QTBUG-26803", Abort);
+ }
+#endif
QCOMPARE(moveSpy.count(), expectedGeometryCount);
QCOMPARE(window->size(), windowSize + QSize(geometryCount, geometryCount));
}