summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-02-14 11:52:40 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-14 06:19:16 +0100
commitab9be7cc23e52c2b5a43c66ec53bcb961188f924 (patch)
tree1586575ae8d7a78d412eaf03f2be2e1a93e2ec1c /tests/auto/corelib/xml/qxmlstream
parent1cda7678a61cb5807d73a06e96fdc3068001d9fb (diff)
Eliminate duplicate data row names from corelib autotests.
Change-Id: I57a37f19746b76c6c9c3534f5c66c5a5478dae24 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
index 0ce0da06aa..bd9fa2a8db 100644
--- a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
+++ b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
@@ -674,7 +674,7 @@ void tst_QXmlStream::reportSuccess_data() const
const int len = m_handler.successes.count();
for(int i = 0; i < len; ++i)
- QTest::newRow(m_handler.successes.at(i).toLatin1().constData()) << false;
+ QTest::newRow(qPrintable(QString("%1. %2").arg(i).arg(m_handler.successes.at(i)))) << false;
if(len == 0)
QTest::newRow("No test cases succeeded.") << true;