tests/auto/selftests/expected_subtest.xunitxml
branchRCL_3
changeset 14 c0432d11811c
child 25 e24348a560a6
equal deleted inserted replaced
13:cc75c76972ee 14:c0432d11811c
       
     1 <?xml version="1.0" encoding="UTF-8" ?>
       
     2 <testsuite errors="0" failures="7" tests="7" name="tst_Subtest">
       
     3   <properties>
       
     4     <property value="4.6.3" name="QTestVersion"/>
       
     5     <property value="4.6.3" name="QtVersion"/>
       
     6   </properties>
       
     7   <testcase result="pass" name="initTestCase"/>
       
     8   <testcase result="pass" name="test1"/>
       
     9   <testcase result="pass" name="test2"/>
       
    10   <testcase result="fail" name="test3">
       
    11     <failure tag="data1" message="Compared values are not the same
       
    12    Actual (str): hello1
       
    13    Expected (QString(&quot;hello0&quot;)): hello0" result="fail"/>
       
    14     <failure tag="data2" message="Compared values are not the same
       
    15    Actual (str): hello2
       
    16    Expected (QString(&quot;hello0&quot;)): hello0" result="fail"/>
       
    17   </testcase>
       
    18   <testcase result="fail" name="floatComparisons">
       
    19     <failure tag="should FAIL" message="Compared floats are not the same (fuzzy compare)
       
    20    Actual (operandLeft): 1
       
    21    Expected (operandRight): 3" result="fail"/>
       
    22     <failure tag="should FAIL" message="Compared floats are not the same (fuzzy compare)
       
    23    Actual (operandLeft): 1e&#x002D;07
       
    24    Expected (operandRight): 3e&#x002D;07" result="fail"/>
       
    25   </testcase>
       
    26   <testcase result="fail" name="compareFloatTests">
       
    27     <failure tag="1e0" message="Compared floats are not the same (fuzzy compare)
       
    28    Actual (t1): 1
       
    29    Expected (t3): 3" result="fail"/>
       
    30     <failure tag="1e&#x002D;7" message="Compared floats are not the same (fuzzy compare)
       
    31    Actual (t1): 1e&#x002D;07
       
    32    Expected (t3): 3e&#x002D;07" result="fail"/>
       
    33     <failure tag="1e+7" message="Compared floats are not the same (fuzzy compare)
       
    34    Actual (t1): 1e+07
       
    35    Expected (t3): 3e+07" result="fail"/>
       
    36   </testcase>
       
    37   <testcase result="pass" name="cleanupTestCase"/>
       
    38   <system-err/>
       
    39 </testsuite>