aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmllistmodel/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmllistmodel/data')
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/empty.xml0
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml2
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml1
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml1
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml1
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml1
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml1
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml2
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml2
-rw-r--r--tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml1
10 files changed, 9 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/empty.xml b/tests/auto/declarative/qdeclarativexmllistmodel/data/empty.xml
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/empty.xml
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml
index 2466c031ab..509da7174b 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "model.xml"
@@ -58,4 +59,3 @@ XmlListModel {
postTest = true;
}
}
-
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml
index bf47f43567..2df3927479 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "model.xml"
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml
index cc05b7c665..f8a97bffc3 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "model.xml"
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml
index 3834cccf1d..dc609e95e3 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "recipes.xml"
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml
index 50b8c0db49..6a7059bb45 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
id: model
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml
index c86a3720ad..91664b6d4a 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "model.xml"
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml
index 74eca3edcf..9f667d86e5 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
query: "/data/item"
@@ -10,4 +11,3 @@ XmlListModel {
nameRole.isKey = false;
}
}
-
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml
index 1f987e0781..5ec1ffa35f 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml
@@ -1,8 +1,8 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
query: "/data"
XmlRole { name: "stringValue"; query: "a-string/string()" }
XmlRole { name: "numberValue"; query: "a-number/number()" }
}
-
diff --git a/tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml b/tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml
index e4ed533d4e..322a2e4e5c 100644
--- a/tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml
+++ b/tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
XmlListModel {
source: "model.xml"