diff options
Diffstat (limited to 'tests/auto/qml/v4/data/stringComparison.qml')
-rw-r--r-- | tests/auto/qml/v4/data/stringComparison.qml | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/tests/auto/qml/v4/data/stringComparison.qml b/tests/auto/qml/v4/data/stringComparison.qml index 64b6798c69..d9eab5389e 100644 --- a/tests/auto/qml/v4/data/stringComparison.qml +++ b/tests/auto/qml/v4/data/stringComparison.qml @@ -5,6 +5,7 @@ QtObject { property string string2: "aa" property string string3: "aaab" property string string4: "c" + property string string5: string2 + string4 property bool test1: string1 > string2 property bool test2: string2 < string1 @@ -12,23 +13,29 @@ QtObject { property bool test4: string3 < string1 property bool test5: string1 < string4 property bool test6: string4 > string1 + property bool test7: string1 < string5 + property bool test8: string5 > string1 - property bool test7: string1 == "aaba" - property bool test8: string1 != "baa" - property bool test9: string1 === "aaba" - property bool test10: string1 !== "baa" - property bool test11: string4 == "c" - property bool test12: string4 != "d" - property bool test13: string4 === "c" - property bool test14: string4 !== "d" + property bool test9: string1 == "aaba" + property bool test10: string1 != "baa" + property bool test11: string1 === "aaba" + property bool test12: string1 !== "baa" + property bool test13: string4 == "c" + property bool test14: string4 != "d" + property bool test15: string4 === "c" + property bool test16: string4 !== "d" + property bool test17: string5 === "aac" + property bool test18: string5 !== "aad" - property bool test15: string1 >= string2 - property bool test16: string2 <= string1 - property bool test17: string1 >= string3 - property bool test18: string3 <= string1 - property bool test19: string1 <= string4 - property bool test20: string4 >= string1 - property bool test21: string4 <= "c" - property bool test22: string4 >= "c" + property bool test19: string1 >= string2 + property bool test20: string2 <= string1 + property bool test21: string1 >= string3 + property bool test22: string3 <= string1 + property bool test23: string1 <= string4 + property bool test24: string4 >= string1 + property bool test25: string4 <= "c" + property bool test26: string4 >= "c" + property bool test27: string5 <= "aac" + property bool test28: string5 >= "aac" } |