diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-10-07 05:18:06 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-10-07 05:18:51 (GMT) |
commit | 07b3465405ccd59dc5c447cffc47cc1a17f674f0 (patch) | |
tree | 7b5d0d535b1a4ae27ea3383b03a5dafed935b19d /tests/auto/declarative/qmlecmascript/data/qmlToString.qml | |
parent | 19d080d319dccac15654294af80530bed9ef11ea (diff) | |
download | Qt-07b3465405ccd59dc5c447cffc47cc1a17f674f0.zip Qt-07b3465405ccd59dc5c447cffc47cc1a17f674f0.tar.gz Qt-07b3465405ccd59dc5c447cffc47cc1a17f674f0.tar.bz2 |
Add three failing tests to the QML ECMAscript autotest
Tests the creation, deletion and toString functions for QML objects.
Task-number: QT-2252
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data/qmlToString.qml')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/qmlToString.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/qmlToString.qml b/tests/auto/declarative/qmlecmascript/data/qmlToString.qml new file mode 100644 index 0000000..ac296ce --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/qmlToString.qml @@ -0,0 +1,11 @@ +import Qt.test 1.0 + +MyQmlObject{ + id: obj + objectName: "objName" + function testToString() + { + obj.stringProperty = obj.toString(); + } + +} |