Fix test fails related to QTBUG-22237
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquickloader / data / initialPropertyValues.binding.qml
1 import QtQuick 2.0
2
3 Item {
4     id: root
5
6     property InitialPropertyValuesComponent testInstance
7     testInstance: loader.item
8
9     property int bindable:  1
10     property int canaryValue: testInstance.canary
11     property int behaviorCount: testInstance.behaviorCount
12
13     Loader {
14         id: loader
15         objectName: "loader"
16     }
17
18     Component.onCompleted: {
19         loader.setSource("InitialPropertyValuesComponent.qml", {"canary": (function() { return root.bindable })});
20     }
21 }