aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarBaseItem.qml5
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.10.qml8
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarBaseItem.qml b/tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarBaseItem.qml
new file mode 100644
index 0000000000..5f28833fe7
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarBaseItem.qml
@@ -0,0 +1,5 @@
+import QtQuick 2.0
+
+Item {
+ property var random: null
+}
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.10.qml b/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.10.qml
new file mode 100644
index 0000000000..ac7f2bed57
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.10.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.0
+
+PropertyVarBaseItem {
+ property bool test: false
+ Component.onCompleted: {
+ test = true;
+ }
+}