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()
ReturnsMultimap
of allTestCaseResult
that have failed in this build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>
getExistingFailedTests()
ReturnsMultimap
ofTestCaseResult
that were failing in the previous build and are still failing.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>
getFixedTests()
ReturnsMultimap
ofTestCaseResult
that have been fixed in this build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult>
getNewFailedTests()
ReturnsMultimap
ofTestCaseResult
that have failed, but were not failing in the last build.@NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor,TestCaseResult>
getSkippedTests()
ReturnsMultimap
ofTestCaseResult
that were Skipped in this build.TestQuarantineManager
getTestQuarantineManager()
Deprecated.since 5.12 wire the bean through Spring insteadTestsManager
getTestsManager()
Deprecated.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 Detail
-
getNewFailedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getFixedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getExistingFailedTests
@NotNull public @NotNull com.google.common.collect.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
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> 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
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
- Returns:
- Immutable
Multimap
, withTestClassResult
keys andTestCaseResult
as value.
-
getSkippedTests
@NotNull public @NotNull com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> 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
@NotNull public @NotNull List<TestCaseResult> getAllFailedTestList()
- Specified by:
getAllFailedTestList
in interfaceFilteredTestResults<TestClassResultDescriptor>
- Returns:
- All failed tests for this build as a list of testCaseResult
-
getSkippedTestList
@NotNull public @NotNull List<TestCaseResult> getSkippedTestList()
- Specified by:
getSkippedTestList
in 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.
-
-