diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-02-17 00:20:47 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-02-18 05:17:15 (GMT) |
commit | 2ea6cf7976fc9a2d8a67b32ba4854c9eeb583c81 (patch) | |
tree | 064c74adaeb0eb801b7f97151898880c85e8aebe | |
parent | e0b9742450222bdd835358604f70f5a2d13207a9 (diff) | |
download | Qt-2ea6cf7976fc9a2d8a67b32ba4854c9eeb583c81.zip Qt-2ea6cf7976fc9a2d8a67b32ba4854c9eeb583c81.tar.gz Qt-2ea6cf7976fc9a2d8a67b32ba4854c9eeb583c81.tar.bz2 |
Make test more reliable.
-rw-r--r-- | tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp b/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp index 0f39c9d..b4759d4 100644 --- a/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp +++ b/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp @@ -219,7 +219,7 @@ void tst_qmlanimations::resume() QVERIFY(animation.from() == 10); animation.start(); - QTest::qWait(50); + QTest::qWait(100); animation.pause(); qreal x = rect.x(); QVERIFY(x != qreal(200)); @@ -229,7 +229,7 @@ void tst_qmlanimations::resume() animation.resume(); QVERIFY(animation.isRunning()); QVERIFY(!animation.isPaused()); - QTest::qWait(50); + QTest::qWait(100); animation.stop(); QVERIFY(rect.x() > x); } @@ -330,7 +330,7 @@ void tst_qmlanimations::badProperties() //for example, int + real; color + real; etc void tst_qmlanimations::mixedTypes() { - //assumes border.width stats a real -- not real robust + //assumes border.width stays a real -- not real robust { QmlEngine engine; QmlComponent c(&engine, QUrl::fromLocalFile(SRCDIR "/data/mixedtype1.qml")); |