diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-09-01 01:54:14 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-09-01 01:54:14 (GMT) |
commit | ce698d243f31d2b9adcdf2b6b40f5844c200b159 (patch) | |
tree | 6e1704313de68bb0fa31ff5a975662a458bf95ad /tests/auto/declarative/qdeclarativeecmascript/data | |
parent | b8cca95c0395369cdfb17c198aff085badcddd94 (diff) | |
download | Qt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.zip Qt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.tar.gz Qt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.tar.bz2 |
Support JS "in" operator on QML objects
QTBUG-12837
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/in.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/in.qml b/tests/auto/declarative/qdeclarativeecmascript/data/in.qml new file mode 100644 index 0000000..0b5b0ba --- /dev/null +++ b/tests/auto/declarative/qdeclarativeecmascript/data/in.qml @@ -0,0 +1,7 @@ +import Qt 4.7 + +Item { + id: root + property bool test1: "x" in root + property bool test2: !("foo" in root) +} |