summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-29 08:42:01 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-29 08:42:01 (GMT)
commit872fd4dea1cb27b454617286508c4855c96fae95 (patch)
tree31880bcd44f06fc5b6c800b0706bdaf3c6e55520 /src/testlib
parentb92af638742da2e8e8149b46c4ba4f09a86e9f52 (diff)
downloadQt-872fd4dea1cb27b454617286508c4855c96fae95.zip
Qt-872fd4dea1cb27b454617286508c4855c96fae95.tar.gz
Qt-872fd4dea1cb27b454617286508c4855c96fae95.tar.bz2
Testlib XML flush: use benchmarkMetricName (identifier) overall instead of benchmarkMetricUnit (human text)
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qxmltestlogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qxmltestlogger.cpp b/src/testlib/qxmltestlogger.cpp
index 2236666..07e8ef0 100644
--- a/src/testlib/qxmltestlogger.cpp
+++ b/src/testlib/qxmltestlogger.cpp
@@ -244,7 +244,7 @@ void QXmlTestLogger::addBenchmarkResult(const QBenchmarkResult &result)
QTestCharBuffer quotedTag;
xmlQuote(&quotedMetric,
- benchmarkMetricUnit(result.metric));
+ benchmarkMetricName(result.metric));
xmlQuote(&quotedTag, result.context.tag.toAscii().constData());
QTest::qt_asprintf(