summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/behaviors
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-11-03 06:12:57 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-11-03 06:12:57 (GMT)
commit57dadc8606eb0c864ef27e550f9a8ae109de5293 (patch)
treeb12cf8aebdcd0e6266a177379dcd179e864b51a2 /tests/auto/declarative/behaviors
parent0cf756891d94bcfef52c7c18ce4e3e3f7e64e2d7 (diff)
downloadQt-57dadc8606eb0c864ef27e550f9a8ae109de5293.zip
Qt-57dadc8606eb0c864ef27e550f9a8ae109de5293.tar.gz
Qt-57dadc8606eb0c864ef27e550f9a8ae109de5293.tar.bz2
Fix test.
Diffstat (limited to 'tests/auto/declarative/behaviors')
-rw-r--r--tests/auto/declarative/behaviors/tst_behaviors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/behaviors/tst_behaviors.cpp b/tests/auto/declarative/behaviors/tst_behaviors.cpp
index 7bdc82e..29c631d 100644
--- a/tests/auto/declarative/behaviors/tst_behaviors.cpp
+++ b/tests/auto/declarative/behaviors/tst_behaviors.cpp
@@ -229,7 +229,7 @@ void tst_behaviors::reassignedAnimation()
rect->setState("moved");
QTest::qWait(200 + 100);
qreal x = qobject_cast<QmlGraphicsRectangle*>(rect->findChild<QmlGraphicsRectangle*>("MyRect"))->x();
- QVERIFY(x > 0 && x < 200); //i.e. the right behavior has been triggered
+ QCOMPARE(x, qreal(200)); //i.e. the right behavior has been triggered
}
QTEST_MAIN(tst_behaviors)