summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestxmlstreamer.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-05-06 00:34:40 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-05-06 01:04:52 (GMT)
commit9a60df38330c8a37d48e4e3f8fbdfc067b320cb5 (patch)
treed306169543959ff95324fd4a0fd7fc68af021799 /src/testlib/qtestxmlstreamer.cpp
parent2d194009379a4e199ec246ca053ee97ee733482f (diff)
downloadQt-9a60df38330c8a37d48e4e3f8fbdfc067b320cb5.zip
Qt-9a60df38330c8a37d48e4e3f8fbdfc067b320cb5.tar.gz
Qt-9a60df38330c8a37d48e4e3f8fbdfc067b320cb5.tar.bz2
Fixed invalid XML from testlib.
Obvious typo in format string: `<DataTag><![CDATA[%s]]></Description>', closing tag should be `DataTag'. Autotest: 2d194009379a4e199ec246ca053ee97ee733482f
Diffstat (limited to 'src/testlib/qtestxmlstreamer.cpp')
-rw-r--r--src/testlib/qtestxmlstreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestxmlstreamer.cpp b/src/testlib/qtestxmlstreamer.cpp
index cf99b96..055abe0 100644
--- a/src/testlib/qtestxmlstreamer.cpp
+++ b/src/testlib/qtestxmlstreamer.cpp
@@ -54,7 +54,7 @@ void QTestXmlStreamer::formatStart(const QTestElement *element, char *formatted)
QXmlTestLogger::xmlCdata(cdataTag, element->attributeValue(QTest::AI_Tag),
sizeof(cdataTag));
QTest::qt_snprintf(formatted, 1024, "<Incident type=\"%s\" %s>\n"
- " <DataTag><![CDATA[%s]]></Description>\n"
+ " <DataTag><![CDATA[%s]]></DataTag>\n"
" <Description><![CDATA[%s]]></Description>\n"
"</Incident>\n", element->attributeValue(QTest::AI_Result),
location, cdataTag, cdataDesc);