|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestClassResult
Represents a run of a test class. It groups and provides summary information for testCaseResults
Method Summary | |
---|---|
void |
addTestCase(TestCaseResult testCaseResult)
Add a testCase to this TestClassResult (to this group) |
BuildResultsSummary |
getBuildResultsSummary()
|
long |
getDuration()
The total running time (in milliseconds) for this class (cumulation of all TestCaseResults durations) |
int |
getFailedTestCount()
|
int |
getSuccessfulTestCount()
|
java.util.List<TestCaseResult> |
getTestCaseResults()
Retrieve the TestCaseResults contained within this TestClassResult |
TestClass |
getTestClass()
|
void |
incrementFailedTestCount()
add 1 to the current failed test count |
void |
incrementSuccessfulTestCount()
add 1 to the current successful test count |
void |
setDuration(long duration)
Set how long this testClassResult took. |
void |
setFailedTestCount(int failedTestCount)
Set the number of failing tests in this group |
void |
setSuccessfulTestCount(int successfulTestCount)
Set the number of successful tests in this group |
Methods inherited from interface com.atlassian.bamboo.resultsummary.tests.TestClassResultDescriptor |
---|
getName, getShortName |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
TestClass getTestClass()
@NotNull java.util.List<TestCaseResult> getTestCaseResults()
void addTestCase(TestCaseResult testCaseResult)
testCaseResult
- to addlong getDuration()
void setDuration(long duration)
duration
- - time in millisecondsint getFailedTestCount()
void setFailedTestCount(int failedTestCount)
failedTestCount
- - number of failed tests in this groupint getSuccessfulTestCount()
void setSuccessfulTestCount(int successfulTestCount)
successfulTestCount
- - number of successful tests in this groupvoid incrementSuccessfulTestCount()
void incrementFailedTestCount()
BuildResultsSummary getBuildResultsSummary()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |