From e2c252bbf397eaccedbf7278d0f2b065ed8ead86 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Fri, 23 Jul 2010 09:21:32 +1000 Subject: Fix test. --- .../auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp index bb7fc7b..174967b 100644 --- a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp +++ b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp @@ -401,6 +401,7 @@ void tst_qdeclarativebehaviors::sameValue() target->setProperty("x", 0); QTRY_VERIFY(target->x() != qreal(0) && target->x() != qreal(100)); + QTRY_VERIFY(target->x() == qreal(0)); //make sure Behavior has finished. target->setX(100); QCOMPARE(target->x(), qreal(100)); -- cgit v0.12