diff options
author | Jo Asplin <jo.asplin@nokia.com> | 2011-09-09 09:57:55 +0200 |
---|---|---|
committer | Jo Asplin <jo.asplin@nokia.com> | 2011-09-12 08:36:15 +0200 |
commit | 87ee3824190c44b99a22a0e214dc435fa11ff7ef (patch) | |
tree | a6953a26a4519e69e1911bca09b701a38a3d2e7f /tests/auto/testlib/selftests/expected_badxml.xml | |
parent | a9ac6da893ac10ce160c9eb80141508881cd71e2 (diff) |
Moved autotests in category 'testlib' into new directory structure
Task-number: QTBUG-21353
Change-Id: I2e2ad4b7570f80b3e6500821f769e967f0a75027
Reviewed-on: http://codereview.qt-project.org/4438
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_badxml.xml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_badxml.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_badxml.xml b/tests/auto/testlib/selftests/expected_badxml.xml new file mode 100644 index 0000000000..a33c8d251e --- /dev/null +++ b/tests/auto/testlib/selftests/expected_badxml.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<TestCase name="tst_BadXml"> +<Environment> + <QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion> + <QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion> +</Environment> +<TestFunction name="initTestCase"> +<Incident type="pass" file="" line="0" /> +</TestFunction> +<TestFunction name="badDataTag"> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></DataTag> + <Description><![CDATA[a message]]></Description> +</Message> +<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109"> + <DataTag><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></DataTag> + <Description><![CDATA[a failure]]></Description> +</Incident> +<BenchmarkResult metric="Events" tag="end cdata ]]> text ]]> more text" value="0" iterations="1" /> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[quotes " text" more text]]></DataTag> + <Description><![CDATA[a message]]></Description> +</Message> +<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109"> + <DataTag><![CDATA[quotes " text" more text]]></DataTag> + <Description><![CDATA[a failure]]></Description> +</Incident> +<BenchmarkResult metric="Events" tag="quotes " text" more text" value="0" iterations="1" /> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[xml close > open < tags < text]]></DataTag> + <Description><![CDATA[a message]]></Description> +</Message> +<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109"> + <DataTag><![CDATA[xml close > open < tags < text]]></DataTag> + <Description><![CDATA[a failure]]></Description> +</Incident> +<BenchmarkResult metric="Events" tag="xml close > open < tags < text" value="0" iterations="1" /> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></DataTag> + <Description><![CDATA[a message]]></Description> +</Message> +<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/badxml/tst_badxml.cpp" line="109"> + <DataTag><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></DataTag> + <Description><![CDATA[a failure]]></Description> +</Incident> +<BenchmarkResult metric="Events" tag="all > " mixed ]]> up > " in < the ]]> hopes < of triggering "< ]]> bugs" value="0" iterations="1" /> +</TestFunction> +<TestFunction name="badMessage"> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[string 0]]></DataTag> + <Description><![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]></Description> +</Message> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[string 1]]></DataTag> + <Description><![CDATA[quotes " text" more text]]></Description> +</Message> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[string 2]]></DataTag> + <Description><![CDATA[xml close > open < tags < text]]></Description> +</Message> +<Message type="qdebug" file="" line="0"> + <DataTag><![CDATA[string 3]]></DataTag> + <Description><![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]></Description> +</Message> +<Incident type="pass" file="" line="0" /> +</TestFunction> +<TestFunction name="failWithNoFile"> +<Incident type="fail" file="" line="0"> + <Description><![CDATA[failure message]]></Description> +</Incident> +</TestFunction> +<TestFunction name="cleanupTestCase"> +<Incident type="pass" file="" line="0" /> +</TestFunction> +</TestCase> |