aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml')
-rw-r--r--tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml b/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
deleted file mode 100644
index ffe417ae2a..0000000000
--- a/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
+++ /dev/null
@@ -1,20 +0,0 @@
-import QtQuick 1.0
-
-ListModel {
- id: model
- property bool ok : false
-
- Component.onCompleted: {
- model.append({"attrs": []})
- model.get(0)
- model.set(0, {"attrs": [{'abc': 123, 'def': 456}] } )
- ok = ( model.get(0).attrs.get(0).abc == 123
- && model.get(0).attrs.get(0).def == 456 )
-
- model.set(0, {"attrs": [{'abc': 789, 'def': 101}] } )
- ok = ( model.get(0).attrs.get(0).abc == 789
- && model.get(0).attrs.get(0).def == 101 )
-
- }
-}
-