qt6windows7/tests/auto/testlib/selftests/expected_extendedcompare.tap

1023 lines
40 KiB
Plaintext
Raw Normal View History

2023-10-30 06:33:08 +08:00
TAP version 13
# tst_ExtendedCompare
ok 1 - initTestCase()
ok 2 - compareInts(EQ:left == right)
not ok 3 - compareInts(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 2 (rhs)
found: 1 (lhs)
expected: == 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 4 - compareInts(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1 (rhs)
found: 2 (lhs)
expected: == 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 5 - compareInts(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != 1 (rhs)
found: 1 (lhs)
expected: != 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 6 - compareInts(NE:left < right)
ok 7 - compareInts(NE:left > right)
not ok 8 - compareInts(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 1 (lhs)
expected: < 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 9 - compareInts(LT:left < right)
not ok 10 - compareInts(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 2 (lhs)
expected: < 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 11 - compareInts(LE:left == right)
ok 12 - compareInts(LE:left < right)
not ok 13 - compareInts(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= 1 (rhs)
found: 2 (lhs)
expected: <= 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 14 - compareInts(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1 (rhs)
found: 1 (lhs)
expected: > 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 15 - compareInts(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 2 (rhs)
found: 1 (lhs)
expected: > 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 16 - compareInts(GT:left > right)
ok 17 - compareInts(GE:left == right)
not ok 18 - compareInts(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 2 (rhs)
found: 1 (lhs)
expected: >= 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareInts() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 19 - compareInts(GE:left > right)
ok 20 - compareFloats(EQ:left == right)
not ok 21 - compareFloats(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1.1 (rhs)
found: 1 (lhs)
expected: == 1.1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 22 - compareFloats(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1 (rhs)
found: 1.1 (lhs)
expected: == 1 (rhs)
actual: 1.1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 23 - compareFloats(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != 1 (rhs)
found: 1 (lhs)
expected: != 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 24 - compareFloats(NE:left < right)
ok 25 - compareFloats(NE:left > right)
not ok 26 - compareFloats(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 1 (lhs)
expected: < 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 27 - compareFloats(LT:left < right)
not ok 28 - compareFloats(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 1.1 (lhs)
expected: < 1 (rhs)
actual: 1.1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 29 - compareFloats(LE:left == right)
ok 30 - compareFloats(LE:left < right)
not ok 31 - compareFloats(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= 1 (rhs)
found: 1.1 (lhs)
expected: <= 1 (rhs)
actual: 1.1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 32 - compareFloats(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1 (rhs)
found: 1 (lhs)
expected: > 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 33 - compareFloats(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1.1 (rhs)
found: 1 (lhs)
expected: > 1.1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 34 - compareFloats(GT:left > right)
ok 35 - compareFloats(GE:left == right)
not ok 36 - compareFloats(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 1.1 (rhs)
found: 1 (lhs)
expected: >= 1.1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareFloats() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 37 - compareFloats(GE:left > right)
ok 38 - compareDoubles(EQ:left == right)
not ok 39 - compareDoubles(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 0.1 (rhs)
found: 0 (lhs)
expected: == 0.1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 40 - compareDoubles(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 0 (rhs)
found: 0.1 (lhs)
expected: == 0 (rhs)
actual: 0.1 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 41 - compareDoubles(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != 0 (rhs)
found: 0 (lhs)
expected: != 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 42 - compareDoubles(NE:left < right)
ok 43 - compareDoubles(NE:left > right)
not ok 44 - compareDoubles(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 0 (rhs)
found: 0 (lhs)
expected: < 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 45 - compareDoubles(LT:left < right)
not ok 46 - compareDoubles(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 0 (rhs)
found: 0.1 (lhs)
expected: < 0 (rhs)
actual: 0.1 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 47 - compareDoubles(LE:left == right)
ok 48 - compareDoubles(LE:left < right)
not ok 49 - compareDoubles(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= 0 (rhs)
found: 0.1 (lhs)
expected: <= 0 (rhs)
actual: 0.1 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 50 - compareDoubles(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 0 (rhs)
found: 0 (lhs)
expected: > 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 51 - compareDoubles(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 0.1 (rhs)
found: 0 (lhs)
expected: > 0.1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 52 - compareDoubles(GT:left > right)
ok 53 - compareDoubles(GE:left == right)
not ok 54 - compareDoubles(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 0.1 (rhs)
found: 0 (lhs)
expected: >= 0.1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareDoubles() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 55 - compareDoubles(GE:left > right)
ok 56 - comparePointers(EQ:left == right)
not ok 57 - comparePointers(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 2 (rhs)
found: 1 (lhs)
expected: == 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 58 - comparePointers(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1 (rhs)
found: 2 (lhs)
expected: == 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 59 - comparePointers(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != 1 (rhs)
found: 1 (lhs)
expected: != 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 60 - comparePointers(NE:left < right)
ok 61 - comparePointers(NE:left > right)
not ok 62 - comparePointers(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 1 (lhs)
expected: < 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 63 - comparePointers(LT:left < right)
not ok 64 - comparePointers(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 1 (rhs)
found: 2 (lhs)
expected: < 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 65 - comparePointers(LE:left == right)
ok 66 - comparePointers(LE:left < right)
not ok 67 - comparePointers(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= 1 (rhs)
found: 2 (lhs)
expected: <= 1 (rhs)
actual: 2 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 68 - comparePointers(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1 (rhs)
found: 1 (lhs)
expected: > 1 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 69 - comparePointers(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 2 (rhs)
found: 1 (lhs)
expected: > 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 70 - comparePointers(GT:left > right)
ok 71 - comparePointers(GE:left == right)
not ok 72 - comparePointers(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 2 (rhs)
found: 1 (lhs)
expected: >= 2 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::comparePointers() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 73 - comparePointers(GE:left > right)
ok 74 - compareToNullptr(EQ:left == right)
not ok 75 - compareToNullptr(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1 (rhs)
found: "nullptr" (lhs)
expected: == 1 (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 76 - compareToNullptr(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == "nullptr" (rhs)
found: 1 (lhs)
expected: == "nullptr" (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 77 - compareToNullptr(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != "nullptr" (rhs)
found: "nullptr" (lhs)
expected: != "nullptr" (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 78 - compareToNullptr(NE:left < right)
ok 79 - compareToNullptr(NE:left > right)
not ok 80 - compareToNullptr(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < "nullptr" (rhs)
found: "nullptr" (lhs)
expected: < "nullptr" (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 81 - compareToNullptr(LT:left < right)
not ok 82 - compareToNullptr(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < "nullptr" (rhs)
found: 1 (lhs)
expected: < "nullptr" (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 83 - compareToNullptr(LE:left == right)
ok 84 - compareToNullptr(LE:left < right)
not ok 85 - compareToNullptr(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= "nullptr" (rhs)
found: 1 (lhs)
expected: <= "nullptr" (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 86 - compareToNullptr(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > "nullptr" (rhs)
found: "nullptr" (lhs)
expected: > "nullptr" (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 87 - compareToNullptr(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1 (rhs)
found: "nullptr" (lhs)
expected: > 1 (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 88 - compareToNullptr(GT:left > right)
ok 89 - compareToNullptr(GE:left == right)
not ok 90 - compareToNullptr(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 1 (rhs)
found: "nullptr" (lhs)
expected: >= 1 (rhs)
actual: "nullptr" (lhs)
at: tst_ExtendedCompare::compareToNullptr() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 91 - compareToNullptr(GE:left > right)
ok 92 - compareUnregistereEnum(EQ:left == right)
not ok 93 - compareUnregistereEnum(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 1 (rhs)
found: 0 (lhs)
expected: == 1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 94 - compareUnregistereEnum(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == 0 (rhs)
found: 1 (lhs)
expected: == 0 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 95 - compareUnregistereEnum(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != 0 (rhs)
found: 0 (lhs)
expected: != 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 96 - compareUnregistereEnum(NE:left < right)
ok 97 - compareUnregistereEnum(NE:left > right)
not ok 98 - compareUnregistereEnum(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 0 (rhs)
found: 0 (lhs)
expected: < 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 99 - compareUnregistereEnum(LT:left < right)
not ok 100 - compareUnregistereEnum(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < 0 (rhs)
found: 1 (lhs)
expected: < 0 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 101 - compareUnregistereEnum(LE:left == right)
ok 102 - compareUnregistereEnum(LE:left < right)
not ok 103 - compareUnregistereEnum(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= 0 (rhs)
found: 1 (lhs)
expected: <= 0 (rhs)
actual: 1 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 104 - compareUnregistereEnum(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 0 (rhs)
found: 0 (lhs)
expected: > 0 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 105 - compareUnregistereEnum(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > 1 (rhs)
found: 0 (lhs)
expected: > 1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 106 - compareUnregistereEnum(GT:left > right)
ok 107 - compareUnregistereEnum(GE:left == right)
not ok 108 - compareUnregistereEnum(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= 1 (rhs)
found: 0 (lhs)
expected: >= 1 (rhs)
actual: 0 (lhs)
at: tst_ExtendedCompare::compareUnregistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 109 - compareUnregistereEnum(GE:left > right)
ok 110 - compareRegistereEnum(EQ:left == right)
not ok 111 - compareRegistereEnum(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == Sunday (rhs)
found: Monday (lhs)
expected: == Sunday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 112 - compareRegistereEnum(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == Monday (rhs)
found: Sunday (lhs)
expected: == Monday (rhs)
actual: Sunday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 113 - compareRegistereEnum(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != Monday (rhs)
found: Monday (lhs)
expected: != Monday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 114 - compareRegistereEnum(NE:left < right)
ok 115 - compareRegistereEnum(NE:left > right)
not ok 116 - compareRegistereEnum(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < Monday (rhs)
found: Monday (lhs)
expected: < Monday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 117 - compareRegistereEnum(LT:left < right)
not ok 118 - compareRegistereEnum(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < Monday (rhs)
found: Sunday (lhs)
expected: < Monday (rhs)
actual: Sunday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 119 - compareRegistereEnum(LE:left == right)
ok 120 - compareRegistereEnum(LE:left < right)
not ok 121 - compareRegistereEnum(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= Monday (rhs)
found: Sunday (lhs)
expected: <= Monday (rhs)
actual: Sunday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 122 - compareRegistereEnum(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > Monday (rhs)
found: Monday (lhs)
expected: > Monday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 123 - compareRegistereEnum(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > Sunday (rhs)
found: Monday (lhs)
expected: > Sunday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 124 - compareRegistereEnum(GT:left > right)
ok 125 - compareRegistereEnum(GE:left == right)
not ok 126 - compareRegistereEnum(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= Sunday (rhs)
found: Monday (lhs)
expected: >= Sunday (rhs)
actual: Monday (lhs)
at: tst_ExtendedCompare::compareRegistereEnum() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 127 - compareRegistereEnum(GE:left > right)
ok 128 - compareCustomTypes(EQ:left == right)
not ok 129 - compareCustomTypes(EQ:left < right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == MyClass(2) (rhs)
found: MyClass(1) (lhs)
expected: == MyClass(2) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 130 - compareCustomTypes(EQ:left > right)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == MyClass(1) (rhs)
found: MyClass(2) (lhs)
expected: == MyClass(1) (rhs)
actual: MyClass(2) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 131 - compareCustomTypes(NE:left == right)
---
type: QCOMPARE_NE
message: Left value is expected to be different from right value, but is not
wanted: != MyClass(1) (rhs)
found: MyClass(1) (lhs)
expected: != MyClass(1) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 132 - compareCustomTypes(NE:left < right)
ok 133 - compareCustomTypes(NE:left > right)
not ok 134 - compareCustomTypes(LT:left == right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < MyClass(1) (rhs)
found: MyClass(1) (lhs)
expected: < MyClass(1) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 135 - compareCustomTypes(LT:left < right)
not ok 136 - compareCustomTypes(LT:left > right)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < MyClass(1) (rhs)
found: MyClass(2) (lhs)
expected: < MyClass(1) (rhs)
actual: MyClass(2) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 137 - compareCustomTypes(LE:left == right)
ok 138 - compareCustomTypes(LE:left < right)
not ok 139 - compareCustomTypes(LE:left > right)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= MyClass(1) (rhs)
found: MyClass(2) (lhs)
expected: <= MyClass(1) (rhs)
actual: MyClass(2) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 140 - compareCustomTypes(GT:left == right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > MyClass(1) (rhs)
found: MyClass(1) (lhs)
expected: > MyClass(1) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 141 - compareCustomTypes(GT:left < right)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > MyClass(2) (rhs)
found: MyClass(1) (lhs)
expected: > MyClass(2) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 142 - compareCustomTypes(GT:left > right)
ok 143 - compareCustomTypes(GE:left == right)
not ok 144 - compareCustomTypes(GE:left < right)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= MyClass(2) (rhs)
found: MyClass(1) (lhs)
expected: >= MyClass(2) (rhs)
actual: MyClass(1) (lhs)
at: tst_ExtendedCompare::compareCustomTypes() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 145 - compareCustomTypes(GE:left > right)
not ok 146 - checkComparisonForTemporaryObjects(EQ)
---
type: QCOMPARE_EQ
message: Left value is expected to be equal to right value, but is not
wanted: == MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
found: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
expected: == MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
actual: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
at: tst_ExtendedCompare::checkComparisonForTemporaryObjects() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 147 - checkComparisonForTemporaryObjects(NE)
ok 148 - checkComparisonForTemporaryObjects(LT)
ok 149 - checkComparisonForTemporaryObjects(LE)
not ok 150 - checkComparisonForTemporaryObjects(GT)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
found: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
expected: > MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
actual: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
at: tst_ExtendedCompare::checkComparisonForTemporaryObjects() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 151 - checkComparisonForTemporaryObjects(GE)
---
type: QCOMPARE_GE
message: Left value is expected to be greater than or equal to right value, but is not
wanted: >= MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
found: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
expected: >= MyClass(1) on memory address with index 1 (getClassForValue(1).getValuePointer())
actual: MyClass(2) on memory address with index 0 (getClassForValue(0).getValuePointer())
at: tst_ExtendedCompare::checkComparisonForTemporaryObjects() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 152 - checkComparisonWithTimeout(EQ)
ok 153 - checkComparisonWithTimeout(NE)
not ok 154 - checkComparisonWithTimeout(LT)
---
type: QCOMPARE_LT
message: Left value is expected to be less than right value, but is not
wanted: < ClassWithDeferredSetter(0) (ClassWithDeferredSetter(0))
found: ClassWithDeferredSetter(1) (c)
expected: < ClassWithDeferredSetter(0) (ClassWithDeferredSetter(0))
actual: ClassWithDeferredSetter(1) (c)
at: tst_ExtendedCompare::checkComparisonWithTimeout() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 155 - checkComparisonWithTimeout(LE)
---
type: QCOMPARE_LE
message: Left value is expected to be less than or equal to right value, but is not
wanted: <= ClassWithDeferredSetter(-1) (ClassWithDeferredSetter(-1))
found: ClassWithDeferredSetter(1) (c)
expected: <= ClassWithDeferredSetter(-1) (ClassWithDeferredSetter(-1))
actual: ClassWithDeferredSetter(1) (c)
at: tst_ExtendedCompare::checkComparisonWithTimeout() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
not ok 156 - checkComparisonWithTimeout(GT)
---
type: QCOMPARE_GT
message: Left value is expected to be greater than right value, but is not
wanted: > ClassWithDeferredSetter(1) (ClassWithDeferredSetter(1))
found: ClassWithDeferredSetter(1) (c)
expected: > ClassWithDeferredSetter(1) (ClassWithDeferredSetter(1))
actual: ClassWithDeferredSetter(1) (c)
at: tst_ExtendedCompare::checkComparisonWithTimeout() (qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp:0)
file: qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp
line: 0
...
ok 157 - checkComparisonWithTimeout(GE)
ok 158 - cleanupTestCase()
1..158
# tests 158
# pass 80
# fail 78