forked from qt-creator/qt-creator
AutoTest: Redo evaluation of result summary items
By moving this functionality completely into the tree item it is possible to eliminate superfluous enum values that basically represented the same item but in different states. Change-Id: I2e6b6462bbaae51bdf6822fde198aea36f951c7f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -647,7 +647,8 @@ QString TestResultsPane::getWholeOutput(const QModelIndex &parent)
|
||||
QModelIndex current = m_model->index(row, 0, parent);
|
||||
const TestResult *result = m_model->testResult(current);
|
||||
QTC_ASSERT(result, continue);
|
||||
output.append(TestResult::resultToString(result->result())).append('\t');
|
||||
if (auto item = m_model->itemForIndex(current))
|
||||
output.append(item->resultString()).append('\t');
|
||||
output.append(result->outputString(true)).append('\n');
|
||||
output.append(getWholeOutput(current));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user