diff options
Diffstat (limited to 'tests/auto/testlib/selftests/expected_float.xunitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_float.xunitxml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_float.xunitxml b/tests/auto/testlib/selftests/expected_float.xunitxml new file mode 100644 index 0000000000..f88e5e410e --- /dev/null +++ b/tests/auto/testlib/selftests/expected_float.xunitxml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<testsuite errors="0" failures="5" tests="4" name="tst_float"> + <properties> + <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/> + <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/> + </properties> + <testcase result="pass" name="initTestCase"/> + <testcase result="fail" name="floatComparisons"> + <failure tag="should FAIL" message="Compared floats are not the same (fuzzy compare) + Actual (operandLeft): 1 + Expected (operandRight): 3" result="fail"/> + <failure tag="should FAIL" message="Compared floats are not the same (fuzzy compare) + Actual (operandLeft): 1e-07 + Expected (operandRight): 3e-07" result="fail"/> + </testcase> + <testcase result="fail" name="compareFloatTests"> + <failure tag="1e0" message="Compared floats are not the same (fuzzy compare) + Actual (t1): 1 + Expected (t3): 3" result="fail"/> + <failure tag="1e-7" message="Compared floats are not the same (fuzzy compare) + Actual (t1): 1e-07 + Expected (t3): 3e-07" result="fail"/> + <failure tag="1e+7" message="Compared floats are not the same (fuzzy compare) + Actual (t1): 1e+07 + Expected (t3): 3e+07" result="fail"/> + </testcase> + <testcase result="pass" name="cleanupTestCase"/> + <system-err/> +</testsuite> |