From 25f3c16c94eaa0934b5f2cc1ee373eea71aa5d02 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 18 Apr 2012 00:15:16 +1000 Subject: 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 --- tests/auto/other/qaccessibility/qaccessibility.pro | 2 -- tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/auto/other') 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 -- cgit v1.2.3