forked from qt-creator/qt-creator
Make test result distinguishable more easily
This additionally fixes the output of the gtest related test cases. Change-Id: Ia9e19604ffe387752b08db4a4ad9a9e255d210a3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -48,7 +48,10 @@ QString TestResultDelegate::outputString(const TestResult &testResult, bool sele
|
||||
case Result::UnexpectedPass:
|
||||
case Result::BlacklistedFail:
|
||||
case Result::BlacklistedPass:
|
||||
output = testResult.className() + QLatin1String("::") + testResult.testCase();
|
||||
if (testResult.type() == TestResult::Qt)
|
||||
output = testResult.className() + QLatin1String("::") + testResult.testCase();
|
||||
else // TestResult::GTest
|
||||
output = testResult.testCase();
|
||||
if (!testResult.dataTag().isEmpty())
|
||||
output.append(QString::fromLatin1(" (%1)").arg(testResult.dataTag()));
|
||||
if (selected && !desc.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user