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> ReturnsMultimap
of allTestCaseResult
that have failed in this build.@NotNull Multimap<TestClassResultDescriptor,
TestCaseResult> ReturnsMultimap
ofTestCaseResult
that were failing in the previous build and are still failing.@NotNull Multimap<TestClassResultDescriptor,
TestCaseResult> ReturnsMultimap
ofTestCaseResult
that have been fixed in this build.@NotNull Multimap<TestClassResultDescriptor,
TestCaseResult> ReturnsMultimap
ofTestCaseResult
that have failed, but were not failing in the last build.@NotNull Multimap<TestClassResultDescriptor,
TestCaseResult> ReturnsMultimap
ofTestCaseResult
that were Quarantined in this build, whether failed, successful or skipped.@NotNull List<TestCaseResult>
@NotNull Multimap<TestClassResultDescriptor,
TestCaseResult> ReturnsMultimap
ofTestCaseResult
that 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 ChainFilteredTestResults
newInstance
(TestsManager testsManager, TestQuarantineManager testQuarantineManager, ChainResultsSummary chainResultsSummary, int pageNumber, int pageSize) Creates a new instance ofChainFilteredTestResults
.
-
Method Details
-
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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getExistingFailedTests
@NotNull public @NotNull Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getAllFailedTests
Description copied from interface:FilteredTestResults
ReturnsMultimap
of allTestCaseResult
that have failed in this build.- Specified by:
getAllFailedTests
in interfaceFilteredTestResults<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getQuarantinedTests
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that were Quarantined in this build, whether failed, successful or skipped.- Specified by:
getQuarantinedTests
in interfaceFilteredTestResults<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getSkippedTests
Description copied from interface:FilteredTestResults
ReturnsMultimap
ofTestCaseResult
that were Skipped in this build.- Specified by:
getSkippedTests
in interfaceFilteredTestResults<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getAllFailedTestList
- Specified by:
getAllFailedTestList
in interfaceFilteredTestResults<TestClassResultDescriptor>
- Returns:
- All failed tests for this build as a list of testCaseResult
-
getSkippedTestList
- Specified by:
getSkippedTestList
in 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.
-