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:
@@ -84,7 +84,7 @@ bool QtTestResult::isDirectParentOf(const TestResult *other, bool *needsIntermed
|
||||
return false;
|
||||
const QtTestResult *qtOther = static_cast<const QtTestResult *>(other);
|
||||
|
||||
if (TestResult::isMessageCaseStart(result())) {
|
||||
if (result() == ResultType::TestStart) {
|
||||
if (qtOther->isDataTag()) {
|
||||
if (qtOther->m_function == m_function) {
|
||||
if (m_dataTag.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user