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
Modifier and TypeMethodDescription@NotNull List<TestCaseResult>@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapof allTestCaseResultthat have failed in this build.@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapofTestCaseResultthat were failing in the previous build and are still failing.@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapofTestCaseResultthat have been fixed in this build.@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapofTestCaseResultthat have failed, but were not failing in the last build.@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapofTestCaseResultthat were Quarantined in this build, whether failed, successful or skipped.@NotNull List<TestCaseResult>@NotNull Multimap<TestClassResultDescriptor,TestCaseResult> ReturnsMultimapofTestCaseResultthat were Skipped in this build.Deprecated.since 5.12 wire the bean through Spring insteadDeprecated.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 Details
-
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
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 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
Description copied from interface:FilteredTestResultsReturnsMultimapof allTestCaseResultthat have failed in this build.- Specified by:
getAllFailedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
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
Description copied from interface:FilteredTestResultsReturnsMultimapofTestCaseResultthat were Skipped in this build.- Specified by:
getSkippedTestsin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Immutable
Multimap, withTestClassResultkeys andTestCaseResultas value.
-
getAllFailedTestList
- Specified by:
getAllFailedTestListin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- All failed tests for this build as a list of testCaseResult
-
getSkippedTestList
- Specified by:
getSkippedTestListin interfaceFilteredTestResults<TestClassResultDescriptor>- Returns:
- Skipped tests for this build as a list of testCaseResult
-
getTestsManager
Deprecated.since 5.12 wire the bean through Spring instead -
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.
-