com.atlassian.bamboo.resultsummary.tests
Class TestResultsSummaryImpl
java.lang.Object
com.atlassian.bamboo.resultsummary.tests.TestResultsSummaryImpl
- All Implemented Interfaces:
- MutableTestResultsSummary, TestResultsSummary
public class TestResultsSummaryImpl
- extends java.lang.Object
- implements MutableTestResultsSummary
Constructor Summary |
TestResultsSummaryImpl()
|
TestResultsSummaryImpl(int successfulTestCaseCount,
int failedTestCaseCount,
int totalTestCaseCount,
int brokenTestCaseCount,
int existingFailedTestCount,
int fixedTestCaseCount,
int quarantinedTestCaseCount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResultsSummaryImpl
public TestResultsSummaryImpl()
TestResultsSummaryImpl
public TestResultsSummaryImpl(int successfulTestCaseCount,
int failedTestCaseCount,
int totalTestCaseCount,
int brokenTestCaseCount,
int existingFailedTestCount,
int fixedTestCaseCount,
int quarantinedTestCaseCount)
getTestSummaryDescription
@NotNull
public java.lang.String getTestSummaryDescription()
- Specified by:
getTestSummaryDescription
in interface TestResultsSummary
hasFailedTestResults
public boolean hasFailedTestResults()
- Specified by:
hasFailedTestResults
in interface TestResultsSummary
hasQuarantinedTestResults
public boolean hasQuarantinedTestResults()
- Specified by:
hasQuarantinedTestResults
in interface TestResultsSummary
hasSuccessfulTestResults
public boolean hasSuccessfulTestResults()
- Specified by:
hasSuccessfulTestResults
in interface TestResultsSummary
incrementSuccessCount
public void incrementSuccessCount()
- Specified by:
incrementSuccessCount
in interface MutableTestResultsSummary
incrementFailedCount
public void incrementFailedCount()
- Specified by:
incrementFailedCount
in interface MutableTestResultsSummary
incrementTotalCount
public void incrementTotalCount()
- Specified by:
incrementTotalCount
in interface MutableTestResultsSummary
incrementNewFailureCount
public void incrementNewFailureCount()
- Specified by:
incrementNewFailureCount
in interface MutableTestResultsSummary
incrementExistingFailureCount
public void incrementExistingFailureCount()
- Specified by:
incrementExistingFailureCount
in interface MutableTestResultsSummary
incrementFixedCount
public void incrementFixedCount()
- Specified by:
incrementFixedCount
in interface MutableTestResultsSummary
incrementQuarantinedCount
public void incrementQuarantinedCount()
- Specified by:
incrementQuarantinedCount
in interface MutableTestResultsSummary
addToTotalDuration
public void addToTotalDuration(long addition)
getSuccessfulTestCaseCount
public int getSuccessfulTestCaseCount()
- Specified by:
getSuccessfulTestCaseCount
in interface TestResultsSummary
setSuccessfulTestCaseCount
public void setSuccessfulTestCaseCount(int successfulTestCaseCount)
- Specified by:
setSuccessfulTestCaseCount
in interface MutableTestResultsSummary
getFailedTestCaseCount
public int getFailedTestCaseCount()
- Specified by:
getFailedTestCaseCount
in interface TestResultsSummary
setFailedTestCaseCount
public void setFailedTestCaseCount(int failedTestCaseCount)
- Specified by:
setFailedTestCaseCount
in interface MutableTestResultsSummary
getTotalTestCaseCount
public int getTotalTestCaseCount()
- Specified by:
getTotalTestCaseCount
in interface TestResultsSummary
setTotalTestCaseCount
public void setTotalTestCaseCount(int totalTestCaseCount)
- Specified by:
setTotalTestCaseCount
in interface MutableTestResultsSummary
getNewFailedTestCaseCount
public int getNewFailedTestCaseCount()
- Specified by:
getNewFailedTestCaseCount
in interface TestResultsSummary
setNewFailedTestCaseCount
public void setNewFailedTestCaseCount(int brokenTestCaseCount)
- Specified by:
setNewFailedTestCaseCount
in interface MutableTestResultsSummary
getExistingFailedTestCount
public int getExistingFailedTestCount()
- Specified by:
getExistingFailedTestCount
in interface TestResultsSummary
setExistingFailedTestCount
public void setExistingFailedTestCount(int existingFailedTestCount)
- Specified by:
setExistingFailedTestCount
in interface MutableTestResultsSummary
getFixedTestCaseCount
public int getFixedTestCaseCount()
- Specified by:
getFixedTestCaseCount
in interface TestResultsSummary
setFixedTestCaseCount
public void setFixedTestCaseCount(int fixedTestCaseCount)
- Specified by:
setFixedTestCaseCount
in interface MutableTestResultsSummary
getQuarantinedTestCaseCount
public int getQuarantinedTestCaseCount()
- Specified by:
getQuarantinedTestCaseCount
in interface TestResultsSummary
setQuarantinedTestCaseCount
public void setQuarantinedTestCaseCount(int quarantinedTestCaseCount)
- Specified by:
setQuarantinedTestCaseCount
in interface MutableTestResultsSummary
getTotalTestDuration
public long getTotalTestDuration()
- Specified by:
getTotalTestDuration
in interface TestResultsSummary
- Returns:
- An aggregate of all test durations that ran in this build, in milliseconds
setTotalTestDuration
public void setTotalTestDuration(long totalTestDuration)
- Specified by:
setTotalTestDuration
in interface MutableTestResultsSummary
addCountsFrom
public void addCountsFrom(@NotNull
TestResultsSummary testResultsSummary)
- Description copied from interface:
MutableTestResultsSummary
- Merges the given
TestResultsSummary
with the current TestResultsSummary
- Specified by:
addCountsFrom
in interface MutableTestResultsSummary
- Parameters:
testResultsSummary
- to merge from
Copyright © 2012 Atlassian. All Rights Reserved.