summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-04 08:22:49 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-04 08:23:30 (GMT)
commit83cbbd6c4c9ff2f00651c31af0d52845b2e98390 (patch)
treeee347a5dcdd4b0b13aa4010ca2b9fc7386609263 /tests/auto/declarative/qdeclarativeecmascript/data
parent0a6401da552805d2e3f3ca228153d66590d3a142 (diff)
downloadQt-83cbbd6c4c9ff2f00651c31af0d52845b2e98390.zip
Qt-83cbbd6c4c9ff2f00651c31af0d52845b2e98390.tar.gz
Qt-83cbbd6c4c9ff2f00651c31af0d52845b2e98390.tar.bz2
Add testcase for QTBUG-7730
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/scope.4.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/scope.4.qml b/tests/auto/declarative/qdeclarativeecmascript/data/scope.4.qml
new file mode 100644
index 0000000..d65b6e7
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/scope.4.qml
@@ -0,0 +1,12 @@
+import Qt.test 1.0
+
+MyQmlObject {
+ id: a
+ property int b: 9
+
+ property int test
+ property string test2
+
+ // Should resolve to signal arguments, not to other elements in the file
+ onArgumentSignal: { test = a; test2 = b; }
+}