aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml')
-rw-r--r--tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml b/tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml
new file mode 100644
index 0000000000..24c6f7ad91
--- /dev/null
+++ b/tests/auto/qtquick2/qquickloader/data/InitialPropertyValuesComponent.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+Item {
+ id: behaviorCounter
+ property int behaviorCount: 0
+ property int canary: 0
+
+ Behavior on canary {
+ NumberAnimation { target: behaviorCounter; property: "behaviorCount"; to: (behaviorCounter.behaviorCount + 1); duration: 0 }
+ }
+}