12 Component.onCompleted: {
13 test1 = (root.resources.length >= 3)
14 test2 = root.resources[0] == item1
15 test3 = root.resources[1] == item2
16 test4 = root.resources[2] == item3
17 test5 = root.resources[10] == null
20 resources: [ Item { id: item1 }, Item { id: item2 }, Item { id: item3 } ]