2018-03-01 16:06:23 +00:00
|
|
|
TAP version 13
|
|
|
|
# tst_Cmptest
|
|
|
|
ok 1 - initTestCase()
|
|
|
|
not ok 2 - compare_unregistered_enums()
|
|
|
|
---
|
2020-12-15 12:18:39 +00:00
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: 1 (MyUnregisteredEnumValue2)
|
|
|
|
found: 0 (MyUnregisteredEnumValue1)
|
|
|
|
expected: 1 (MyUnregisteredEnumValue2)
|
|
|
|
actual: 0 (MyUnregisteredEnumValue1)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_unregistered_enums() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 3 - compare_registered_enums()
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: Sunday (Qt::Sunday)
|
|
|
|
found: Monday (Qt::Monday)
|
|
|
|
expected: Sunday (Qt::Sunday)
|
|
|
|
actual: Monday (Qt::Monday)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_registered_enums() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 4 - compare_class_enums()
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: MyClassEnumValue2 (MyClassEnum::MyClassEnumValue2)
|
|
|
|
found: MyClassEnumValue1 (MyClassEnum::MyClassEnumValue1)
|
|
|
|
expected: MyClassEnumValue2 (MyClassEnum::MyClassEnumValue2)
|
|
|
|
actual: MyClassEnumValue1 (MyClassEnum::MyClassEnumValue1)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_class_enums() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
ok 5 - test_windowflags(pass)
|
|
|
|
not ok 6 - test_windowflags(fail1)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: Window|FramelessWindowHint|WindowSystemMenuHint|WindowStaysOnBottomHint (expectedWindowFlags)
|
|
|
|
found: Window|WindowSystemMenuHint|WindowStaysOnBottomHint (actualWindowFlags)
|
|
|
|
expected: Window|FramelessWindowHint|WindowSystemMenuHint|WindowStaysOnBottomHint (expectedWindowFlags)
|
|
|
|
actual: Window|WindowSystemMenuHint|WindowStaysOnBottomHint (actualWindowFlags)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::test_windowflags() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 7 - test_windowflags(fail2)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: Window|FramelessWindowHint (expectedWindowFlags)
|
|
|
|
found: Window (actualWindowFlags)
|
|
|
|
expected: Window|FramelessWindowHint (expectedWindowFlags)
|
|
|
|
actual: Window (actualWindowFlags)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::test_windowflags() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
ok 8 - test_unregistered_flags(pass)
|
|
|
|
not ok 9 - test_unregistered_flags(fail1)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: 0x5 (expectedFlags)
|
|
|
|
found: 0x3 (actualFlags)
|
|
|
|
expected: 0x5 (expectedFlags)
|
|
|
|
actual: 0x3 (actualFlags)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::test_unregistered_flags() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 10 - test_unregistered_flags(fail2)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: 0x5 (expectedFlags)
|
|
|
|
found: 0x1 (actualFlags)
|
|
|
|
expected: 0x5 (expectedFlags)
|
|
|
|
actual: 0x1 (actualFlags)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::test_unregistered_flags() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
ok 11 - compare_boolfuncs()
|
|
|
|
ok 12 - compare_to_nullptr()
|
|
|
|
ok 13 - compare_pointerfuncs()
|
|
|
|
not ok 14 - compare_tostring(int, string)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVariant(QString,hi) (expected)
|
|
|
|
found: QVariant(int,123) (actual)
|
|
|
|
expected: QVariant(QString,hi) (expected)
|
|
|
|
actual: QVariant(int,123) (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_tostring() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
ok 15 - compare_tostring(both invalid)
|
|
|
|
not ok 16 - compare_tostring(null hash, invalid)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVariant() (expected)
|
|
|
|
found: QVariant(QVariantHash) (actual)
|
|
|
|
expected: QVariant() (expected)
|
|
|
|
actual: QVariant(QVariantHash) (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_tostring() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 17 - compare_tostring(string, null user type)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVariant(PhonyClass) (expected)
|
|
|
|
found: QVariant(QString,A simple string) (actual)
|
|
|
|
expected: QVariant(PhonyClass) (expected)
|
|
|
|
actual: QVariant(QString,A simple string) (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_tostring() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
not ok 18 - compare_tostring(both non-null user type)
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVariant(PhonyClass,<value not representable as string>) (expected)
|
|
|
|
found: QVariant(PhonyClass,<value not representable as string>) (actual)
|
|
|
|
expected: QVariant(PhonyClass,<value not representable as string>) (expected)
|
|
|
|
actual: QVariant(PhonyClass,<value not representable as string>) (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compare_tostring() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 19 - compareQObjects()
|
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QObject pointers are not the same
|
|
|
|
wanted: QObject/"object2" (&object2)
|
|
|
|
found: QObject/"object1" (&object1)
|
|
|
|
expected: QObject/"object2" (&object2)
|
|
|
|
actual: QObject/"object1" (&object1)
|
|
|
|
at: tst_Cmptest::compareQObjects() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
|
|
|
ok 20 - compareQStringLists(empty lists)
|
|
|
|
ok 21 - compareQStringLists(equal lists)
|
|
|
|
not ok 22 - compareQStringLists(last item different)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 2.
|
|
|
|
wanted: "DIFFERS" (opB)
|
|
|
|
found: "string3" (opA)
|
|
|
|
expected: "DIFFERS" (opB)
|
|
|
|
actual: "string3" (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQStringLists() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 23 - compareQStringLists(second-last item different)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 2.
|
|
|
|
wanted: "DIFFERS" (opB)
|
|
|
|
found: "string3" (opA)
|
|
|
|
expected: "DIFFERS" (opB)
|
|
|
|
actual: "string3" (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQStringLists() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 24 - compareQStringLists(prefix)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (opA) size: 2
|
|
|
|
Expected (opB) size: 1
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQStringLists() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 25 - compareQStringLists(short list second)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (opA) size: 12
|
|
|
|
Expected (opB) size: 1
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQStringLists() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 26 - compareQStringLists(short list first)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (opA) size: 1
|
|
|
|
Expected (opB) size: 12
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQStringLists() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 27 - compareQListInt(match)
|
|
|
|
not ok 28 - compareQListInt(size mismatch)
|
2020-07-10 09:41:33 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (expected) size: 3
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListInt() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2020-07-10 09:41:33 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2020-07-10 09:41:33 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 29 - compareQListInt(value mismatch)
|
2020-07-10 09:41:33 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 2.
|
|
|
|
wanted: 3 (expected)
|
|
|
|
found: 4 (actual)
|
|
|
|
expected: 3 (expected)
|
|
|
|
actual: 4 (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListInt() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2020-07-10 09:41:33 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2020-07-10 09:41:33 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 30 - compareQListIntToArray(match)
|
|
|
|
not ok 31 - compareQListIntToArray(size mismatch)
|
2020-07-10 09:41:33 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (expected) size: 3
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListIntToArray() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2020-07-10 09:41:33 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2020-07-10 09:41:33 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 32 - compareQListIntToArray(value mismatch)
|
2020-07-10 09:41:33 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 2.
|
|
|
|
wanted: 3 (expected)
|
|
|
|
found: 4 (actual)
|
|
|
|
expected: 3 (expected)
|
|
|
|
actual: 4 (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListIntToArray() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2020-07-10 09:41:33 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2020-07-10 09:41:33 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 33 - compareQListIntToInitializerList(match)
|
|
|
|
not ok 34 - compareQListIntToInitializerList(size mismatch)
|
2020-07-10 09:41:33 +00:00
|
|
|
---
|
|
|
|
# Compared lists have different sizes.
|
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (ARG({1, 2, 3})) size: 3
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListIntToInitializerList() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2020-07-10 09:41:33 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2020-07-10 09:41:33 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 35 - compareQListIntToInitializerList(value mismatch)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 2.
|
2020-07-10 09:41:33 +00:00
|
|
|
wanted: 3 (ARG({1, 2, 3}))
|
|
|
|
found: 4 (actual)
|
|
|
|
expected: 3 (ARG({1, 2, 3}))
|
|
|
|
actual: 4 (actual)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListIntToInitializerList() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 36 - compareQListDouble()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared lists differ at index 0.
|
|
|
|
wanted: 1 (double2)
|
|
|
|
found: 1.5 (double1)
|
|
|
|
expected: 1 (double2)
|
|
|
|
actual: 1.5 (double1)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQListDouble() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 37 - compareQColor(Qt::yellow vs "yellow")
|
|
|
|
not ok 38 - compareQColor(Qt::yellow vs Qt::green)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: #ff00ff00 (colorB)
|
|
|
|
found: #ffffff00 (colorA)
|
|
|
|
expected: #ff00ff00 (colorB)
|
|
|
|
actual: #ffffff00 (colorA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQColor() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 39 - compareQColor(0x88ff0000 vs 0xffff0000)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: #ffff0000 (colorB)
|
|
|
|
found: #88ff0000 (colorA)
|
|
|
|
expected: #ffff0000 (colorB)
|
|
|
|
actual: #88ff0000 (colorA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQColor() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 40 - compareQPixmaps(both null)
|
|
|
|
not ok 41 - compareQPixmaps(one null)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QPixmaps differ.
|
|
|
|
wanted: 0 (opB).isNull()
|
|
|
|
found: 1 (opA).isNull()
|
|
|
|
expected: 0 (opB).isNull()
|
|
|
|
actual: 1 (opA).isNull()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQPixmaps() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 42 - compareQPixmaps(other null)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QPixmaps differ.
|
|
|
|
wanted: 1 (opB).isNull()
|
|
|
|
found: 0 (opA).isNull()
|
|
|
|
expected: 1 (opB).isNull()
|
|
|
|
actual: 0 (opA).isNull()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQPixmaps() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 43 - compareQPixmaps(equal)
|
|
|
|
not ok 44 - compareQPixmaps(different size)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QPixmaps differ in size.
|
|
|
|
wanted: 20x20 (opB)
|
|
|
|
found: 11x20 (opA)
|
|
|
|
expected: 20x20 (opB)
|
|
|
|
actual: 11x20 (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQPixmaps() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 45 - compareQPixmaps(different pixels)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
# Compared values are not the same
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQPixmaps() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 46 - compareQPixmaps(different dpr)
|
2019-05-29 11:18:14 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QPixmaps differ in device pixel ratio.
|
|
|
|
wanted: 2 (opB)
|
|
|
|
found: 1 (opA)
|
|
|
|
expected: 2 (opB)
|
|
|
|
actual: 1 (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQPixmaps() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2019-05-29 11:18:14 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2019-05-29 11:18:14 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 47 - compareQImages(both null)
|
|
|
|
not ok 48 - compareQImages(one null)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QImages differ.
|
|
|
|
wanted: 0 (opB).isNull()
|
|
|
|
found: 1 (opA).isNull()
|
|
|
|
expected: 0 (opB).isNull()
|
|
|
|
actual: 1 (opA).isNull()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 49 - compareQImages(other null)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QImages differ.
|
|
|
|
wanted: 1 (opB).isNull()
|
|
|
|
found: 0 (opA).isNull()
|
|
|
|
expected: 1 (opB).isNull()
|
|
|
|
actual: 0 (opA).isNull()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 50 - compareQImages(equal)
|
|
|
|
not ok 51 - compareQImages(different size)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QImages differ in size.
|
|
|
|
wanted: 20x20 (opB)
|
|
|
|
found: 11x20 (opA)
|
|
|
|
expected: 20x20 (opB)
|
|
|
|
actual: 11x20 (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 52 - compareQImages(different format)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QImages differ in format.
|
|
|
|
wanted: 3 (opB)
|
|
|
|
found: 6 (opA)
|
|
|
|
expected: 3 (opB)
|
|
|
|
actual: 6 (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 53 - compareQImages(different pixels)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
# Compared values are not the same
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2019-05-29 11:18:14 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2019-05-29 11:18:14 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 54 - compareQImages(different dpr)
|
2019-05-29 11:18:14 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared QImages differ in device pixel ratio.
|
|
|
|
wanted: 2 (opB)
|
|
|
|
found: 1 (opA)
|
|
|
|
expected: 2 (opB)
|
|
|
|
actual: 1 (opA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQImages() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 55 - compareQRegion(equal-empty)
|
|
|
|
not ok 56 - compareQRegion(1-empty)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QRegion(null) (rB)
|
|
|
|
found: QRegion(200x50+10+10) (rA)
|
|
|
|
expected: QRegion(null) (rB)
|
|
|
|
actual: QRegion(200x50+10+10) (rA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQRegion() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 57 - compareQRegion(equal)
|
|
|
|
not ok 58 - compareQRegion(different lists)
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QRegion(2 rectangles, 50x200+100+200, 200x50+10+10) (rB)
|
|
|
|
found: QRegion(200x50+10+10) (rA)
|
|
|
|
expected: QRegion(2 rectangles, 50x200+100+200, 200x50+10+10) (rB)
|
|
|
|
actual: QRegion(200x50+10+10) (rA)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQRegion() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 59 - compareQVector2D()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVector2D(1, 3) (v2b)
|
|
|
|
found: QVector2D(1, 2) (v2a)
|
|
|
|
expected: QVector2D(1, 3) (v2b)
|
|
|
|
actual: QVector2D(1, 2) (v2a)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQVector2D() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 60 - compareQVector3D()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVector3D(1, 3, 3) (v3b)
|
|
|
|
found: QVector3D(1, 2, 3) (v3a)
|
|
|
|
expected: QVector3D(1, 3, 3) (v3b)
|
|
|
|
actual: QVector3D(1, 2, 3) (v3a)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQVector3D() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 61 - compareQVector4D()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QCOMPARE
|
|
|
|
message: Compared values are not the same
|
|
|
|
wanted: QVector4D(1, 3, 3, 4) (v4b)
|
|
|
|
found: QVector4D(1, 2, 3, 4) (v4a)
|
|
|
|
expected: QVector4D(1, 3, 3, 4) (v4b)
|
|
|
|
actual: QVector4D(1, 2, 3, 4) (v4a)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::compareQVector4D() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 62 - verify()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QVERIFY
|
|
|
|
message: Verification failed
|
|
|
|
wanted: true (opaqueFunc() < 2)
|
|
|
|
found: false (opaqueFunc() < 2)
|
|
|
|
expected: true (opaqueFunc() < 2)
|
|
|
|
actual: false (opaqueFunc() < 2)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::verify() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 63 - verify2()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QVERIFY
|
|
|
|
message: 42
|
|
|
|
wanted: true (opaqueFunc() < 2)
|
|
|
|
found: false (opaqueFunc() < 2)
|
|
|
|
expected: true (opaqueFunc() < 2)
|
|
|
|
actual: false (opaqueFunc() < 2)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::verify2() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 64 - tryVerify()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QVERIFY
|
|
|
|
message: Verification failed
|
|
|
|
wanted: true (opaqueFunc() < 2)
|
|
|
|
found: false (opaqueFunc() < 2)
|
|
|
|
expected: true (opaqueFunc() < 2)
|
|
|
|
actual: false (opaqueFunc() < 2)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::tryVerify() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
not ok 65 - tryVerify2()
|
2018-03-01 16:06:23 +00:00
|
|
|
---
|
|
|
|
type: QVERIFY
|
|
|
|
message: 42
|
|
|
|
wanted: true (opaqueFunc() < 2)
|
|
|
|
found: false (opaqueFunc() < 2)
|
|
|
|
expected: true (opaqueFunc() < 2)
|
|
|
|
actual: false (opaqueFunc() < 2)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Cmptest::tryVerify2() (qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
2021-05-19 08:25:45 +00:00
|
|
|
ok 66 - verifyExplicitOperatorBool()
|
|
|
|
ok 67 - cleanupTestCase()
|
|
|
|
1..67
|
|
|
|
# tests 67
|
2020-07-10 09:41:33 +00:00
|
|
|
# pass 21
|
2021-05-19 08:25:45 +00:00
|
|
|
# fail 46
|