summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-07-22 23:21:32 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-07-22 23:22:57 (GMT)
commite2c252bbf397eaccedbf7278d0f2b065ed8ead86 (patch)
tree046752674a37dfe21518c56c4a3c10c92649ab65 /tests
parentb6fdfd54442e9a2545c083bdbdb49042b6440ff4 (diff)
downloadQt-e2c252bbf397eaccedbf7278d0f2b065ed8ead86.zip
Qt-e2c252bbf397eaccedbf7278d0f2b065ed8ead86.tar.gz
Qt-e2c252bbf397eaccedbf7278d0f2b065ed8ead86.tar.bz2
Fix test.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp1
1 files changed, 1 insertions, 0 deletions
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));