Commit 97a88064 authored by David Schulz's avatar David Schulz
Browse files

Don't reset class name for empty lines.

Change-Id: Ib8ae9244bb282a10f1696de8f82469474fb0498d
Reviewed-by: default avatarChristian Stenger <>
parent 475c6cea
......@@ -176,12 +176,12 @@ void TestXmlOutputReader::processOutput()
while (m_testApplication->canReadLine()) {
// TODO Qt5 uses UTF-8 - while Qt4 uses ISO-8859-1 - could this be a problem?
const QString line = QString::fromUtf8(m_testApplication->readLine()).trimmed();
if (line.isEmpty() || line.startsWith(QLatin1String("<?xml version"))) {
if (line.isEmpty() || xmlStartsWith(line, QLatin1String("<TestCase name=\""), className))
if (line.startsWith(QLatin1String("<?xml version"))) {
className = QString();
if (xmlStartsWith(line, QLatin1String("<TestCase name=\""), className))
if (xmlStartsWith(line, QLatin1String("<TestFunction name=\""), testCase)) {
dataTag = QString();
description = QString();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment