diff options
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp')
-rw-r--r-- | tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp b/tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp index 085f4000f0..c1e60f1560 100644 --- a/tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp +++ b/tests/auto/qtquick2/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp @@ -335,8 +335,7 @@ void tst_qdeclarativebehaviors::dontStart() QVERIFY(rect); QDeclarativeAbstractAnimation *myAnim = rect->findChild<QDeclarativeAbstractAnimation*>("MyAnim"); - QVERIFY(myAnim && myAnim->qtAnimation()); - QVERIFY(myAnim->qtAnimation()->state() == QAbstractAnimation::Stopped); + QVERIFY(myAnim && !myAnim->qtAnimation()); delete rect; } |