diff options
Diffstat (limited to 'tests/auto/quick/qquickloader/data/InitialPropertyValuesComponent.qml')
-rw-r--r-- | tests/auto/quick/qquickloader/data/InitialPropertyValuesComponent.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickloader/data/InitialPropertyValuesComponent.qml b/tests/auto/quick/qquickloader/data/InitialPropertyValuesComponent.qml new file mode 100644 index 0000000000..24c6f7ad91 --- /dev/null +++ b/tests/auto/quick/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 } + } +} |