aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml')
-rw-r--r--tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml b/tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml
new file mode 100644
index 0000000000..a441885bb7
--- /dev/null
+++ b/tests/auto/qmldom/domdata/reformatter/noMergeReformatted.qml
@@ -0,0 +1,33 @@
+import QtQuick
+
+Item {
+ property list<Item> array: [
+ Item {
+ },
+ Item {
+ nr: 2
+ }
+ ]
+ property var array2: [1, 2, 3]
+ property var arrayNoMerge
+ default property list<Item> nonMergeable
+ property list<Item> singleObjList
+
+ arrayNoMerge: [
+ Item {
+ },
+ Item {
+ nr: 2
+ }
+ ]
+ nonMergeable: [
+ Item {
+ },
+ Item {
+ nr: "II"
+ }
+ ]
+ singleObjList: Item {
+ el: "alone"
+ }
+}