Commit 2f1018ab authored by Christian Stenger's avatar Christian Stenger
Browse files

Fix missing MessageTestCaseEnd for Qt4 based tests

Qt4 based tests have no duration, so this message had been omitted

Change-Id: I11b03234c8f7fd022e951728b70ae186091c15d9
Reviewed-by: default avatarNiels Weber <>
parent b13373e4
......@@ -282,10 +282,12 @@ void TestOutputReader::processOutput()
emit increaseProgress();
} else if (currentTag == QStringLiteral("TestCase") && !duration.isEmpty()) {
} else if (currentTag == QStringLiteral("TestCase")) {
auto testResult = new TestResult(className);
testResult->setDescription(tr("Test execution took %1 ms.").arg(duration));
duration.isEmpty() ? tr("Test finished.")
: tr("Test execution took %1 ms.").arg(duration));
} else if (validEndTags.contains(currentTag.toString())) {
auto testResult = new TestResult(className);
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