tests/auto/selftests/expected_badxml.xml
branchRCL_3
changeset 13 c0432d11811c
equal deleted inserted replaced
12:cc75c76972ee 13:c0432d11811c
       
     1 <?xml version="1.0" encoding="ISO-8859-1"?>
       
     2 <TestCase name="tst_BadXml">
       
     3 <Environment>
       
     4     <QtVersion>4.6.3</QtVersion>
       
     5     <QTestVersion>4.6.3</QTestVersion>
       
     6 </Environment>
       
     7 <TestFunction name="initTestCase">
       
     8 <Incident type="pass" file="" line="0" />
       
     9 </TestFunction>
       
    10 <TestFunction name="badDataTag">
       
    11 <Message type="qdebug" file="" line="0">
       
    12     <DataTag><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></DataTag>
       
    13     <Description><![CDATA[a message]]></Description>
       
    14 </Message>
       
    15 <Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109">
       
    16     <DataTag><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></DataTag>
       
    17     <Description><![CDATA[a failure]]></Description>
       
    18 </Incident>
       
    19 <BenchmarkResult metric="events" tag="end cdata ]]&gt; text ]]&gt; more text" value="0" iterations="1" />
       
    20 <Message type="qdebug" file="" line="0">
       
    21     <DataTag><![CDATA[quotes " text" more text]]></DataTag>
       
    22     <Description><![CDATA[a message]]></Description>
       
    23 </Message>
       
    24 <Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109">
       
    25     <DataTag><![CDATA[quotes " text" more text]]></DataTag>
       
    26     <Description><![CDATA[a failure]]></Description>
       
    27 </Incident>
       
    28 <BenchmarkResult metric="events" tag="quotes &quot; text&quot; more text" value="0" iterations="1" />
       
    29 <Message type="qdebug" file="" line="0">
       
    30     <DataTag><![CDATA[xml close > open < tags < text]]></DataTag>
       
    31     <Description><![CDATA[a message]]></Description>
       
    32 </Message>
       
    33 <Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109">
       
    34     <DataTag><![CDATA[xml close > open < tags < text]]></DataTag>
       
    35     <Description><![CDATA[a failure]]></Description>
       
    36 </Incident>
       
    37 <BenchmarkResult metric="events" tag="xml close &gt; open &lt; tags &lt; text" value="0" iterations="1" />
       
    38 <Message type="qdebug" file="" line="0">
       
    39     <DataTag><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></DataTag>
       
    40     <Description><![CDATA[a message]]></Description>
       
    41 </Message>
       
    42 <Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109">
       
    43     <DataTag><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></DataTag>
       
    44     <Description><![CDATA[a failure]]></Description>
       
    45 </Incident>
       
    46 <BenchmarkResult metric="events" tag="all &gt; &quot; mixed ]]&gt; up &gt; &quot; in &lt; the ]]&gt; hopes &lt; of triggering &quot;&lt; ]]&gt; bugs" value="0" iterations="1" />
       
    47 </TestFunction>
       
    48 <TestFunction name="badMessage">
       
    49 <Message type="qdebug" file="" line="0">
       
    50     <DataTag><![CDATA[string 0]]></DataTag>
       
    51     <Description><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></Description>
       
    52 </Message>
       
    53 <Message type="qdebug" file="" line="0">
       
    54     <DataTag><![CDATA[string 1]]></DataTag>
       
    55     <Description><![CDATA[quotes " text" more text]]></Description>
       
    56 </Message>
       
    57 <Message type="qdebug" file="" line="0">
       
    58     <DataTag><![CDATA[string 2]]></DataTag>
       
    59     <Description><![CDATA[xml close > open < tags < text]]></Description>
       
    60 </Message>
       
    61 <Message type="qdebug" file="" line="0">
       
    62     <DataTag><![CDATA[string 3]]></DataTag>
       
    63     <Description><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></Description>
       
    64 </Message>
       
    65 <Incident type="pass" file="" line="0" />
       
    66 </TestFunction>
       
    67 <TestFunction name="failWithNoFile">
       
    68 <Incident type="fail" file="" line="0">
       
    69     <Description><![CDATA[failure message]]></Description>
       
    70 </Incident>
       
    71 </TestFunction>
       
    72 <TestFunction name="cleanupTestCase">
       
    73 <Incident type="pass" file="" line="0" />
       
    74 </TestFunction>
       
    75 </TestCase>