diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-03-19 17:27:38 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-19 08:30:23 +0100 |
commit | 6cb590105f2830d60fdbc371651672745d809230 (patch) | |
tree | 12cdb18cce59c806ef58948b051c3fdc003827eb /tests | |
parent | 6500e8c572261770185b9dc0e3764758cf651e2d (diff) |
Fix QQuickCanvas test failure.
Switch to a QTRY_COMPARE to allow a little more time processing the
event loop.
Change-Id: I4f14feb5cbc7d11654f6c9089baff4ae67d894db
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquickcanvas/tst_qquickcanvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickcanvas/tst_qquickcanvas.cpp b/tests/auto/quick/qquickcanvas/tst_qquickcanvas.cpp index 3a27d179c5..7250504e73 100644 --- a/tests/auto/quick/qquickcanvas/tst_qquickcanvas.cpp +++ b/tests/auto/quick/qquickcanvas/tst_qquickcanvas.cpp @@ -698,7 +698,7 @@ void tst_qquickcanvas::headless() canvas->show(); QTest::qWaitForWindowShown(canvas); - QCOMPARE(initialized.size(), 1); + QTRY_COMPARE(initialized.size(), 1); QVERIFY(canvas->openglContext() != 0); // Verify that the visual output is the same |