diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-07-22 23:21:32 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-07-22 23:22:57 (GMT) |
commit | e2c252bbf397eaccedbf7278d0f2b065ed8ead86 (patch) | |
tree | 046752674a37dfe21518c56c4a3c10c92649ab65 /tests | |
parent | b6fdfd54442e9a2545c083bdbdb49042b6440ff4 (diff) | |
download | Qt-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.cpp | 1 |
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)); |