diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-10 07:27:55 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-10 07:28:38 (GMT) |
commit | a9d0be15964278b032ab6fc974b514d8f741de48 (patch) | |
tree | eb421d60c119e582491b38574101ecebb7f784ea /tests | |
parent | ae22dc2472f53c0926b01ef390b7fbeeae0d11ad (diff) | |
download | Qt-a9d0be15964278b032ab6fc974b514d8f741de48.zip Qt-a9d0be15964278b032ab6fc974b514d8f741de48.tar.gz Qt-a9d0be15964278b032ab6fc974b514d8f741de48.tar.bz2 |
Missing file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/deletedObject.qml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/deletedObject.qml b/tests/auto/declarative/qmlecmascript/data/deletedObject.qml new file mode 100644 index 0000000..6bc3a17 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/deletedObject.qml @@ -0,0 +1,25 @@ +import Qt 4.6 +import Qt.test 1.0 + +QtObject { + property var obj + obj: MyQmlObject { + id: myObject + value: 92 + } + + property bool test1: false + property bool test2: false + property bool test3: false + property bool test4: false + + Component.onCompleted: { + test1 = myObject.value == 92; + test2 = obj.value == 92; + + myObject.deleteOnSet = 1; + + test3 = myObject.value == undefined; + // test4 = obj.value == undefined; + } +} |