aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/OldQmltypes/plugins.qmltypes8
-rw-r--r--tests/auto/qml/qmllint/data/OldQmltypes/qmldir2
-rw-r--r--tests/auto/qml/qmllint/data/Things/qmldir2
-rw-r--r--tests/auto/qml/qmllint/data/oldQmltypes.qml4
4 files changed, 15 insertions, 1 deletions
diff --git a/tests/auto/qml/qmllint/data/OldQmltypes/plugins.qmltypes b/tests/auto/qml/qmllint/data/OldQmltypes/plugins.qmltypes
new file mode 100644
index 0000000000..eab91f6723
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/OldQmltypes/plugins.qmltypes
@@ -0,0 +1,8 @@
+import QtQuick.tooling 1.2
+Module {
+ Component {
+ name: "Frame"
+ exports: ["OldQmltypes/Frame 1.0"]
+ exportMetaObjectRevisions: [0]
+ }
+}
diff --git a/tests/auto/qml/qmllint/data/OldQmltypes/qmldir b/tests/auto/qml/qmllint/data/OldQmltypes/qmldir
new file mode 100644
index 0000000000..374a533bbc
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/OldQmltypes/qmldir
@@ -0,0 +1,2 @@
+module OldQmltypes
+plugin foobar
diff --git a/tests/auto/qml/qmllint/data/Things/qmldir b/tests/auto/qml/qmllint/data/Things/qmldir
index d91d4afc92..554f75d313 100644
--- a/tests/auto/qml/qmllint/data/Things/qmldir
+++ b/tests/auto/qml/qmllint/data/Things/qmldir
@@ -1,5 +1,5 @@
module Things
Something 1.0 SomethingElse.qml
-plugin doesNotExistPlugin
+typeinfo plugins.qmltypes
depends QtQuick 2.0
import QtQml
diff --git a/tests/auto/qml/qmllint/data/oldQmltypes.qml b/tests/auto/qml/qmllint/data/oldQmltypes.qml
new file mode 100644
index 0000000000..f33d4d90fe
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/oldQmltypes.qml
@@ -0,0 +1,4 @@
+import OldQmltypes 1.0
+
+Frame {
+}