From: Jason McDonald Date: Tue, 17 Apr 2012 14:15:16 +0000 (+1000) Subject: Remove insignification from QAccessibility test on Mac OS X. X-Git-Tag: 071012110112~1572 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25f3c16c94eaa0934b5f2cc1ee373eea71aa5d02;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/tests/auto/other/qaccessibility/qaccessibility.pro b/tests/auto/other/qaccessibility/qaccessibility.pro index 388e6ab..0c224ad 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 977013a..ba1e73a 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