From: Bradley T. Hughes Date: Tue, 17 Apr 2012 05:29:24 +0000 (+0200) Subject: Move XFAIL in tst_QGraphicsProxyWidget on Mac OS X X-Git-Tag: 071012110112~1632 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93055e81c83c02b88630ee6f5bb243ab42b2fad6;p=profile%2Fivi%2Fqtbase.git 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 Reviewed-by: Jason McDonald --- diff --git a/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp index fef21c1..fc11269 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp @@ -3376,11 +3376,10 @@ void tst_QGraphicsProxyWidget::updateAndDelete() // Update and hide. proxy->update(); proxy->hide(); + QTRY_COMPARE(view.npaints, 1); #ifdef Q_OS_MAC - QEXPECT_FAIL("", "QTBUG-23700", Abort); + QEXPECT_FAIL("", "QTBUG-23700", Continue); #endif - - QTRY_COMPARE(view.npaints, 1); QCOMPARE(view.paintEventRegion, expectedRegion); proxy->show();