3489ab60a9
[ChangeLog][QTestLib] It is now possible to use variables of types with an explicit operator bool in the QVERIFY macro. Change-Id: I2685df164a616f6a065d689867daa9ea1de78e08 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
113 lines
10 KiB
Plaintext
113 lines
10 KiB
Plaintext
##teamcity[testSuiteStarted name='tst_Cmptest']
|
|
##teamcity[testStarted name='initTestCase()']
|
|
##teamcity[testFinished name='initTestCase()']
|
|
##teamcity[testStarted name='compare_unregistered_enums()']
|
|
##teamcity[testFailed name='compare_unregistered_enums()' message='Failure! |[Loc: tst_cmptest.cpp(158)|]' details='Compared values are not the same']
|
|
##teamcity[testFinished name='compare_unregistered_enums()']
|
|
##teamcity[testStarted name='compare_registered_enums()']
|
|
##teamcity[testFailed name='compare_registered_enums()' message='Failure! |[Loc: tst_cmptest.cpp(164)|]' details='Compared values are not the same|n Actual (Qt::ArrowCursor): ArrowCursor|n Expected (Qt::BusyCursor) : BusyCursor']
|
|
##teamcity[testFinished name='compare_registered_enums()']
|
|
##teamcity[testStarted name='compare_class_enums()']
|
|
##teamcity[testFailed name='compare_class_enums()' message='Failure! |[Loc: tst_cmptest.cpp(170)|]' details='Compared values are not the same|n Actual (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1|n Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2']
|
|
##teamcity[testFinished name='compare_class_enums()']
|
|
##teamcity[testStarted name='compare_boolfuncs()']
|
|
##teamcity[testFinished name='compare_boolfuncs()']
|
|
##teamcity[testStarted name='compare_to_nullptr()']
|
|
##teamcity[testFinished name='compare_to_nullptr()']
|
|
##teamcity[testStarted name='compare_pointerfuncs()']
|
|
##teamcity[testFinished name='compare_pointerfuncs()']
|
|
##teamcity[testStarted name='compare_tostring(int, string)']
|
|
##teamcity[testFailed name='compare_tostring(int, string)' message='Failure! |[Loc: tst_cmptest.cpp(259)|]' details='Compared values are not the same|n Actual (actual) : QVariant(int,123)|n Expected (expected): QVariant(QString,hi)']
|
|
##teamcity[testFinished name='compare_tostring(int, string)']
|
|
##teamcity[testStarted name='compare_tostring(both invalid)']
|
|
##teamcity[testFinished name='compare_tostring(both invalid)']
|
|
##teamcity[testStarted name='compare_tostring(null hash, invalid)']
|
|
##teamcity[testFailed name='compare_tostring(null hash, invalid)' message='Failure! |[Loc: tst_cmptest.cpp(259)|]' details='Compared values are not the same|n Actual (actual) : QVariant(QVariantHash)|n Expected (expected): QVariant()']
|
|
##teamcity[testFinished name='compare_tostring(null hash, invalid)']
|
|
##teamcity[testStarted name='compare_tostring(string, null user type)']
|
|
##teamcity[testFailed name='compare_tostring(string, null user type)' message='Failure! |[Loc: tst_cmptest.cpp(259)|]' details='Compared values are not the same|n Actual (actual) : QVariant(QString,A simple string)|n Expected (expected): QVariant(PhonyClass)']
|
|
##teamcity[testFinished name='compare_tostring(string, null user type)']
|
|
##teamcity[testStarted name='compare_tostring(both non-null user type)']
|
|
##teamcity[testFailed name='compare_tostring(both non-null user type)' message='Failure! |[Loc: tst_cmptest.cpp(259)|]' 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>)']
|
|
##teamcity[testFinished name='compare_tostring(both non-null user type)']
|
|
##teamcity[testStarted name='compareQStringLists(empty lists)']
|
|
##teamcity[testFinished name='compareQStringLists(empty lists)']
|
|
##teamcity[testStarted name='compareQStringLists(equal lists)']
|
|
##teamcity[testFinished name='compareQStringLists(equal lists)']
|
|
##teamcity[testStarted name='compareQStringLists(last item different)']
|
|
##teamcity[testFailed name='compareQStringLists(last item different)' message='Failure! |[Loc: tst_cmptest.cpp(353)|]' details='Compared lists differ at index 2.|n Actual (opA): "string3"|n Expected (opB): "DIFFERS"']
|
|
##teamcity[testFinished name='compareQStringLists(last item different)']
|
|
##teamcity[testStarted name='compareQStringLists(second-last item different)']
|
|
##teamcity[testFailed name='compareQStringLists(second-last item different)' message='Failure! |[Loc: tst_cmptest.cpp(353)|]' details='Compared lists differ at index 2.|n Actual (opA): "string3"|n Expected (opB): "DIFFERS"']
|
|
##teamcity[testFinished name='compareQStringLists(second-last item different)']
|
|
##teamcity[testStarted name='compareQStringLists(prefix)']
|
|
##teamcity[testFailed name='compareQStringLists(prefix)' message='Failure! |[Loc: tst_cmptest.cpp(353)|]' details='Compared lists have different sizes.|n Actual (opA) size: 2|n Expected (opB) size: 1']
|
|
##teamcity[testFinished name='compareQStringLists(prefix)']
|
|
##teamcity[testStarted name='compareQStringLists(short list second)']
|
|
##teamcity[testFailed name='compareQStringLists(short list second)' message='Failure! |[Loc: tst_cmptest.cpp(353)|]' details='Compared lists have different sizes.|n Actual (opA) size: 12|n Expected (opB) size: 1']
|
|
##teamcity[testFinished name='compareQStringLists(short list second)']
|
|
##teamcity[testStarted name='compareQStringLists(short list first)']
|
|
##teamcity[testFailed name='compareQStringLists(short list first)' message='Failure! |[Loc: tst_cmptest.cpp(353)|]' details='Compared lists have different sizes.|n Actual (opA) size: 1|n Expected (opB) size: 12']
|
|
##teamcity[testFinished name='compareQStringLists(short list first)']
|
|
##teamcity[testStarted name='compareQListInt()']
|
|
##teamcity[testFailed name='compareQListInt()' message='Failure! |[Loc: tst_cmptest.cpp(360)|]' details='Compared lists differ at index 2.|n Actual (int1): 3|n Expected (int2): 4']
|
|
##teamcity[testFinished name='compareQListInt()']
|
|
##teamcity[testStarted name='compareQListDouble()']
|
|
##teamcity[testFailed name='compareQListDouble()' message='Failure! |[Loc: tst_cmptest.cpp(367)|]' details='Compared lists differ at index 0.|n Actual (double1): 1.5|n Expected (double2): 1']
|
|
##teamcity[testFinished name='compareQListDouble()']
|
|
##teamcity[testStarted name='compareQColor()']
|
|
##teamcity[testFailed name='compareQColor()' message='Failure! |[Loc: tst_cmptest.cpp(377)|]' details='Compared values are not the same|n Actual (yellow): #ffff00|n Expected (green) : #00ff00']
|
|
##teamcity[testFinished name='compareQColor()']
|
|
##teamcity[testStarted name='compareQPixmaps(both null)']
|
|
##teamcity[testFinished name='compareQPixmaps(both null)']
|
|
##teamcity[testStarted name='compareQPixmaps(one null)']
|
|
##teamcity[testFailed name='compareQPixmaps(one null)' message='Failure! |[Loc: tst_cmptest.cpp(402)|]' details='Compared QPixmaps differ.|n Actual (opA).isNull(): 1|n Expected (opB).isNull(): 0']
|
|
##teamcity[testFinished name='compareQPixmaps(one null)']
|
|
##teamcity[testStarted name='compareQPixmaps(other null)']
|
|
##teamcity[testFailed name='compareQPixmaps(other null)' message='Failure! |[Loc: tst_cmptest.cpp(402)|]' details='Compared QPixmaps differ.|n Actual (opA).isNull(): 0|n Expected (opB).isNull(): 1']
|
|
##teamcity[testFinished name='compareQPixmaps(other null)']
|
|
##teamcity[testStarted name='compareQPixmaps(equal)']
|
|
##teamcity[testFinished name='compareQPixmaps(equal)']
|
|
##teamcity[testStarted name='compareQPixmaps(different size)']
|
|
##teamcity[testFailed name='compareQPixmaps(different size)' message='Failure! |[Loc: tst_cmptest.cpp(402)|]' details='Compared QPixmaps differ in size.|n Actual (opA): 11x20|n Expected (opB): 20x20']
|
|
##teamcity[testFinished name='compareQPixmaps(different size)']
|
|
##teamcity[testStarted name='compareQPixmaps(different pixels)']
|
|
##teamcity[testFailed name='compareQPixmaps(different pixels)' message='Failure! |[Loc: tst_cmptest.cpp(402)|]' details='Compared values are not the same']
|
|
##teamcity[testFinished name='compareQPixmaps(different pixels)']
|
|
##teamcity[testStarted name='compareQImages(both null)']
|
|
##teamcity[testFinished name='compareQImages(both null)']
|
|
##teamcity[testStarted name='compareQImages(one null)']
|
|
##teamcity[testFailed name='compareQImages(one null)' message='Failure! |[Loc: tst_cmptest.cpp(429)|]' details='Compared QImages differ.|n Actual (opA).isNull(): 1|n Expected (opB).isNull(): 0']
|
|
##teamcity[testFinished name='compareQImages(one null)']
|
|
##teamcity[testStarted name='compareQImages(other null)']
|
|
##teamcity[testFailed name='compareQImages(other null)' message='Failure! |[Loc: tst_cmptest.cpp(429)|]' details='Compared QImages differ.|n Actual (opA).isNull(): 0|n Expected (opB).isNull(): 1']
|
|
##teamcity[testFinished name='compareQImages(other null)']
|
|
##teamcity[testStarted name='compareQImages(equal)']
|
|
##teamcity[testFinished name='compareQImages(equal)']
|
|
##teamcity[testStarted name='compareQImages(different size)']
|
|
##teamcity[testFailed name='compareQImages(different size)' message='Failure! |[Loc: tst_cmptest.cpp(429)|]' details='Compared QImages differ in size.|n Actual (opA): 11x20|n Expected (opB): 20x20']
|
|
##teamcity[testFinished name='compareQImages(different size)']
|
|
##teamcity[testStarted name='compareQImages(different format)']
|
|
##teamcity[testFailed name='compareQImages(different format)' message='Failure! |[Loc: tst_cmptest.cpp(429)|]' details='Compared QImages differ in format.|n Actual (opA): 6|n Expected (opB): 3']
|
|
##teamcity[testFinished name='compareQImages(different format)']
|
|
##teamcity[testStarted name='compareQImages(different pixels)']
|
|
##teamcity[testFailed name='compareQImages(different pixels)' message='Failure! |[Loc: tst_cmptest.cpp(429)|]' details='Compared values are not the same']
|
|
##teamcity[testFinished name='compareQImages(different pixels)']
|
|
##teamcity[testStarted name='verify()']
|
|
##teamcity[testFailed name='verify()' message='Failure! |[Loc: tst_cmptest.cpp(441)|]' details='|'opaqueFunc() < 2|' returned FALSE. ()']
|
|
##teamcity[testFinished name='verify()']
|
|
##teamcity[testStarted name='verify2()']
|
|
##teamcity[testFailed name='verify2()' message='Failure! |[Loc: tst_cmptest.cpp(447)|]' details='|'opaqueFunc() < 2|' returned FALSE. (42)']
|
|
##teamcity[testFinished name='verify2()']
|
|
##teamcity[testStarted name='tryVerify()']
|
|
##teamcity[testFailed name='tryVerify()' message='Failure! |[Loc: tst_cmptest.cpp(453)|]' details='|'opaqueFunc() < 2|' returned FALSE. ()']
|
|
##teamcity[testFinished name='tryVerify()']
|
|
##teamcity[testStarted name='tryVerify2()']
|
|
##teamcity[testFailed name='tryVerify2()' message='Failure! |[Loc: tst_cmptest.cpp(459)|]' details='|'opaqueFunc() < 2|' returned FALSE. (42)']
|
|
##teamcity[testFinished name='tryVerify2()']
|
|
##teamcity[testStarted name='verifyExplicitOperatorBool()']
|
|
##teamcity[testFinished name='verifyExplicitOperatorBool()']
|
|
##teamcity[testStarted name='cleanupTestCase()']
|
|
##teamcity[testFinished name='cleanupTestCase()']
|
|
##teamcity[testSuiteFinished name='tst_Cmptest']
|