summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-12 10:59:16 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-12 10:59:16 (GMT)
commit92dab5ea276732944915a9423fc174db6d84e572 (patch)
tree926705c7afcbc9e7ee37dd35a7d4e69f9435df0c /tests/auto/qgraphicsitem
parentacc509a77b6deeed0b3994a933d5cde291e17df6 (diff)
downloadQt-92dab5ea276732944915a9423fc174db6d84e572.zip
Qt-92dab5ea276732944915a9423fc174db6d84e572.tar.gz
Qt-92dab5ea276732944915a9423fc174db6d84e572.tar.bz2
GraphicsView tests on mac
When a widget is shown we get two paint avent on Mac
Diffstat (limited to 'tests/auto/qgraphicsitem')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index e4eaf4e..c6ee237 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -6183,7 +6183,7 @@ void tst_QGraphicsItem::opacity2()
MyGraphicsView view(&scene);
view.show();
QTest::qWaitForWindowShown(&view);
- QTRY_COMPARE(view.repaints, 1);
+ QTRY_VERIFY(view.repaints > 1);
#define RESET_REPAINT_COUNTERS \
parent->repaints = 0; \