diff options
-rw-r--r-- | tests/auto/qgraphicsproxywidget/qgraphicsproxywidget.pro | 2 | ||||
-rw-r--r-- | tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsproxywidget/qgraphicsproxywidget.pro b/tests/auto/qgraphicsproxywidget/qgraphicsproxywidget.pro index 317665f..f1a6d6a 100644 --- a/tests/auto/qgraphicsproxywidget/qgraphicsproxywidget.pro +++ b/tests/auto/qgraphicsproxywidget/qgraphicsproxywidget.pro @@ -1,4 +1,2 @@ load(qttest_p4) SOURCES += tst_qgraphicsproxywidget.cpp - -CONFIG+=insignificant_test # QTQAINFRA-428 diff --git a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp index 8265e3e..bb4f3ab 100644 --- a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp +++ b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp @@ -51,6 +51,7 @@ #ifdef Q_WS_X11 #include <private/qt_x11_p.h> #endif +#include <QSysInfo> static void sendMouseMove(QWidget *widget, const QPoint &point, Qt::MouseButton button = Qt::NoButton) { @@ -3386,6 +3387,11 @@ void tst_QGraphicsProxyWidget::updateAndDelete() // Update and hide. proxy->update(); proxy->hide(); +#ifdef Q_OS_MAC + if (QSysInfo::MacintoshVersion == QSysInfo::MV_LION) { + QEXPECT_FAIL("", "QTBUG-26801", Abort); + } +#endif QTRY_COMPARE(view.npaints, 1); QCOMPARE(view.paintEventRegion, expectedRegion); |