forked from qt-creator/qt-creator
AutoTest: Fix result tree for google test
Change-Id: I1f4a361a3c4ceb77c221d6549e42a1b7803ef305 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -58,6 +58,8 @@ bool GTestResult::isDirectParentOf(const TestResult *other, bool *needsIntermedi
|
||||
return false;
|
||||
|
||||
const GTestResult *gtOther = static_cast<const GTestResult *>(other);
|
||||
if (m_iteration != gtOther->m_iteration)
|
||||
return false;
|
||||
return isTest() && gtOther->isTestSet();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user