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>
This commit is contained in:
Jason McDonald 2012-04-18 00:15:16 +10:00 committed by Qt by Nokia
parent bb495823d6
commit 25f3c16c94
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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