summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-30 14:10:37 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-30 14:10:37 (GMT)
commitaf0185c11da338c9907ee7ac33266fb474680358 (patch)
tree30c7e854a2f975a5e73ee2c27e8fab90b15eb3f6 /tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
parent3becb116bbbd9f87764cebe6813a254abc291c04 (diff)
parent1441db525dd0f5a3b2f45549cfa4173adac1a877 (diff)
downloadQt-af0185c11da338c9907ee7ac33266fb474680358.zip
Qt-af0185c11da338c9907ee7ac33266fb474680358.tar.gz
Qt-af0185c11da338c9907ee7ac33266fb474680358.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml b/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
new file mode 100644
index 0000000..b9e455d
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
@@ -0,0 +1,17 @@
+import Qt 4.6
+
+QtObject {
+ property bool test1: (a === true)
+ property bool test2: !(a === false)
+ property bool test3: (b === 11.2)
+ property bool test4: !(b === 9)
+ property bool test5: (c === 9)
+ property bool test6: !(c === 13)
+ property bool test7: (d === "Hello world")
+ property bool test8: !(d === "Hi")
+
+ property bool a: true
+ property real b: 11.2
+ property int c: 9
+ property string d: "Hello world"
+}