aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes')
-rw-r--r--tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes b/tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes
index 04ca30c184..77ad6a3cef 100644
--- a/tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes
+++ b/tests/auto/qml/qmllint/data/TestTypes/testtypes.qmltypes
@@ -178,4 +178,24 @@ Module {
exportMetaObjectRevisions: [256]
Method { name: "createObject"; isJavaScriptFunction: true }
}
+ Component {
+ file: "variantMapLookup.h"
+ name: "VariantMapLookupFoo"
+ prototype: "QObject"
+ exports: ["TestTypes/VariantMapLookupFoo 1.0"]
+ exportMetaObjectRevisions: [256]
+ Property {
+ name: "data"
+ type: "QVariantMap"
+ read: "data"
+ index: 0
+ }
+ }
+ Component {
+ file: "foo.h"
+ name: "Foo"
+ prototype: "QObject"
+ exports: ["TestTypes/Foo 1.0"]
+ Method { name: "print" }
+ }
}