aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qdeclarativeanimations/data
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-01-04 11:08:24 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-27 06:23:00 +0100
commitabd8ff8b03038f349c8b54f094e500516e249f1b (patch)
tree1cb8780770798d7b4c6f7f5e85499724805b2ee7 /tests/auto/qtquick2/qdeclarativeanimations/data
parenta838eea33313967e501a5a045d2a68d2a35e7533 (diff)
Prevent PathAnimation from hanging when jumping backwards to beginning.
Task-number: QTBUG-23076 Change-Id: I2aecdfd28f0c3d45b3b805640edaecbd5be2e6fd Reviewed-by: Yunqiao Yin <charles.yin@nokia.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativeanimations/data')
-rw-r--r--tests/auto/qtquick2/qdeclarativeanimations/data/pathInterpolatorBack2.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qdeclarativeanimations/data/pathInterpolatorBack2.qml b/tests/auto/qtquick2/qdeclarativeanimations/data/pathInterpolatorBack2.qml
new file mode 100644
index 0000000000..eb3d4c3f86
--- /dev/null
+++ b/tests/auto/qtquick2/qdeclarativeanimations/data/pathInterpolatorBack2.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+PathInterpolator {
+ path: Path {
+ startX: 200; startY: 280
+ PathCurve { x: 150; y: 280 }
+ PathCurve { x: 150; y: 80 }
+ PathCurve { x: 0; y: 80 }
+ }
+}