summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-04-17 07:29:24 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-17 10:15:44 +0200
commit93055e81c83c02b88630ee6f5bb243ab42b2fad6 (patch)
tree32e1c2f3faf18afe9746b802a396dfbf90dc7d14 /tests/auto/widgets
parentbffbfc5b3368abaa5f95b7e4f8342e9202ab065a (diff)
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>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
index fef21c19f7..fc1126989d 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();