|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestCaseResult
Represents a run of a TestCase. Belongs to a TestClassResult.
Method Summary | |
---|---|
TestDeltaState |
getDeltaState()
Return the Delta state for this test, e.g. |
long |
getDuration()
How long the test took to run |
java.util.List<TestCaseResultError> |
getErrors()
|
int |
getFailingSince()
If in delta state FAILING, return the build number for the build that this test started failing in. |
java.lang.String |
getMethodName()
|
java.lang.String |
getName()
|
java.lang.String |
getPrettyDuration()
|
TestState |
getState()
Get the state of this test run, e.g. |
TestCase |
getTestCase()
|
TestClassResult |
getTestClassResult()
|
void |
setDeltaState(TestDeltaState testDeltaState)
Set the delta state for this test (the difference between the state of this test and the state in the last build) |
void |
setFailingSince(int buildNumber)
Set the build number for the build that this test started failing in. |
void |
setTestClassResult(TestClassResult testClassResult)
Set the TestClassResult this test result belongs to |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
TestCase getTestCase()
TestCase
this result belongs tojava.lang.String getName()
getName
in interface NameProvider
java.lang.String getMethodName()
java.lang.String getPrettyDuration()
long getDuration()
TestClassResult getTestClassResult()
@NotNull java.util.List<TestCaseResultError> getErrors()
void setTestClassResult(TestClassResult testClassResult)
testClassResult
- this test result belongs toTestState getState()
TestDeltaState getDeltaState()
void setDeltaState(TestDeltaState testDeltaState)
testDeltaState
- - the delta state for this testint getFailingSince()
void setFailingSince(int buildNumber)
buildNumber
- that the test has been failing since
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |