summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-04-18 00:15:16 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-19 08:07:30 +0200
commit25f3c16c94eaa0934b5f2cc1ee373eea71aa5d02 (patch)
treea12783380f4d3773627b9c3141554e41da313c91 /tests/auto/other
parentbb495823d69c7d9bed60571b08e4d7fcb48e1f42 (diff)
Remove insignification from QAccessibility test on Mac OS X.
This test has one stable failure. Mark that failure with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-22812 Change-Id: I1e1ad63472db7ba724c9936ae718de0b3b078bbd Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/qaccessibility/qaccessibility.pro2
-rw-r--r--tests/auto/other/qaccessibility/tst_qaccessibility.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/other/qaccessibility/qaccessibility.pro b/tests/auto/other/qaccessibility/qaccessibility.pro
index 388e6ab29d..0c224ad0a8 100644
--- a/tests/auto/other/qaccessibility/qaccessibility.pro
+++ b/tests/auto/other/qaccessibility/qaccessibility.pro
@@ -12,8 +12,6 @@ wince*: {
DEPLOYMENT += accessneeded
}
-mac: CONFIG += insignificant_test # QTBUG-22812
-
win32 {
!*g++: include(../../../../src/3rdparty/iaccessible2/iaccessible2.pri)
LIBS += -loleacc -loleaut32 -lole32
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
index 977013ab8c..ba1e73a99b 100644
--- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
+++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
@@ -1747,6 +1747,9 @@ void tst_QAccessibility::mdiSubWindowTest()
const QRect widgetGeometry = testWindow->contentsRect();
const QPoint globalWidgetPos = QPoint(globalPos.x() + widgetGeometry.x(),
globalPos.y() + widgetGeometry.y());
+#ifdef Q_OS_MAC
+ QEXPECT_FAIL("", "QTBUG-22812", Abort);
+#endif
QCOMPARE(childRect(interface), QRect(globalWidgetPos, widgetGeometry.size()));
// childAt