~loic.molinari/+junk/qtdeclarative-shadereffectsource-changes

« back to all changes in this revision

Viewing changes to tests/auto/qml/v4/data/stringComparison.qml

  • Committer: Loïc Molinari
  • Date: 2012-04-21 17:59:51 UTC
  • Revision ID: loic.molinari@canonical.com-20120421175951-bqx68caaf5zrp76l
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
 
 
3
QtObject {
 
4
    property string string1: "aaba"
 
5
    property string string2: "aa"
 
6
    property string string3: "aaab"
 
7
    property string string4: "c"
 
8
 
 
9
    property bool test1: string1 > string2
 
10
    property bool test2: string2 < string1
 
11
    property bool test3: string1 > string3
 
12
    property bool test4: string3 < string1
 
13
    property bool test5: string1 < string4
 
14
    property bool test6: string4 > string1
 
15
 
 
16
    property bool test7: string1 == "aaba"
 
17
    property bool test8: string1 != "baa"
 
18
    property bool test9: string1 === "aaba"
 
19
    property bool test10: string1 !== "baa"
 
20
    property bool test11: string4 == "c"
 
21
    property bool test12: string4 != "d"
 
22
    property bool test13: string4 === "c"
 
23
    property bool test14: string4 !== "d"
 
24
 
 
25
    property bool test15: string1 >= string2
 
26
    property bool test16: string2 <= string1
 
27
    property bool test17: string1 >= string3
 
28
    property bool test18: string3 <= string1
 
29
    property bool test19: string1 <= string4
 
30
    property bool test20: string4 >= string1
 
31
    property bool test21: string4 <= "c"
 
32
    property bool test22: string4 >= "c"
 
33
}
 
34