Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
<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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 2]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 2
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 2
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 2]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1.1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1.1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1.1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1.1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0.1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 0.1
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 0.1
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0.1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 2]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 2
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 2
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 2]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): "nullptr"
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): "nullptr"]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): "nullptr"
|
|
|
|
Baseline (rhs): "nullptr"]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): "nullptr"
|
|
|
|
Baseline (rhs): "nullptr"]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): "nullptr"]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): "nullptr"
|
|
|
|
Baseline (rhs): "nullptr"]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): "nullptr"
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): 1
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 0]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): 0
|
|
|
|
Baseline (rhs): 1]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): Monday
|
|
|
|
Baseline (rhs): Sunday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be equal to the baseline, but is not
|
|
|
|
Computed (lhs): Sunday
|
|
|
|
Baseline (rhs): Monday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be different from the baseline, but is not
|
|
|
|
Computed (lhs): Monday
|
|
|
|
Baseline (rhs): Monday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): Monday
|
|
|
|
Baseline (rhs): Monday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be less than the baseline, but is not
|
|
|
|
Computed (lhs): Sunday
|
|
|
|
Baseline (rhs): Monday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): Monday
|
|
|
|
Baseline (rhs): Monday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<Description><![CDATA[The computed value is expected to be greater than the baseline, but is not
|
|
|
|
Computed (lhs): Monday
|
|
|
|
Baseline (rhs): Sunday]]></Description>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[EQ:left > right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[NE:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left == right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT:left < right]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GE]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
Add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE}_WITH_TIMEOUT()
[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>
2022-06-02 09:51:49 +00:00
|
|
|
<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>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE}_WITH_TIMEOUT()
[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>
2022-06-02 09:51:49 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[LE]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE}_WITH_TIMEOUT()
[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>
2022-06-02 09:51:49 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/extendedcompare/tst_extendedcompare.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[GT]]></DataTag>
|
2022-12-02 11:55:20 +00:00
|
|
|
<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>
|
Add QTRY_COMPARE_{EQ,NE,LT,LE,GT,GE}_WITH_TIMEOUT()
[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>
2022-06-02 09:51:49 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[GE]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
[ChangeLog][QTestLib] Add QCOMPARE_{EQ,NE,LT,LE,GT,GE}()
macros. These new macros behave similarly to QVERIFY(a op b),
where 'op' is ==, !=, <, <=, >, >= respectively, but print
a formatted error message with argument values in case of failure.
The formatting is done lazily, which means that the strings will
be generated only when the comparison fails.
Also add a new test for tst_selftest and generate expected output
for it.
Fixes: QTBUG-98873
Task-number: QTBUG-98874
Change-Id: Ic8074798901d7a469b1f58d5cd28bbf49a3da1db
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-05-19 11:48:45 +00:00
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
|
|
|
<Duration msecs="0"/>
|