|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface STestRun
Represents a single test run (execution) in a particular build.
| Field Summary | |
|---|---|
static java.util.Comparator<STestRun> |
NEW_FIRST_NAME_COMPARATOR
|
| Method Summary | |
|---|---|
SBuild |
getBuild()
Returns corresponding build instance. |
int |
getDuration()
Returns test duration. |
TestFailureInfo |
getFailureInfo()
Returns corresponding test failure info (if exists) |
SBuild |
getFirstFailed()
Returns the first build in a failing sequence containing this test run |
SBuild |
getFixedIn()
Returns the first build in which test is fixed after a failing sequence containing this test run |
java.lang.String |
getFullText()
Returns complete test output, including stdout, stderr and exceptions |
java.lang.String |
getIgnoreComment()
Returns ignore comment, if available |
MuteInfo |
getMuteInfo()
Returns the brief mute information for this test run. |
int |
getOrderId()
Returns ordinal number of this test in the build |
Status |
getStatus()
Returns test status |
STest |
getTest()
Returns corresponding test instance. |
int |
getTestRunId()
Returns the system-wide unique test run id |
boolean |
isFixed()
Returns true iff this test was fixed after this failure. |
boolean |
isMuted()
Returns whether this test run is marked as muted (this is applicable for failed tests only). |
boolean |
isNewFailure()
Returns whether this test is failed and it was not failed in previous builds |
| Field Detail |
|---|
static final java.util.Comparator<STestRun> NEW_FIRST_NAME_COMPARATOR
| Method Detail |
|---|
@NotNull STest getTest()
Note: the instance might or might not be shared between different test runs of one test.
@NotNull SBuild getBuild()
Note: each test run has an associated build, but depending on how this test run instance was
created build might not be populated. In this case a UnsupportedOperationException is thrown.
int getOrderId()
int getTestRunId()
int getDuration()
@NotNull Status getStatus()
@Nullable TestFailureInfo getFailureInfo()
@Nullable SBuild getFirstFailed()
@Nullable SBuild getFixedIn()
boolean isFixed()
boolean isNewFailure()
boolean isMuted()
getMuteInfo()@Nullable MuteInfo getMuteInfo()
isMuted()@Nullable java.lang.String getFullText()
@Nullable java.lang.String getIgnoreComment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||