diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 07:21:40 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 07:23:01 (GMT) |
commit | be8a7153d613586d69ac528153a6b8ccbe931aa6 (patch) | |
tree | 56faa5dbcce91cbf6557c2f4187f583a8ffc5491 /tests/auto/declarative/qdeclarativeecmascript/data | |
parent | 3baf285917e2ea3183866768807f2495010602ab (diff) | |
download | Qt-be8a7153d613586d69ac528153a6b8ccbe931aa6.zip Qt-be8a7153d613586d69ac528153a6b8ccbe931aa6.tar.gz Qt-be8a7153d613586d69ac528153a6b8ccbe931aa6.tar.bz2 |
Make string -> int conversion consistent in bindings
QTBUG-9538
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/numberAssignment.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/numberAssignment.qml b/tests/auto/declarative/qdeclarativeecmascript/data/numberAssignment.qml new file mode 100644 index 0000000..30a77e8 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeecmascript/data/numberAssignment.qml @@ -0,0 +1,18 @@ +import Qt.test 1.0 + +NumberAssignment { + test1: if (1) 6.7 + test2: if (1) "6.7" + test3: if (1) 6 + test4: if (1) "6" + + test5: if (1) 6.7 + test6: if (1) "6.7" + test7: if (1) 6 + test8: if (1) "6" + + test9: if (1) 6.7 + test10: if (1) "6.7" + test11: if (1) 6 + test12: if (1) "6" +} |