forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.13' into 4.14
Change-Id: Ia20a937786be651a5fe9daefb856f7779905ef68
This commit is contained in:
@@ -395,7 +395,7 @@ int TestResultModel::resultTypeCount(ResultType type) const
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
for (const auto &id : m_reportedSummary.keys()) {
|
||||
for (const auto &id : m_testResultCount.keys()) {
|
||||
// if we got a result count from the framework prefer that over our counted results
|
||||
int reported = m_reportedSummary[id].value(type);
|
||||
result += reported != 0 ? reported : m_testResultCount.value(id).value(type);
|
||||
|
||||
Reference in New Issue
Block a user