c988a8a282
Currently, when two colors are equal except for their alpha values, QCOMPARE produces the following failure message: FAIL! : tst_Test::test() Compared values are not the same Actual (colorA): #ff0000 Expected (colorB): #ff0000 By using the HexArgb format instead of the default HexRgb, we can see the full hex string, with alpha values included: FAIL! : tst_Test::test() Compared values are not the same Actual (colorA): #88ff0000 Expected (colorB): #ffff0000 Task-number: QTBUG-55574 Change-Id: Id82c60a1b473ac6025a6f6ac560fce95a910d782 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
137 lines
17 KiB
Plaintext
137 lines
17 KiB
Plaintext
##teamcity[testSuiteStarted name='tst_Cmptest' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='initTestCase()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='initTestCase()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_unregistered_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_unregistered_enums()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_unregistered_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_registered_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_registered_enums()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (Qt::Monday): Monday|n Expected (Qt::Sunday): Sunday' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_registered_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_class_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_class_enums()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1|n Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_class_enums()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_boolfuncs()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_boolfuncs()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_to_nullptr()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_to_nullptr()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_pointerfuncs()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_pointerfuncs()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_tostring(int, string)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_tostring(int, string)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (actual) : QVariant(int,123)|n Expected (expected): QVariant(QString,hi)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_tostring(int, string)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_tostring(both invalid)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_tostring(both invalid)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_tostring(null hash, invalid)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_tostring(null hash, invalid)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (actual) : QVariant(QVariantHash)|n Expected (expected): QVariant()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_tostring(null hash, invalid)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_tostring(string, null user type)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_tostring(string, null user type)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (actual) : QVariant(QString,A simple string)|n Expected (expected): QVariant(PhonyClass)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_tostring(string, null user type)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compare_tostring(both non-null user type)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compare_tostring(both non-null user type)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (actual) : QVariant(PhonyClass,<value not representable as string>)|n Expected (expected): QVariant(PhonyClass,<value not representable as string>)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compare_tostring(both non-null user type)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(empty lists)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(empty lists)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(equal lists)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(equal lists)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(last item different)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQStringLists(last item different)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists differ at index 2.|n Actual (opA): "string3"|n Expected (opB): "DIFFERS"' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(last item different)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(second-last item different)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQStringLists(second-last item different)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists differ at index 2.|n Actual (opA): "string3"|n Expected (opB): "DIFFERS"' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(second-last item different)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(prefix)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQStringLists(prefix)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists have different sizes.|n Actual (opA) size: 2|n Expected (opB) size: 1' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(prefix)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(short list second)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQStringLists(short list second)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists have different sizes.|n Actual (opA) size: 12|n Expected (opB) size: 1' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(short list second)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQStringLists(short list first)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQStringLists(short list first)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists have different sizes.|n Actual (opA) size: 1|n Expected (opB) size: 12' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQStringLists(short list first)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQListInt()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQListInt()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists differ at index 2.|n Actual (int1): 3|n Expected (int2): 4' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQListInt()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQListDouble()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQListDouble()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared lists differ at index 0.|n Actual (double1): 1.5|n Expected (double2): 1' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQListDouble()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQColor(Qt::yellow vs "yellow")' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQColor(Qt::yellow vs "yellow")' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQColor(Qt::yellow vs Qt::green)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQColor(Qt::yellow vs Qt::green)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (colorA): #ffffff00|n Expected (colorB): #ff00ff00' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQColor(Qt::yellow vs Qt::green)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQColor(0x88ff0000 vs 0xffff0000)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQColor(0x88ff0000 vs 0xffff0000)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (colorA): #88ff0000|n Expected (colorB): #ffff0000' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQColor(0x88ff0000 vs 0xffff0000)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(both null)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(both null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(one null)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQPixmaps(one null)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QPixmaps differ.|n Actual (opA).isNull(): 1|n Expected (opB).isNull(): 0' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(one null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(other null)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQPixmaps(other null)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QPixmaps differ.|n Actual (opA).isNull(): 0|n Expected (opB).isNull(): 1' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(other null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(different size)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQPixmaps(different size)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QPixmaps differ in size.|n Actual (opA): 11x20|n Expected (opB): 20x20' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(different size)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQPixmaps(different pixels)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQPixmaps(different pixels)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQPixmaps(different pixels)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(both null)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(both null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(one null)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQImages(one null)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QImages differ.|n Actual (opA).isNull(): 1|n Expected (opB).isNull(): 0' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(one null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(other null)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQImages(other null)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QImages differ.|n Actual (opA).isNull(): 0|n Expected (opB).isNull(): 1' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(other null)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(different size)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQImages(different size)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QImages differ in size.|n Actual (opA): 11x20|n Expected (opB): 20x20' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(different size)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(different format)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQImages(different format)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared QImages differ in format.|n Actual (opA): 6|n Expected (opB): 3' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(different format)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQImages(different pixels)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQImages(different pixels)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQImages(different pixels)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQRegion(equal-empty)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQRegion(equal-empty)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQRegion(1-empty)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQRegion(1-empty)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (rA): QRegion(200x50+10+10)|n Expected (rB): QRegion(null)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQRegion(1-empty)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQRegion(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQRegion(equal)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQRegion(different lists)' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQRegion(different lists)' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (rA): QRegion(200x50+10+10)|n Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQRegion(different lists)' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQVector2D()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQVector2D()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (v2a): QVector2D(1, 2)|n Expected (v2b): QVector2D(1, 3)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQVector2D()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQVector3D()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQVector3D()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (v3a): QVector3D(1, 2, 3)|n Expected (v3b): QVector3D(1, 3, 3)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQVector3D()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='compareQVector4D()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='compareQVector4D()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='Compared values are not the same|n Actual (v4a): QVector4D(1, 2, 3, 4)|n Expected (v4b): QVector4D(1, 3, 3, 4)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='compareQVector4D()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='verify()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='verify()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='|'opaqueFunc() < 2|' returned FALSE. ()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='verify()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='verify2()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='verify2()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='|'opaqueFunc() < 2|' returned FALSE. (42)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='verify2()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='tryVerify()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='tryVerify()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='|'opaqueFunc() < 2|' returned FALSE. ()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='tryVerify()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='tryVerify2()' flowId='tst_Cmptest']
|
|
##teamcity[testFailed name='tryVerify2()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)|]' details='|'opaqueFunc() < 2|' returned FALSE. (42)' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='tryVerify2()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='verifyExplicitOperatorBool()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='verifyExplicitOperatorBool()' flowId='tst_Cmptest']
|
|
##teamcity[testStarted name='cleanupTestCase()' flowId='tst_Cmptest']
|
|
##teamcity[testFinished name='cleanupTestCase()' flowId='tst_Cmptest']
|
|
##teamcity[testSuiteFinished name='tst_Cmptest' flowId='tst_Cmptest']
|