1352e294d2
The parameter names were previously "lhs" and "rhs", which is incredibly abstract for a testing framework. One of the parameters will tend to be a baseline value to compare against while the other is the result of some action we want to test. Thus I suggest they be renamed "computed" and "baseline". This way we can, hopefully, retain the semantic that the 'left'/first argument is the computed ('actual' in QCOMPARE) value while the 'right'/second argument is the baseline ('expected' in QCOMPARE.) Change-Id: I3e0fdce2a3f1faca06fdf7184ef6e0eb9724d990 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
750 lines
38 KiB
XML
750 lines
38 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<TestCase name="tst_ExtendedCompare">
|
|
<Environment>
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
<QtBuild/>
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
</Environment>
|
|
<TestFunction name="initTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareInts">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareFloats">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1.1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1.1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1.1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 1.1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1.1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1.1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareDoubles">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0.1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 0.1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 0.1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 0.1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0.1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0.1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="comparePointers">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 2
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 2]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareToNullptr">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): "nullptr"]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): "nullptr"
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareUnregistereEnum">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): 1
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 0]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): 0
|
|
Baseline (rhs): 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareRegistereEnum">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Sunday]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): Sunday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): Sunday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): Sunday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Monday]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Sunday]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): Monday
|
|
Baseline (rhs): Sunday]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareCustomTypes">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(2)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (lhs): MyClass(2)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (lhs): MyClass(2)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE:left < right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE:left > right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (lhs): MyClass(2)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(2)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GT:left > right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left == right]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE:left < right]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (lhs): MyClass(1)
|
|
Baseline (rhs): MyClass(2)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE:left > right]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="checkComparisonForTemporaryObjects">
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[EQ]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
Computed (getClassForValue(0).getValuePointer()): MyClass(2) on memory address with index 0
|
|
Baseline (getClassForValue(1).getValuePointer()): MyClass(1) on memory address with index 1]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LT]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[LE]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (getClassForValue(0).getValuePointer()): MyClass(2) on memory address with index 0
|
|
Baseline (getClassForValue(1).getValuePointer()): MyClass(1) on memory address with index 1]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GE]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than or equal to the baseline, but is not
|
|
Computed (getClassForValue(0).getValuePointer()): MyClass(2) on memory address with index 0
|
|
Baseline (getClassForValue(1).getValuePointer()): MyClass(1) on memory address with index 1]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="checkComparisonWithTimeout">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[EQ]]></DataTag>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[NE]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LT]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
Computed (c) : ClassWithDeferredSetter(1)
|
|
Baseline (ClassWithDeferredSetter(0)): ClassWithDeferredSetter(0)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[LE]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be less than or equal to the baseline, but is not
|
|
Computed (c) : ClassWithDeferredSetter(1)
|
|
Baseline (ClassWithDeferredSetter(-1)): ClassWithDeferredSetter(-1)]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
<DataTag><![CDATA[GT]]></DataTag>
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
Computed (c) : ClassWithDeferredSetter(1)
|
|
Baseline (ClassWithDeferredSetter(1)): ClassWithDeferredSetter(1)]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[GE]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|
|
</TestCase>
|