Class FilteredTestResultsAbstract
- java.lang.Object
-
- com.atlassian.bamboo.resultsummary.tests.FilteredTestResultsAbstract
-
- All Implemented Interfaces:
FilteredTestResults<TestClassResult>
- Direct Known Subclasses:
FilteredTestResultsImpl
,FilteredTestResultsPaginableImpl
public abstract class FilteredTestResultsAbstract extends Object implements FilteredTestResults<TestClassResult>
-
-
Field Summary
Fields Modifier and Type Field Description protected BuildResultsSummary
resultsSummary
-
Constructor Summary
Constructors Modifier Constructor Description protected
FilteredTestResultsAbstract(BuildResultsSummary resultsSummary)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @NotNull List<TestCaseResult>
getAllFailedTestList()
@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getAllFailedTests()
ReturnsMultimap
of allTestCaseResult
that have failed in this build.protected abstract @NotNull List<TestCaseResult>
getBrokenTestList()
@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getExistingFailedTests()
ReturnsMultimap
ofTestCaseResult
that were failing in the previous build and are still failing.protected abstract @NotNull List<TestCaseResult>
getFailingTestList()
protected abstract @NotNull List<TestCaseResult>
getFixedTestList()
@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getFixedTests()
ReturnsMultimap
ofTestCaseResult
that have been fixed in this build.@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getNewFailedTests()
ReturnsMultimap
ofTestCaseResult
that have failed, but were not failing in the last build.@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getQuarantinedTests()
ReturnsMultimap
ofTestCaseResult
that were Quarantined in this build, whether failed, successful or skipped.@NotNull List<TestCaseResult>
getSkippedTestList()
@NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult>
getSkippedTests()
ReturnsMultimap
ofTestCaseResult
that were Skipped in this build.TestQuarantineManager
getTestQuarantineManager()
TestsManager
getTestsManager()
-
-
-
Field Detail
-
resultsSummary
protected final BuildResultsSummary resultsSummary
-
-
Constructor Detail
-
FilteredTestResultsAbstract
protected FilteredTestResultsAbstract(BuildResultsSummary resultsSummary)
-
-
Method Detail
-
getBrokenTestList
@NotNull protected abstract @NotNull List<TestCaseResult> getBrokenTestList()
-
getFailingTestList
@NotNull protected abstract @NotNull List<TestCaseResult> getFailingTestList()
-
getFixedTestList
@NotNull protected abstract @NotNull List<TestCaseResult> getFixedTestList()
-
getNewFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getNewFailedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that have failed, but were not failing in the last build. Does not include Quarantined Tests- Specified by:
getNewFailedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getExistingFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getExistingFailedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that were failing in the previous build and are still failing. Does not include Quarantined Tests- Specified by:
getExistingFailedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getFixedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getFixedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that have been fixed in this build. Does not include Quarantined Tests.- Specified by:
getFixedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getAllFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getAllFailedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
of allTestCaseResult
that have failed in this build.- Specified by:
getAllFailedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getAllFailedTestList
@NotNull public @NotNull List<TestCaseResult> getAllFailedTestList()
- Specified by:
getAllFailedTestList
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- All failed tests for this build as a list of testCaseResult
-
getSkippedTestList
@NotNull public @NotNull List<TestCaseResult> getSkippedTestList()
- Specified by:
getSkippedTestList
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Skipped tests for this build as a list of testCaseResult
-
getQuarantinedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getQuarantinedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that were Quarantined in this build, whether failed, successful or skipped.- Specified by:
getQuarantinedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getSkippedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getSkippedTests()
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that were Skipped in this build.- Specified by:
getSkippedTests
in interfaceFilteredTestResults<TestClassResult>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getTestsManager
public TestsManager getTestsManager()
-
getTestQuarantineManager
public TestQuarantineManager getTestQuarantineManager()
-
-