forked from qt-creator/qt-creator
AutoTest: Fix handling of data tags in test results
Avoid adding test functions again and put further data tags directly below the respective test function. Change-Id: I29775b836cc4584358ee67b5f07744986c6a6591 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -161,6 +161,13 @@ QColor TestResult::colorForType(const Result::Type type)
|
||||
}
|
||||
}
|
||||
|
||||
bool TestResult::isMessageCaseStart(const Result::Type type)
|
||||
{
|
||||
return type == Result::MessageTestCaseStart || type == Result::MessageTestCaseSuccess
|
||||
|| type == Result::MessageTestCaseFail || type == Result::MessageTestCaseWarn
|
||||
|| type == Result::MessageIntermediate;
|
||||
}
|
||||
|
||||
bool TestResult::isDirectParentOf(const TestResult *other, bool * /*needsIntermediate*/) const
|
||||
{
|
||||
QTC_ASSERT(other, return false);
|
||||
|
||||
Reference in New Issue
Block a user