cc6d984390
[ChangeLog][QTestLib] Add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE}_WITH_TIMEOUT macros that repeatedly execute QCOMPARE_{EQ,NE,LT,LE,GT,GE} until either the comparison returns true or the timeout expires. Also add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE} macros that simply invoke the *_WITH_TIMEOUT versions with the usual timeout of five seconds. Task-number: QTBUG-98873 Change-Id: Ib0d7d1c8c997f442b46acd85da738a8f512cc875 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
527 lines
31 KiB
XML
527 lines
31 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_ExtendedCompare" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="148" failures="74" 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_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareInts(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareInts(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1.1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1.1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1.1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareFloats(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareFloats(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0.1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0.1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0.1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareDoubles(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0.1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareDoubles(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 2
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="comparePointers(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 2]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="comparePointers(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): "nullptr"]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareToNullptr(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): "nullptr"
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareToNullptr(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 1
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 0]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareUnregistereEnum(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): 0
|
|
Right (rhs): 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareUnregistereEnum(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Sunday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): Sunday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): Sunday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): Sunday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Monday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Sunday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareRegistereEnum(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): Monday
|
|
Right (rhs): Sunday]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareRegistereEnum(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(EQ:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(EQ:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(2)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(EQ:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(2)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(NE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be different from right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(NE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(NE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(LT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(LT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(LT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(2)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(LE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(LE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(LE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(2)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(GT:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(1)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(GT:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(2)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(GT:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(GE:left == right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="compareCustomTypes(GE:left < right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be greater than or equal to right value, but is not">
|
|
<![CDATA[ Left (lhs): MyClass(1)
|
|
Right (rhs): MyClass(2)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="compareCustomTypes(GE:left > right)" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
<testcase name="checkComparisonForTemporaryObjects" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be equal to right value, but is not">
|
|
<![CDATA[ Left (getClassForValue(0).getValuePointer()): MyClass(2) on memory address with index 0
|
|
Right (getClassForValue(1).getValuePointer()): MyClass(1) on memory address with index 1]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="checkComparisonWithTimeout" classname="tst_ExtendedCompare" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Left value is expected to be less than right value, but is not">
|
|
<![CDATA[ Left (c) : ClassWithDeferredSetter(1)
|
|
Right (ClassWithDeferredSetter(0)): ClassWithDeferredSetter(0)]]>
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" classname="tst_ExtendedCompare" time="@TEST_DURATION@"/>
|
|
</testsuite>
|