diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-04-20 09:07:06 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-04-23 06:35:07 +0000 |
commit | fccff5982f30fdcf991617eaa2b3953fe669a025 (patch) | |
tree | 7aaba75fbe3ecf96e2957098afc7770e613748a9 /src | |
parent | 8c8313094fd0a035b4684bb93fec9d337ba7973a (diff) | |
download | qt-creator-fccff5982f30fdcf991617eaa2b3953fe669a025.tar.gz |
AutoTest: Reflect fatals on badge as well
So far only fails and unexpected passes had been counted
as issues for the badge number. If there are only passes
but at least one fatal you did not notice this until you
have opened the results pane.
Change-Id: I48e93850e56a5bc77e4a9ba2c35e3653ec24b19e
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/autotest/testresultspane.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotest/testresultspane.cpp b/src/plugins/autotest/testresultspane.cpp index cfdc4b4ba0..3286d5490c 100644 --- a/src/plugins/autotest/testresultspane.cpp +++ b/src/plugins/autotest/testresultspane.cpp @@ -224,6 +224,7 @@ void TestResultsPane::addTestResult(const TestResultPtr &result) m_model->addTestResult(result, m_expandCollapse->isChecked()); setIconBadgeNumber(m_model->resultTypeCount(Result::Fail) + + m_model->resultTypeCount(Result::MessageFatal) + m_model->resultTypeCount(Result::UnexpectedPass)); flash(); navigateStateChanged(); |