Move XFAIL in tst_QGraphicsProxyWidget on Mac OS X
authorBradley T. Hughes <bradley.hughes@nokia.com>
Tue, 17 Apr 2012 05:29:24 +0000 (07:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Apr 2012 08:15:44 +0000 (10:15 +0200)
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>
tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp

index fef21c1..fc11269 100644 (file)
@@ -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();