summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-31 23:43:20 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-31 23:43:58 (GMT)
commitd5e6111c62bc4437243fb1d6389e3af180f623d7 (patch)
tree392d4433144efbba789c12d0a8cda15fd1527a22
parent9d7ab0dc82e15f5960fc0e695da95477b518804f (diff)
downloadQt-d5e6111c62bc4437243fb1d6389e3af180f623d7.zip
Qt-d5e6111c62bc4437243fb1d6389e3af180f623d7.tar.gz
Qt-d5e6111c62bc4437243fb1d6389e3af180f623d7.tar.bz2
Attempt to fix the test.
Reviewed-by:TrustMe
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index 3d86c48..9229c7c 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -10054,9 +10054,9 @@ void tst_QGraphicsItem::updateMicroFocus()
QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(&parent));
input.doUpdateMicroFocus();
QApplication::processEvents();
- QCOMPARE(ic.nbUpdates, 1);
+ QTRY_COMPARE(ic.nbUpdates, 1);
//No update since view2 does not have the focus.
- QCOMPARE(ic2.nbUpdates, 0);
+ QTRY_COMPARE(ic2.nbUpdates, 0);
}
void tst_QGraphicsItem::QTBUG_5418_textItemSetDefaultColor()