com.atlassian.bamboo.resultsummary.tests
Interface FilteredTestResults<T extends TestClassResultDescriptor>

All Known Implementing Classes:
ChainFilteredTestResults, FilteredTestResultsAbstract, FilteredTestResultsImpl, FilteredTestResultsPaginableImpl

public interface FilteredTestResults<T extends TestClassResultDescriptor>

Interface that provides a summary of all test information for a buildResultSummary for the UI. Essentiall a big cache.


Method Summary
 java.util.List<TestCaseResult> getAllFailedTestList()
           
 com.google.common.collect.Multimap<T,TestCaseResult> getAllFailedTests()
          Returns Multimap of all TestCaseResult that have failed in this build.
 com.google.common.collect.Multimap<T,TestCaseResult> getExistingFailedTests()
          Returns Multimap of TestCaseResult that were failing in the previous build and are still failing.
 com.google.common.collect.Multimap<T,TestCaseResult> getFixedTests()
          Returns Multimap of TestCaseResult that have been fixed in this build.
 com.google.common.collect.Multimap<T,TestCaseResult> getNewFailedTests()
          Returns Multimap of TestCaseResult that have failed, but were not failing in the last build.
 com.google.common.collect.Multimap<T,TestCaseResult> getQuarantinedTests()
          Returns Multimap of TestCaseResult that were Quarantined in this build, whether failed or successful
 

Method Detail

getNewFailedTests

@NotNull
com.google.common.collect.Multimap<T,TestCaseResult> getNewFailedTests()
Returns Multimap of TestCaseResult that have failed, but were not failing in the last build. Does not include Quarantined Tests

Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getExistingFailedTests

@NotNull
com.google.common.collect.Multimap<T,TestCaseResult> getExistingFailedTests()
Returns Multimap of TestCaseResult that were failing in the previous build and are still failing. Does not include Quarantined Tests

Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getFixedTests

@NotNull
com.google.common.collect.Multimap<T,TestCaseResult> getFixedTests()
Returns Multimap of TestCaseResult that have been fixed in this build. Does not include Quarantined Tests.

Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTests

@NotNull
com.google.common.collect.Multimap<T,TestCaseResult> getAllFailedTests()
Returns Multimap of all TestCaseResult that have failed in this build.

Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getQuarantinedTests

@NotNull
com.google.common.collect.Multimap<T,TestCaseResult> getQuarantinedTests()
Returns Multimap of TestCaseResult that were Quarantined in this build, whether failed or successful

Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTestList

@NotNull
java.util.List<TestCaseResult> getAllFailedTestList()
Returns:
All failed tests for this build as a list of testCaseResult


Copyright © 2012 Atlassian. All Rights Reserved.