summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-08 23:13:30 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-08 23:13:30 (GMT)
commitfa8c4a6b548f16a2ee9ba296fa8374995ed7afb8 (patch)
tree74ee42fbd8039830bf22e2c276877be12dfc7a4b /tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp
parentc3a54c47048b7123f51f2a1078e156d259445221 (diff)
downloadQt-fa8c4a6b548f16a2ee9ba296fa8374995ed7afb8.zip
Qt-fa8c4a6b548f16a2ee9ba296fa8374995ed7afb8.tar.gz
Qt-fa8c4a6b548f16a2ee9ba296fa8374995ed7afb8.tar.bz2
Update test following property name change.
Diffstat (limited to 'tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp b/tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp
index 7a60e78..8a07d6b 100644
--- a/tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp
+++ b/tests/auto/declarative/qdeclarativespringfollow/tst_qdeclarativespringfollow.cpp
@@ -72,7 +72,7 @@ void tst_qdeclarativespringfollow::defaultValues()
QVERIFY(obj != 0);
- QCOMPARE(obj->sourceValue(), 0.);
+ QCOMPARE(obj->to(), 0.);
QCOMPARE(obj->velocity(), 0.);
QCOMPARE(obj->spring(), 0.);
QCOMPARE(obj->damping(), 0.);
@@ -94,7 +94,7 @@ void tst_qdeclarativespringfollow::values()
QVERIFY(obj != 0);
- QCOMPARE(obj->sourceValue(), 1.44);
+ QCOMPARE(obj->to(), 1.44);
QCOMPARE(obj->velocity(), 0.9);
QCOMPARE(obj->spring(), 1.0);
QCOMPARE(obj->damping(), 0.5);
@@ -117,7 +117,7 @@ void tst_qdeclarativespringfollow::disabled()
QVERIFY(obj != 0);
- QCOMPARE(obj->sourceValue(), 1.44);
+ QCOMPARE(obj->to(), 1.44);
QCOMPARE(obj->velocity(), 0.9);
QCOMPARE(obj->spring(), 1.0);
QCOMPARE(obj->damping(), 0.5);