summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/declarative/qmldom/tst_qmldom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmldom/tst_qmldom.cpp b/tests/auto/declarative/qmldom/tst_qmldom.cpp
index e1419cc..77c13c3 100644
--- a/tests/auto/declarative/qmldom/tst_qmldom.cpp
+++ b/tests/auto/declarative/qmldom/tst_qmldom.cpp
@@ -119,7 +119,7 @@ void tst_qmldom::loadComposite()
void tst_qmldom::testValueSource()
{
QByteArray qml = "import Qt 4.6\n"
- "Rectangle { height: Follow { spring: 1.4; damping: .15; source: Math.min(Math.max(-130, value*2.2 - 130), 133); }}";
+ "Rectangle { height: SpringFollow { spring: 1.4; damping: .15; source: Math.min(Math.max(-130, value*2.2 - 130), 133); }}";
QmlEngine freshEngine;
QmlDomDocument document;
@@ -135,7 +135,7 @@ void tst_qmldom::testValueSource()
QmlDomObject valueSourceObject = valueSource.object();
QVERIFY(valueSourceObject.isValid());
- QVERIFY(valueSourceObject.objectType() == "Qt/Follow");
+ QVERIFY(valueSourceObject.objectType() == "Qt/SpringFollow");
const QmlDomValue springValue = valueSourceObject.property("spring").value();
QVERIFY(!springValue.isInvalid());