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:
parent
bffbfc5b33
commit
93055e81c8
@ -3376,11 +3376,10 @@ void tst_QGraphicsProxyWidget::updateAndDelete()
|
|||||||
// Update and hide.
|
// Update and hide.
|
||||||
proxy->update();
|
proxy->update();
|
||||||
proxy->hide();
|
proxy->hide();
|
||||||
#ifdef Q_OS_MAC
|
|
||||||
QEXPECT_FAIL("", "QTBUG-23700", Abort);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
QTRY_COMPARE(view.npaints, 1);
|
QTRY_COMPARE(view.npaints, 1);
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
QEXPECT_FAIL("", "QTBUG-23700", Continue);
|
||||||
|
#endif
|
||||||
QCOMPARE(view.paintEventRegion, expectedRegion);
|
QCOMPARE(view.paintEventRegion, expectedRegion);
|
||||||
|
|
||||||
proxy->show();
|
proxy->show();
|
||||||
|
Loading…
Reference in New Issue
Block a user