539553a572
Add an enumeration for system-out and alog element for it. Redirect the messages types that are not warnings/errors to this element. For compatibility, write it out only if it is not empty. Rename enumerations and members accordingly. [ChangeLog][QtTestLib] In JUnit XML, output that is not a warning/error is now logged under <system-out> instead of <system-err>. Fixes: QTBUG-86540 Change-Id: I55598eafa7dafa486ac5a8221029c332ff47413b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
311 lines
19 KiB
XML
311 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_float" timestamp="@TEST_START_TIME@" tests="6" failures="97" errors="0" time="@TEST_DURATION@">
|
|
<properties>
|
|
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtBuild" value=""/>
|
|
</properties>
|
|
<testcase name="initTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="doubleComparisons" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): 3" tag="should FAIL 1"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1e-07
|
|
Expected (operandRight): 3e-07" tag="should FAIL 2"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 999999999999
|
|
Expected (operandRight): 999999999998" tag="should FAIL 3"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1e-12
|
|
Expected (operandRight): 9.99999999999e-13" tag="should FAIL 4"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 9.99999999999e+306
|
|
Expected (operandRight): 9.99999999997e+306" tag="should FAIL 5"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 0" tag="should FAIL: NaN != 0"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): nan" tag="should FAIL: 0 != NaN"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 1" tag="should FAIL: NaN != 1"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): nan" tag="should FAIL: 1 != NaN"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -inf" tag="should FAIL: inf != -inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): inf" tag="should FAIL: -inf != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): nan" tag="should FAIL: inf != nan"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): inf" tag="should FAIL: nan != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): nan" tag="should FAIL: -inf != nan"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): -inf" tag="should FAIL: nan != -inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 0" tag="should FAIL: inf != 0"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): inf" tag="should FAIL: 0 != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 0" tag="should FAIL: -inf != 0"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): -inf" tag="should FAIL: 0 != -inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 1" tag="should FAIL: inf != 1"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): inf" tag="should FAIL: 1 != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 1" tag="should FAIL: -inf != 1"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): -inf" tag="should FAIL: 1 != -inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 1.79769313486e+308" tag="should FAIL: inf != max"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -1.79769313486e+308" tag="should FAIL: inf != -max"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1.79769313486e+308
|
|
Expected (operandRight): inf" tag="should FAIL: max != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -1.79769313486e+308
|
|
Expected (operandRight): inf" tag="should FAIL: -max != inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 1.79769313486e+308" tag="should FAIL: -inf != max"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): -1.79769313486e+308" tag="should FAIL: -inf != -max"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1.79769313486e+308
|
|
Expected (operandRight): -inf" tag="should FAIL: max != -inf"/>
|
|
<failure result="fail" message="Compared doubles are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -1.79769313486e+308
|
|
Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/>
|
|
</testcase>
|
|
<testcase name="floatComparisons" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): 3" tag="should FAIL 1"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1e-05
|
|
Expected (operandRight): 3e-05" tag="should FAIL 2"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 99999
|
|
Expected (operandRight): 99998" tag="should FAIL 3"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1.00001e-05
|
|
Expected (operandRight): 9.9999e-06" tag="should FAIL 4"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 9.9999e+37
|
|
Expected (operandRight): 9.9997e+37" tag="should FAIL 5"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 0" tag="should FAIL: NaN != 0"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): nan" tag="should FAIL: 0 != NaN"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 1" tag="should FAIL: NaN != 1"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): nan" tag="should FAIL: 1 != NaN"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -inf" tag="should FAIL: inf != -inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): inf" tag="should FAIL: -inf != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): nan" tag="should FAIL: inf != nan"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): inf" tag="should FAIL: nan != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): nan" tag="should FAIL: -inf != nan"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): -inf" tag="should FAIL: nan != -inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 0" tag="should FAIL: inf != 0"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): inf" tag="should FAIL: 0 != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 0" tag="should FAIL: -inf != 0"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): -inf" tag="should FAIL: 0 != -inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 1" tag="should FAIL: inf != 1"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): inf" tag="should FAIL: 1 != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 1" tag="should FAIL: -inf != 1"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): -inf" tag="should FAIL: 1 != -inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 3.40282e+38" tag="should FAIL: inf != max"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -3.40282e+38" tag="should FAIL: inf != -max"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 3.40282e+38
|
|
Expected (operandRight): inf" tag="should FAIL: max != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -3.40282e+38
|
|
Expected (operandRight): inf" tag="should FAIL: -max != inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 3.40282e+38" tag="should FAIL: -inf != max"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): -3.40282e+38" tag="should FAIL: -inf != -max"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 3.40282e+38
|
|
Expected (operandRight): -inf" tag="should FAIL: max != -inf"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -3.40282e+38
|
|
Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/>
|
|
</testcase>
|
|
<testcase name="float16Comparisons" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): 3" tag="should FAIL 1"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0.001
|
|
Expected (operandRight): 0.003" tag="should FAIL 2"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 98
|
|
Expected (operandRight): 99" tag="should FAIL 3"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0.001
|
|
Expected (operandRight): -0.001" tag="should PASS 3"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0.00101
|
|
Expected (operandRight): 0.00099" tag="should FAIL 4"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 5.94e+04
|
|
Expected (operandRight): 5.88e+04" tag="should FAIL 5"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 0" tag="should FAIL: NaN != 0"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): nan" tag="should FAIL: 0 != NaN"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): 1" tag="should FAIL: NaN != 1"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): nan" tag="should FAIL: 1 != NaN"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -inf" tag="should FAIL: inf != -inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): inf" tag="should FAIL: -inf != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): nan" tag="should FAIL: inf != nan"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): inf" tag="should FAIL: nan != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): nan" tag="should FAIL: -inf != nan"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : nan
|
|
Expected (operandRight): -inf" tag="should FAIL: nan != -inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 0" tag="should FAIL: inf != 0"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): inf" tag="should FAIL: 0 != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 0" tag="should FAIL: -inf != 0"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 0
|
|
Expected (operandRight): -inf" tag="should FAIL: 0 != -inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 1" tag="should FAIL: inf != 1"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): inf" tag="should FAIL: 1 != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 1" tag="should FAIL: -inf != 1"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 1
|
|
Expected (operandRight): -inf" tag="should FAIL: 1 != -inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): 6.55e+04" tag="should FAIL: inf != max"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : inf
|
|
Expected (operandRight): -6.55e+04" tag="should FAIL: inf != -max"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 6.55e+04
|
|
Expected (operandRight): inf" tag="should FAIL: max != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -6.55e+04
|
|
Expected (operandRight): inf" tag="should FAIL: -max != inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): 6.55e+04" tag="should FAIL: -inf != max"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -inf
|
|
Expected (operandRight): -6.55e+04" tag="should FAIL: -inf != -max"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : 6.55e+04
|
|
Expected (operandRight): -inf" tag="should FAIL: max != -inf"/>
|
|
<failure result="fail" message="Compared qfloat16s are not the same (fuzzy compare)
|
|
Actual (operandLeft) : -6.55e+04
|
|
Expected (operandRight): -inf" tag="should FAIL: -max != -inf"/>
|
|
</testcase>
|
|
<testcase name="compareFloatTests" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (t1): 1
|
|
Expected (t3): 3" tag="1e0"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (t1): 1e-05
|
|
Expected (t3): 3e-05" tag="1e-5"/>
|
|
<failure result="fail" message="Compared floats are not the same (fuzzy compare)
|
|
Actual (t1): 1e+07
|
|
Expected (t3): 3e+07" tag="1e+7"/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<system-err/>
|
|
</testsuite>
|