public interface TestClassResult extends TestClassResultDescriptor, Comparable<TestClassResult>, BambooObject
Modifier and Type | Method and Description |
---|---|
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 |
getSkippedTestCount() |
int |
getSuccessfulTestCount() |
List<TestCaseResult> |
getTestCaseResults()
Deprecated.
since 6.9 returns immutable list use
getTestCaseResultsSet() |
Set<TestCaseResult> |
getTestCaseResultsSet()
Retrieve the TestCaseResults contained within this TestClassResult
|
TestClass |
getTestClass() |
void |
incrementFailedTestCount()
add 1 to the current failed test count
|
void |
incrementSkippedTestCount()
add 1 to the current skipped 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 |
setSkippedTestCount(int skippedTestCount)
Set the number of skipped tests in this group
|
void |
setSuccessfulTestCount(int successfulTestCount)
Set the number of successful tests in this group
|
getName, getShortName
compareTo
setId
getId
TestClass getTestClass()
@NotNull @Deprecated List<TestCaseResult> getTestCaseResults()
getTestCaseResultsSet()
@NotNull Set<TestCaseResult> getTestCaseResultsSet()
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()
void incrementSkippedTestCount()
int getSkippedTestCount()
void setSkippedTestCount(int skippedTestCount)
skippedTestCount
- - number of skipped tests in this groupCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.