public class TestResultsSummaryImpl extends Object implements MutableTestResultsSummary
Constructor and Description |
---|
TestResultsSummaryImpl() |
TestResultsSummaryImpl(int successfulTestCaseCount,
int failedTestCaseCount,
int totalTestCaseCount,
int brokenTestCaseCount,
int existingFailedTestCount,
int fixedTestCaseCount,
int quarantinedTestCaseCount,
int skippedTestCaseCount) |
public TestResultsSummaryImpl()
public TestResultsSummaryImpl(int successfulTestCaseCount, int failedTestCaseCount, int totalTestCaseCount, int brokenTestCaseCount, int existingFailedTestCount, int fixedTestCaseCount, int quarantinedTestCaseCount, int skippedTestCaseCount)
@NotNull public String getTestSummaryDescription()
getTestSummaryDescription
in interface TestResultsSummary
public boolean hasFailedTestResults()
hasFailedTestResults
in interface TestResultsSummary
public boolean hasQuarantinedTestResults()
hasQuarantinedTestResults
in interface TestResultsSummary
public boolean hasIgnoredTestResults()
hasIgnoredTestResults
in interface TestResultsSummary
public boolean hasSuccessfulTestResults()
hasSuccessfulTestResults
in interface TestResultsSummary
public void incrementSuccessCount()
incrementSuccessCount
in interface MutableTestResultsSummary
public void incrementFailedCount()
incrementFailedCount
in interface MutableTestResultsSummary
public void incrementSkippedCount()
incrementSkippedCount
in interface MutableTestResultsSummary
public void incrementTotalCount()
incrementTotalCount
in interface MutableTestResultsSummary
public void incrementNewFailureCount()
incrementNewFailureCount
in interface MutableTestResultsSummary
public void incrementExistingFailureCount()
incrementExistingFailureCount
in interface MutableTestResultsSummary
public void incrementFixedCount()
incrementFixedCount
in interface MutableTestResultsSummary
public void incrementQuarantinedCount()
incrementQuarantinedCount
in interface MutableTestResultsSummary
public void addToTotalDuration(long addition)
addToTotalDuration
in interface MutableTestResultsSummary
public int getSuccessfulTestCaseCount()
getSuccessfulTestCaseCount
in interface TestResultsSummary
public void setSuccessfulTestCaseCount(int successfulTestCaseCount)
setSuccessfulTestCaseCount
in interface MutableTestResultsSummary
public int getFailedTestCaseCount()
getFailedTestCaseCount
in interface TestResultsSummary
public void setFailedTestCaseCount(int failedTestCaseCount)
setFailedTestCaseCount
in interface MutableTestResultsSummary
public int getTotalTestCaseCount()
getTotalTestCaseCount
in interface TestResultsSummary
public void setTotalTestCaseCount(int totalTestCaseCount)
setTotalTestCaseCount
in interface MutableTestResultsSummary
public int getNewFailedTestCaseCount()
getNewFailedTestCaseCount
in interface TestResultsSummary
public void setNewFailedTestCaseCount(int brokenTestCaseCount)
setNewFailedTestCaseCount
in interface MutableTestResultsSummary
public int getExistingFailedTestCount()
getExistingFailedTestCount
in interface TestResultsSummary
public void setExistingFailedTestCount(int existingFailedTestCount)
setExistingFailedTestCount
in interface MutableTestResultsSummary
public int getFixedTestCaseCount()
getFixedTestCaseCount
in interface TestResultsSummary
public void setFixedTestCaseCount(int fixedTestCaseCount)
setFixedTestCaseCount
in interface MutableTestResultsSummary
public int getQuarantinedTestCaseCount()
getQuarantinedTestCaseCount
in interface TestResultsSummary
public int getSkippedTestCaseCount()
TestResultsSummary
getSkippedTestCaseCount
in interface TestResultsSummary
public int getIgnoredTestCaseCount()
getIgnoredTestCaseCount
in interface TestResultsSummary
public boolean hasSkippedTestResults()
hasSkippedTestResults
in interface TestResultsSummary
public void setSkippedTestCaseCount(int skippedTestCaseCount)
setSkippedTestCaseCount
in interface MutableTestResultsSummary
public void setQuarantinedTestCaseCount(int quarantinedTestCaseCount)
setQuarantinedTestCaseCount
in interface MutableTestResultsSummary
public long getTotalTestDuration()
getTotalTestDuration
in interface TestResultsSummary
public void setTotalTestDuration(long totalTestDuration)
setTotalTestDuration
in interface MutableTestResultsSummary
public void addCountsFrom(@NotNull TestResultsSummary testResultsSummary)
MutableTestResultsSummary
TestResultsSummary
with the current TestResultsSummary
addCountsFrom
in interface MutableTestResultsSummary
testResultsSummary
- to merge fromCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.