aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dijit/tests/_data/treeTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dijit/tests/_data/treeTest.json')
-rw-r--r--includes/js/dijit/tests/_data/treeTest.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/includes/js/dijit/tests/_data/treeTest.json b/includes/js/dijit/tests/_data/treeTest.json
new file mode 100644
index 0000000..c90a110
--- /dev/null
+++ b/includes/js/dijit/tests/_data/treeTest.json
@@ -0,0 +1,22 @@
+{
+ identifier: 'id',
+ label: 'name',
+ items: [
+ { id: 'root', name:'root', someProperty:'root property', children: [
+ {_reference:'node1'},
+ {_reference:'node2'},
+ {_reference:'node3'},
+ {_reference:'node4'},
+ {_reference:'node5'}
+ ]},
+ { id: 'node1', name:'node1', someProperty:'somePropertyA', children: [
+ {_reference:'node1.1'}, {_reference:'node1.2'}
+ ]},
+ { id: 'node1.1',name:'node1.1', someProperty:'somePropertyA1'},
+ { id: 'node1.2',name:'node1.2', someProperty:'somePropertyA2'},
+ { id: 'node2', name:'node2', someProperty:'somePropertyB'},
+ { id: 'node3', name:'node3', someProperty:'somePropertyC'},
+ { id: 'node4', name:'node4', someProperty:'somePropertyA'},
+ { id: 'node5', name:'node5', someProperty:'somePropertyB'}
+ ]
+}