summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-06-30 02:05:14 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-07-08 06:57:23 (GMT)
commit247c0d8c3030267720766a48ed9ee681edc62085 (patch)
tree5d2033795e7a3158375cf8d44dd4c621136e9741
parentca877686aa220d20905dce171efc4c8b035c0af5 (diff)
downloadQt-247c0d8c3030267720766a48ed9ee681edc62085.zip
Qt-247c0d8c3030267720766a48ed9ee681edc62085.tar.gz
Qt-247c0d8c3030267720766a48ed9ee681edc62085.tar.bz2
Try to fix Mac CI test failure
Try slowing down the flick to give the slow CI machine a better chance of success. Change-Id: Id61473e73a38bb888b9bee47cffb913c936155b9 Task-number: QTBUG-19676 Reviewed-by: Bea Lam (cherry picked from commit 343069c7843321b33f06bfd42d476abae76dcece)
-rw-r--r--tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp b/tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp
index 05925cd..7cb7e6f 100644
--- a/tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp
+++ b/tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp
@@ -494,12 +494,12 @@ void tst_qdeclarativeflickable::flickVelocity()
QVERIFY(flickable != 0);
// flick up
- flick(canvas, QPoint(20,190), QPoint(20, 50), 100);
+ flick(canvas, QPoint(20,190), QPoint(20, 50), 200);
QVERIFY(flickable->verticalVelocity() > 0.0);
QTRY_VERIFY(flickable->verticalVelocity() == 0.0);
// flick down
- flick(canvas, QPoint(20,10), QPoint(20, 100), 100);
+ flick(canvas, QPoint(20,10), QPoint(20, 140), 200);
QVERIFY(flickable->verticalVelocity() < 0.0);
QTRY_VERIFY(flickable->verticalVelocity() == 0.0);