Package com.atlassian.bamboo.chains
Class ChainFilteredTestResults
- java.lang.Object
-
- com.atlassian.bamboo.chains.ChainFilteredTestResults
-
- All Implemented Interfaces:
FilteredTestResults<TestClassResultDescriptor>
public class ChainFilteredTestResults extends Object implements FilteredTestResults<TestClassResultDescriptor>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull List<TestCaseResult>getAllFailedTestList()@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getAllFailedTests()ReturnsMultimapof allTestCaseResultthat have failed in this build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getExistingFailedTests()ReturnsMultimapofTestCaseResultthat were failing in the previous build and are still failing.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getFixedTests()ReturnsMultimapofTestCaseResultthat have been fixed in this build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getNewFailedTests()ReturnsMultimapofTestCaseResultthat have failed, but were not failing in the last build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getQuarantinedTests()ReturnsMultimapofTestCaseResultthat were Quarantined in this build, whether failed, successful or skipped.@NotNull List<TestCaseResult>getSkippedTestList()@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>getSkippedTests()ReturnsMultimapofTestCaseResultthat were Skipped in this build.TestQuarantineManagergetTestQuarantineManager()Deprecated.since 5.12 wire the bean through Spring insteadTestsManagergetTestsManager()Deprecated.since 5.12 wire the bean through Spring insteadstatic @Nullable ChainFilteredTestResultsnewInstance(TestsManager testsManager, TestQuarantineManager testQuarantineManager, ChainResultsSummary chainResultsSummary, int pageNumber, int pageSize)Creates a new instance ofChainFilteredTestResults.
-
-
-
Method Detail
-
getNewFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getNewFailedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat have failed, but were not failing in the last build. Does not include Quarantined Tests- Specified by:
getNewFailedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getFixedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getFixedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat have been fixed in this build. Does not include Quarantined Tests.- Specified by:
getFixedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getExistingFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getExistingFailedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat were failing in the previous build and are still failing. Does not include Quarantined Tests- Specified by:
getExistingFailedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getAllFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getAllFailedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapof allTestCaseResultthat have failed in this build.- Specified by:
getAllFailedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getQuarantinedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getQuarantinedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat were Quarantined in this build, whether failed, successful or skipped.- Specified by:
getQuarantinedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getSkippedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getSkippedTests()
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat were Skipped in this build.- Specified by:
getSkippedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getAllFailedTestList
@NotNull public @NotNull List<TestCaseResult> getAllFailedTestList()
- Specified by:
getAllFailedTestListin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- All failed tests for this build as a list of testCaseResult
-
getSkippedTestList
@NotNull public @NotNull List<TestCaseResult> getSkippedTestList()
- Specified by:
getSkippedTestListin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Skipped tests for this build as a list of testCaseResult
-
getTestsManager
@Deprecated public TestsManager getTestsManager()
Deprecated.since 5.12 wire the bean through Spring instead
-
getTestQuarantineManager
@Deprecated public TestQuarantineManager getTestQuarantineManager()
Deprecated.since 5.12 wire the bean through Spring instead
-
newInstance
@Nullable public static @Nullable ChainFilteredTestResults newInstance(TestsManager testsManager, TestQuarantineManager testQuarantineManager, ChainResultsSummary chainResultsSummary, int pageNumber, int pageSize)
Creates a new instance ofChainFilteredTestResults. Returns null if the result is not finalised.
-
-