summaryrefslogtreecommitdiff
path: root/plugins/autotest/testrunner.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2014-12-05 14:01:16 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2014-12-09 10:33:15 +0200
commitac24550a22ad59712e4cb5ea9955583c25101839 (patch)
treed4ae86dbf4f5f10736ee4866e520778e68a46963 /plugins/autotest/testrunner.cpp
parente71a2c44fc64b3e3ced132731bf57fc6809516e1 (diff)
downloadqt-creator-ac24550a22ad59712e4cb5ea9955583c25101839.tar.gz
Add special message to results pane
This message just states which function actually is executed and will always be on the bottom of the list of results. When test run finishes this message will be completely removed. Change-Id: Ie8fedfc74f67eba71a2bcf55f4dc1553754fca9a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testrunner.cpp')
-rw-r--r--plugins/autotest/testrunner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/autotest/testrunner.cpp b/plugins/autotest/testrunner.cpp
index 4ec7478453..f3f7e37143 100644
--- a/plugins/autotest/testrunner.cpp
+++ b/plugins/autotest/testrunner.cpp
@@ -228,6 +228,10 @@ void processOutput()
result = ResultType::UNKNOWN;
lineNumber = 0;
readingDescription = false;
+ TestResultsPane::instance()->addTestResult(
+ TestResult(className, testCase, QString(), ResultType::MESSAGE_CURRENT_TEST,
+ QObject::tr("Entering Test Function %1::%2")
+ .arg(className).arg(testCase)));
continue;
}
if (xmlStartsWith(line, QLatin1String("<Duration msecs=\""), duration)) {