diff options
author | Matthew Vogt <matthew.vogt@nokia.com> | 2012-05-14 14:43:24 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-14 07:47:18 +0200 |
commit | 9c0ea2c3e77ee2c101a7d3351455f87cda0d8f21 (patch) | |
tree | 996b8a5a8332c6f03f300df5e24669f7f29e75ce /tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp | |
parent | c6c5606a0cfe2540502070e4acf082d7af7478a0 (diff) |
Ensure scale property is initialized
Also, do not fail flickable test if a flick is initiated.
Change-Id: I2701bfa174dd42b462d21a8d39211ab85fa1f282
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp b/tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp index 674d7404..df22648f 100644 --- a/tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp +++ b/tests/auto/declarative/qdeclarativepincharea/tst_qdeclarativepincharea.cpp @@ -376,7 +376,7 @@ void tst_QDeclarativePinchArea::flickable() QTest::touchEvent(vp, device).move(0, p1, canvas).move(1, p2, canvas); // PinchArea has stolen the gesture. - QVERIFY(!root->isMoving()); + QTRY_VERIFY(!root->isMoving()); QVERIFY(root->property("scale").toReal() > 1.0); QTest::mouseRelease(vp, Qt::LeftButton, 0, canvas->mapFromScene(p1)); |