diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-24 18:36:28 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-24 18:36:28 (GMT) |
commit | a60940d89cf7bf075e5b1f2055d63477d1187125 (patch) | |
tree | 5b7c0b514a5918a7a4719db4f76d0f5e86ebb225 /tests/auto/qgraphicsscene | |
parent | af2b28f9ca070576ed465f17516fdb9a004b83a4 (diff) | |
download | Qt-a60940d89cf7bf075e5b1f2055d63477d1187125.zip Qt-a60940d89cf7bf075e5b1f2055d63477d1187125.tar.gz Qt-a60940d89cf7bf075e5b1f2055d63477d1187125.tar.bz2 |
Stabilize tst_qgraphicsscene
Diffstat (limited to 'tests/auto/qgraphicsscene')
-rw-r--r-- | tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp index 7ee2a48..c145623 100644 --- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp +++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp @@ -4581,13 +4581,13 @@ void tst_QGraphicsScene::zeroScale() rect1->setScale(0.00000001); QApplication::processEvents(); - QCOMPARE(cl.changes.count(), 1); + QTRY_COMPARE(cl.changes.count(), 1); QGraphicsRectItem *rect2 = new QGraphicsRectItem(-0.0000001, -0.0000001, 0.0000001, 0.0000001); rect2->setScale(0.00000001); scene.addItem(rect2); rect1->setPos(20,20); QApplication::processEvents(); - QCOMPARE(cl.changes.count(), 2); + QTRY_COMPARE(cl.changes.count(), 2); } QTEST_MAIN(tst_QGraphicsScene) |