18152699e4
QPalette specifically has quite a large amount of output (1363 characters) when toString is called on it. We should make sure that we can fit that in our failure messages. This patch does that by increasing the limit from 1024 characters to 4096. Fixes: QTBUG-5903 Fixes: QTBUG-87039 Pick-to: 6.5 6.6 Change-Id: I1dc5078ad05858bb6542c3a06c6b84711af79e4f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
326 lines
22 KiB
XML
326 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_Cmptest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="74" failures="51" errors="0" skipped="0" time="@TEST_DURATION@">
|
|
<properties>
|
|
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtBuild" value=""/>
|
|
</properties>
|
|
<testcase name="initTestCase" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compare_unregistered_enums" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (MyUnregisteredEnumValue1): 0
|
|
Expected (MyUnregisteredEnumValue2): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_registered_enums" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (Qt::Monday): Monday
|
|
Expected (Qt::Sunday): Sunday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_class_enums" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1
|
|
Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="test_windowflags(pass)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="test_windowflags(fail1)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualWindowFlags) : Window|WindowSystemMenuHint|WindowStaysOnBottomHint
|
|
Expected (expectedWindowFlags): Window|FramelessWindowHint|WindowSystemMenuHint|WindowStaysOnBottomHint]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="test_windowflags(fail2)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualWindowFlags) : Window
|
|
Expected (expectedWindowFlags): Window|FramelessWindowHint]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="test_unregistered_flags(pass)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="test_unregistered_flags(fail1)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualFlags) : 0x3
|
|
Expected (expectedFlags): 0x5]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="test_unregistered_flags(fail2)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualFlags) : 0x1
|
|
Expected (expectedFlags): 0x5]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_boolfuncs" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compare_to_nullptr" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compare_pointerfuncs" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compare_tostring(int, string)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actual) : QVariant(int,123)
|
|
Expected (expected): QVariant(QString,hi)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_tostring(both invalid)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compare_tostring(null hash, invalid)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actual) : QVariant(QVariantHash)
|
|
Expected (expected): QVariant()]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_tostring(string, null user type)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actual) : QVariant(QString,A simple string)
|
|
Expected (expected): QVariant(PhonyClass)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_tostring(both non-null user type)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actual) : QVariant(PhonyClass,<value not representable as string>)
|
|
Expected (expected): QVariant(PhonyClass,<value not representable as string>)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_unknown" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual : a
|
|
Expected : b]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compare_textFromDebug" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (a): QDebug stream: 0
|
|
Expected (b): QDebug stream: 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQObjects" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QObject pointers are not the same">
|
|
<![CDATA[ Actual (&object1): QObject/"object1"
|
|
Expected (&object2): QObject/"object2"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQStringLists(empty lists)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQStringLists(equal lists)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQStringLists(last item different)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 2.">
|
|
<![CDATA[ Actual (opA): "string3"
|
|
Expected (opB): "DIFFERS"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQStringLists(second-last item different)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 2.">
|
|
<![CDATA[ Actual (opA): "string3"
|
|
Expected (opB): "DIFFERS"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQStringLists(prefix)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (opA) size: 2
|
|
Expected (opB) size: 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQStringLists(short list second)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (opA) size: 12
|
|
Expected (opB) size: 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQStringLists(short list first)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (opA) size: 1
|
|
Expected (opB) size: 12]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListInt(match)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQListInt(size mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (actual) size: 2
|
|
Expected (expected) size: 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListInt(value mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 2.">
|
|
<![CDATA[ Actual (actual): 4
|
|
Expected (expected): 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListIntToArray(match)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQListIntToArray(size mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (actual) size: 2
|
|
Expected (expected) size: 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListIntToArray(value mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 2.">
|
|
<![CDATA[ Actual (actual): 4
|
|
Expected (expected): 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListIntToInitializerList(match)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQListIntToInitializerList(size mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists have different sizes.">
|
|
<![CDATA[ Actual (actual) size: 2
|
|
Expected (ARG({1, 2, 3})) size: 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListIntToInitializerList(value mismatch)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 2.">
|
|
<![CDATA[ Actual (actual): 4
|
|
Expected (ARG({1, 2, 3})): 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQListDouble" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared lists differ at index 0.">
|
|
<![CDATA[ Actual (double1): 1.5
|
|
Expected (double2): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareContainerToInitializerList" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQColor(Qt::yellow vs "yellow")" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQColor(Qt::yellow vs Qt::green)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (colorA): #ffffff00
|
|
Expected (colorB): #ff00ff00]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQColor(0x88ff0000 vs 0xffff0000)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (colorA): #88ff0000
|
|
Expected (colorB): #ffff0000]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPixmaps(both null)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQPixmaps(one null)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QPixmaps differ.">
|
|
<![CDATA[ Actual (opA).isNull(): 1
|
|
Expected (opB).isNull(): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPixmaps(other null)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QPixmaps differ.">
|
|
<![CDATA[ Actual (opA).isNull(): 0
|
|
Expected (opB).isNull(): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPixmaps(equal)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQPixmaps(different size)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QPixmaps differ in size.">
|
|
<![CDATA[ Actual (opA): 11x20
|
|
Expected (opB): 20x20]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPixmaps(different pixels)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same"/>
|
|
</testcase>
|
|
<testcase name="compareQPixmaps(different dpr)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QPixmaps differ in device pixel ratio.">
|
|
<![CDATA[ Actual (opA): 1
|
|
Expected (opB): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQImages(both null)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQImages(one null)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QImages differ.">
|
|
<![CDATA[ Actual (opA).isNull(): 1
|
|
Expected (opB).isNull(): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQImages(other null)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QImages differ.">
|
|
<![CDATA[ Actual (opA).isNull(): 0
|
|
Expected (opB).isNull(): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQImages(equal)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQImages(different size)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QImages differ in size.">
|
|
<![CDATA[ Actual (opA): 11x20
|
|
Expected (opB): 20x20]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQImages(different format)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QImages differ in format.">
|
|
<![CDATA[ Actual (opA): 6
|
|
Expected (opB): 3]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQImages(different pixels)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same"/>
|
|
</testcase>
|
|
<testcase name="compareQImages(different dpr)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared QImages differ in device pixel ratio.">
|
|
<![CDATA[ Actual (opA): 1
|
|
Expected (opB): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQRegion(equal-empty)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQRegion(1-empty)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (rA): QRegion(200x50+10+10)
|
|
Expected (rB): QRegion(null)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQRegion(equal)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="compareQRegion(different lists)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (rA): QRegion(200x50+10+10)
|
|
Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQVector2D" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (v2a): QVector2D(1, 2)
|
|
Expected (v2b): QVector2D(1, 3)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQVector3D" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (v3a): QVector3D(1, 2, 3)
|
|
Expected (v3b): QVector3D(1, 3, 3)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQVector4D" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (v4a): QVector4D(1, 2, 3, 4)
|
|
Expected (v4b): QVector4D(1, 3, 3, 4)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPalettes(all roles are different)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualPalette) : QPalette(resolve=0x7fffffffffffffff,"WindowText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Button:[Active:#ff000001,Disabled:#ff000001,Inactive:#ff000001],Light:[Active:#ff000002,Disabled:#ff000002,Inactive:#ff000002],Midlight:[Active:#ff000003,Disabled:#ff000003,Inactive:#ff000003],Dark:[Active:#ff000004,Disabled:#ff000004,Inactive:#ff000004],Mid:[Active:#ff000005,Disabled:#ff000005,Inactive:#ff000005],Text:[Active:#ff000006,Disabled:#ff000006,Inactive:#ff000006],BrightText:[Active:#ff000007,Disabled:#ff000007,Inactive:#ff000007],ButtonText:[Active:#ff000008,Disabled:#ff000008,Inactive:#ff000008],Base:[Active:#ff000009,Disabled:#ff000009,Inactive:#ff000009],Window:[Active:#ff00000a,Disabled:#ff00000a,Inactive:#ff00000a],Shadow:[Active:#ff00000b,Disabled:#ff00000b,Inactive:#ff00000b],Highlight:[Active:#ff00000c,Disabled:#ff00000c,Inactive:#ff00000c],HighlightedText:[Active:#ff00000d,Disabled:#ff00000d,Inactive:#ff00000d],Link:[Active:#ff00000e,Disabled:#ff00000e,Inactive:#ff00000e],LinkVisited:[Active:#ff00000f,Disabled:#ff00000f,Inactive:#ff00000f],AlternateBase:[Active:#ff000010,Disabled:#ff000010,Inactive:#ff000010],ToolTipBase:[Active:#ff000012,Disabled:#ff000012,Inactive:#ff000012],ToolTipText:[Active:#ff000013,Disabled:#ff000013,Inactive:#ff000013],PlaceholderText:[Active:#ff000014,Disabled:#ff000014,Inactive:#ff000014],Accent:[Active:#ff000015,Disabled:#ff000015,Inactive:#ff000015]")
|
|
Expected (expectedPalette): QPalette(resolve=0x7fffffffffffffff,"WindowText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Button:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Light:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Midlight:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Dark:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Mid:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Text:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],BrightText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],ButtonText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Base:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Window:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Shadow:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Highlight:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],HighlightedText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Link:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],LinkVisited:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],AlternateBase:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],ToolTipBase:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],ToolTipText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],PlaceholderText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Accent:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000]")]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPalettes(one role is different)" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (actualPalette) : QPalette(resolve=0x7fffffffffffffff,"WindowText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Button:[Active:#ff000001,Disabled:#ff000001,Inactive:#ff000001],Light:[Active:#ff000002,Disabled:#ff000002,Inactive:#ff000002],Midlight:[Active:#ff000003,Disabled:#ff000003,Inactive:#ff000003],Dark:[Active:#ff000004,Disabled:#ff000004,Inactive:#ff000004],Mid:[Active:#ff000005,Disabled:#ff000005,Inactive:#ff000005],Text:[Active:#ff000006,Disabled:#ff000006,Inactive:#ff000006],BrightText:[Active:#ff000007,Disabled:#ff000007,Inactive:#ff000007],ButtonText:[Active:#ff000008,Disabled:#ff000008,Inactive:#ff000008],Base:[Active:#ff000009,Disabled:#ff000009,Inactive:#ff000009],Window:[Active:#ff00000a,Disabled:#ff00000a,Inactive:#ff00000a],Shadow:[Active:#ff00000b,Disabled:#ff00000b,Inactive:#ff00000b],Highlight:[Active:#ff00000c,Disabled:#ff00000c,Inactive:#ff00000c],HighlightedText:[Active:#ff00000d,Disabled:#ff00000d,Inactive:#ff00000d],Link:[Active:#ff00000e,Disabled:#ff00000e,Inactive:#ff00000e],LinkVisited:[Active:#ff00000f,Disabled:#ff00000f,Inactive:#ff00000f],AlternateBase:[Active:#ff000010,Disabled:#ff000010,Inactive:#ff000010],ToolTipBase:[Active:#ff000012,Disabled:#ff000012,Inactive:#ff000012],ToolTipText:[Active:#ff000013,Disabled:#ff000013,Inactive:#ff000013],PlaceholderText:[Active:#ff000014,Disabled:#ff000014,Inactive:#ff000014],Accent:[Active:#ff000015,Disabled:#ff000015,Inactive:#ff000015]")
|
|
Expected (expectedPalette): QPalette(resolve=0x7fffffffffffffff,"WindowText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000],Button:[Active:#ff000001,Disabled:#ff000001,Inactive:#ff000001],Light:[Active:#ff000002,Disabled:#ff000002,Inactive:#ff000002],Midlight:[Active:#ff000003,Disabled:#ff000003,Inactive:#ff000003],Dark:[Active:#ff000004,Disabled:#ff000004,Inactive:#ff000004],Mid:[Active:#ff000005,Disabled:#ff000005,Inactive:#ff000005],Text:[Active:#ff000006,Disabled:#ff000006,Inactive:#ff000006],BrightText:[Active:#ff000007,Disabled:#ff000007,Inactive:#ff000007],ButtonText:[Active:#ff000008,Disabled:#ff000008,Inactive:#ff000008],Base:[Active:#ff000009,Disabled:#ff000009,Inactive:#ff000009],Window:[Active:#ff00000a,Disabled:#ff00000a,Inactive:#ff00000a],Shadow:[Active:#ff00000b,Disabled:#ff00000b,Inactive:#ff00000b],Highlight:[Active:#ff00000c,Disabled:#ff00000c,Inactive:#ff00000c],HighlightedText:[Active:#ff00000d,Disabled:#ff00000d,Inactive:#ff00000d],Link:[Active:#ff00000e,Disabled:#ff00000e,Inactive:#ff00000e],LinkVisited:[Active:#ff00000f,Disabled:#ff00000f,Inactive:#ff00000f],AlternateBase:[Active:#ff000010,Disabled:#ff000010,Inactive:#ff000010],ToolTipBase:[Active:#ff000012,Disabled:#ff000012,Inactive:#ff000012],ToolTipText:[Active:#ff000013,Disabled:#ff000013,Inactive:#ff000013],PlaceholderText:[Active:#ff000014,Disabled:#ff000014,Inactive:#ff000014],Accent:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000]")]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareQPalettes(all roles are the same)" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="tryCompare" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Compared values are not the same">
|
|
<![CDATA[ Actual (c) : DeferredFlag(true)
|
|
Expected (DeferredFlag()): DeferredFlag(false)]]>
|
|
</failure>
|
|
<system-out>
|
|
<![CDATA[Should now time out and fail]]>
|
|
</system-out>
|
|
</testcase>
|
|
<testcase name="verify" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="'opaqueFunc() < 2' returned FALSE. ()"/>
|
|
</testcase>
|
|
<testcase name="verify2" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="'opaqueFunc() < 2' returned FALSE. (42 >= 2 (as expected, in fact))"/>
|
|
</testcase>
|
|
<testcase name="tryVerify" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="'!c' returned FALSE. ()"/>
|
|
<system-out>
|
|
<![CDATA[Should now time out and fail]]>
|
|
</system-out>
|
|
</testcase>
|
|
<testcase name="tryVerify2" classname="tst_Cmptest" time="@TEST_DURATION@">
|
|
<failure type="fail" message="'!c' returned FALSE. (Should time out and fail)"/>
|
|
</testcase>
|
|
<testcase name="verifyExplicitOperatorBool" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
<testcase name="cleanupTestCase" classname="tst_Cmptest" time="@TEST_DURATION@"/>
|
|
</testsuite>
|