aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@qt.io>2017-04-05 14:43:40 +0200
committerMarco Benelli <marco.benelli@qt.io>2018-04-27 08:27:03 +0000
commit9678ea57554ccc9085ef97d7b8985731873b345f (patch)
treec3cfe174ce38c846ffd7320cec7dfddd8c6d31bb /tests
parent1dbdd259bee717688a37812fa576b36585305b32 (diff)
QmlJs: add test for code model
Change-Id: I3e60274dcce578a170e12d44533e6f83e77d448a Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/codemodel/check/properties.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/codemodel/check/properties.qml b/tests/auto/qml/codemodel/check/properties.qml
new file mode 100644
index 0000000000..5d2b0a6882
--- /dev/null
+++ b/tests/auto/qml/codemodel/check/properties.qml
@@ -0,0 +1,10 @@
+import QtQuick 1.0
+
+Item {
+ property int width: 200
+ property int height: 200
+ property string name
+ property color someColor
+ property Rectangle someRectangle
+ default property list<QtObject> foo
+}