|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.util.NamedDataGroup<STestRun>
jetbrains.buildServer.serverSide.TestGroup
public class TestGroup
This class was created to represent a group of tests. Tests could be grouped by name, package, etc.
| Nested Class Summary | |
|---|---|
static class |
TestGroup.Order
|
| Nested classes/interfaces inherited from class jetbrains.buildServer.util.NamedDataGroup |
|---|
NamedDataGroup.GroupExtractor<Item> |
| Constructor Summary | |
|---|---|
TestGroup(java.util.List<STestRun> tests)
Create root test group with given tests |
|
TestGroup(TestGroupName groupName)
Create test group with given group name |
|
| Method Summary | |
|---|---|
long |
getDuration()
Return summary duration of the tests included into this group (with subgroups) |
int |
getFailedTestCount()
|
TestGroupName |
getGroupName()
Return low-level object for group name formatting |
int |
getIgnoredTestCount()
|
int |
getTestCount()
|
void |
sortTestsByGroups()
Sort tests alphabetically considering suite, package, class, testname + parameters |
| Methods inherited from class jetbrains.buildServer.util.NamedDataGroup |
|---|
addGroup, addItem, getGroups, getItems, getName, getParent, groupBy, removeGroup, setGroups, setItems, setParent, sortGroups |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestGroup(java.util.List<STestRun> tests)
tests - tests for the grouppublic TestGroup(TestGroupName groupName)
groupName - name of the group| Method Detail |
|---|
public TestGroupName getGroupName()
public long getDuration()
public int getFailedTestCount()
public int getIgnoredTestCount()
public int getTestCount()
public void sortTestsByGroups()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||