AutoTest: Add suite layer for tests

Test suites are used in several test frameworks. To avoid
fiddling around with the types and their meaning on the
frameworks side just add another type (TestSuite) that can
be used.
Frameworks can use or ignore this type as it is done already
for other types.

Change-Id: I6c2a312a32ce5716f55b49303e2b1a0f6f8e8da4
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-05-14 11:26:16 +02:00
parent 9c06940dc9
commit efa7a5a4d4
8 changed files with 13 additions and 6 deletions

View File

@@ -364,7 +364,7 @@ bool QuickTestTreeItem::modify(const TestParseResult *result)
switch (type()) {
case TestCase:
return result->name.isEmpty() ? false : modifyTestCaseContent(result);
return result->name.isEmpty() ? false : modifyTestCaseOrSuiteContent(result);
case TestFunctionOrSet:
case TestDataFunction:
case TestSpecialFunction: