diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/HRMDPComponent.qml')
| -rw-r--r-- | tests/auto/qml/qqmlecmascript/data/HRMDPComponent.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/HRMDPComponent.qml b/tests/auto/qml/qqmlecmascript/data/HRMDPComponent.qml new file mode 100644 index 0000000000..897fd990ec --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/HRMDPComponent.qml @@ -0,0 +1,15 @@ +import QtQuick 2.0 +import Qt.test.qobjectApi 1.0 as QObjectApi + +Item { + property int variantCanary: 5 + property var varCanary: 12 + + Component.onCompleted: { + QObjectApi.qobjectTestWritableProperty = 42; + } + + Component.onDestruction: { + QObjectApi.qobjectTestWritableProperty = 43; + } +} |
