summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-29 12:27:35 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-29 12:27:35 +1000
commitf5287ee035fe0c218de47b77038b881d9c857110 (patch)
tree1734073aacaaa1b7a0fe0db233a26d1271a3a0f3 /tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml
parentc06769436a081b9f828e7fe85cca20450292689e (diff)
downloadqt4-tools-f5287ee035fe0c218de47b77038b881d9c857110.tar.gz
Suppress transient errors from bindings
If a binding generates > 1 transient error, only the first was being suppressed. QTBUG-10274
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml b/tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml
new file mode 100644
index 0000000000..a36b4c0849
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/transientErrors.2.qml
@@ -0,0 +1,14 @@
+import Qt 4.7
+
+QtObject {
+ id: root
+
+ property variant a: 10
+ property int x: 10
+ property int test: a.x
+
+ Component.onCompleted: {
+ a = 11;
+ a = root;
+ }
+}