public interface TestCaseResult extends BambooObject, NameProvider, Comparable<TestCaseResult>
Modifier and Type | Method and Description |
---|---|
TestDeltaState |
getDeltaState()
Return the Delta state for this test, e.g.
|
long |
getDuration()
How long the test took to run
|
List<TestCaseResultError> |
getErrors() |
int |
getFailingSince()
If in delta state FAILING, return the build number for the build that this test started failing in.
|
String |
getMethodName() |
String |
getName() |
String |
getPrettyDuration() |
TestState |
getState()
Get the state of this test run, e.g.
|
TestCase |
getTestCase() |
TestClassResult |
getTestClassResult() |
boolean |
isQuarantined()
Check if the test case result was quarantined
|
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
|
setId
getId
compareTo
String getName()
getName
in interface NameProvider
String getMethodName()
String getPrettyDuration()
long getDuration()
TestClassResult getTestClassResult()
@NotNull 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 sinceboolean isQuarantined()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.