aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-07-16 15:35:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-17 07:36:45 +0200
commit3a67542e06d15386af10056caface835ed8b8e48 (patch)
treefb41d180aa3827cd0e1e56a437a0f92908c3b301 /tests/auto/qml/qqmllanguage/data
parent184cf0e8f86e324016dd9c78a36e333d2d48cb96 (diff)
Forward port auto test for fix in QtQuick1
This is the auto-test part of https://codereview.qt-project.org/#change,61117 The test passes as-is but we should forward the fix to ensure that we don't regress. Change-Id: Ief8fcfc29d671f33cd1b2c3bab7acfd4fcd1df2b Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data')
-rw-r--r--tests/auto/qml/qqmllanguage/data/DeepComponent.qml7
-rw-r--r--tests/auto/qml/qqmllanguage/data/deepProperty.qml4
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/DeepComponent.qml b/tests/auto/qml/qqmllanguage/data/DeepComponent.qml
new file mode 100644
index 0000000000..893c358dbe
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/DeepComponent.qml
@@ -0,0 +1,7 @@
+import QtQuick 2.0
+Item {
+ property alias someObject: text
+ Text {
+ id: text
+ }
+}
diff --git a/tests/auto/qml/qqmllanguage/data/deepProperty.qml b/tests/auto/qml/qqmllanguage/data/deepProperty.qml
new file mode 100644
index 0000000000..b3c7f68640
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/deepProperty.qml
@@ -0,0 +1,4 @@
+import QtQuick 2.0
+DeepComponent {
+ someObject.font.family: "test"
+}