diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-07-09 04:07:31 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-07-09 04:07:31 (GMT) |
commit | 31cd8c15c0fdb2f08c2652609a57413a715d1b13 (patch) | |
tree | c87e32055b09a02b99be539e62307185cf1dd02b /tests/auto/declarative | |
parent | 389f4b225eb69e10e946c28dfcddbff067cf0364 (diff) | |
download | Qt-31cd8c15c0fdb2f08c2652609a57413a715d1b13.zip Qt-31cd8c15c0fdb2f08c2652609a57413a715d1b13.tar.gz Qt-31cd8c15c0fdb2f08c2652609a57413a715d1b13.tar.bz2 |
Make test pass and fix docs following removal of SpringFollow
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp index 13960b1..5028ba1 100644 --- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp +++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp @@ -279,7 +279,7 @@ void tst_qdeclarativedom::loadComposite() void tst_qdeclarativedom::testValueSource() { QByteArray qml = "import Qt 4.7\n" - "Rectangle { SpringFollow on height { spring: 1.4; damping: .15; to: Math.min(Math.max(-130, value*2.2 - 130), 133); }}"; + "Rectangle { SpringAnimation on height { spring: 1.4; damping: .15; to: Math.min(Math.max(-130, value*2.2 - 130), 133); }}"; QDeclarativeEngine freshEngine; QDeclarativeDomDocument document; @@ -295,7 +295,7 @@ void tst_qdeclarativedom::testValueSource() QDeclarativeDomObject valueSourceObject = valueSource.object(); QVERIFY(valueSourceObject.isValid()); - QVERIFY(valueSourceObject.objectType() == "Qt/SpringFollow"); + QVERIFY(valueSourceObject.objectType() == "Qt/SpringAnimation"); const QDeclarativeDomValue springValue = valueSourceObject.property("spring").value(); QVERIFY(!springValue.isInvalid()); |