Move XFAIL in tst_QGraphicsProxyWidget on Mac OS X

The number of paint events is correct now, but the first expected region
is still incorrect. Move the XFAIL to the region comparison.

Change-Id: I3e706cf703b20a0e98b644b3082172fc3142b44f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Bradley T. Hughes 2012-04-17 07:29:24 +02:00 committed by Qt by Nokia
parent bffbfc5b33
commit 93055e81c8

View File

@ -3376,11 +3376,10 @@ void tst_QGraphicsProxyWidget::updateAndDelete()
// Update and hide.
proxy->update();
proxy->hide();
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-23700", Abort);
#endif
QTRY_COMPARE(view.npaints, 1);
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-23700", Continue);
#endif
QCOMPARE(view.paintEventRegion, expectedRegion);
proxy->show();