forked from qt-creator/qt-creator
AutoTest: Improve test results summary items display
Instead of letting warn prevail over pass and fail over warn just add warn as additional visual marker at the icons and keep the original test result. Task-number: QTCREATORBUG-18311 Change-Id: Ia67288fa84598b02c20fc1019799b1bb9282d63e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -41,8 +41,8 @@ const static int outputLimit = 100000;
|
||||
|
||||
static bool isSummaryItem(Result::Type type)
|
||||
{
|
||||
return type == Result::MessageTestCaseSuccess || type == Result::MessageTestCaseFail
|
||||
|| type == Result::MessageTestCaseWarn;
|
||||
return type == Result::MessageTestCaseSuccess || type == Result::MessageTestCaseSuccessWarn
|
||||
|| type == Result::MessageTestCaseFail || type == Result::MessageTestCaseFailWarn;
|
||||
}
|
||||
|
||||
TestResultDelegate::TestResultDelegate(QObject *parent)
|
||||
|
||||
Reference in New Issue
Block a user