AutoTest: Fix result tree for google test

Change-Id: I1f4a361a3c4ceb77c221d6549e42a1b7803ef305
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2016-12-14 13:30:33 +01:00
parent 41ceac474b
commit b9fc628bb9
6 changed files with 39 additions and 28 deletions

View File

@@ -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();
}