com.atlassian.bamboo.resultsummary.tests
Class FilteredTestResultsAbstract

java.lang.Object
  extended by com.atlassian.bamboo.resultsummary.tests.FilteredTestResultsAbstract
All Implemented Interfaces:
FilteredTestResults
Direct Known Subclasses:
FilteredTestResultsImpl, FilteredTestResultsPaginableImpl

public abstract class FilteredTestResultsAbstract
extends java.lang.Object
implements FilteredTestResults


Field Summary
protected  BuildResultsSummary buildResultsSummary
           
 
Constructor Summary
protected FilteredTestResultsAbstract(BuildResultsSummary buildResultsSummary)
           
 
Method Summary
 java.util.List<TestCaseResult> getAllFailedTestList()
           
 com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getAllFailedTests()
          Returns Multimap of all TestCaseResult that have failed in this build.
protected abstract  java.util.List<TestCaseResult> getBrokenTestList()
           
 com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getExistingFailedTests()
          Returns Multimap of TestCaseResult that were failing in the previous build and are still failing
protected abstract  java.util.List<TestCaseResult> getFailingTestList()
           
protected abstract  java.util.List<TestCaseResult> getFixedTestList()
           
 com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getFixedTests()
          Returns Multimap of TestCaseResult that have been fixed in this build
 com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getNewFailedTests()
          Returns Multimap of TestCaseResult that have failed, but were not failing in the last build.
 TestsManager getTestsManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buildResultsSummary

protected final BuildResultsSummary buildResultsSummary
Constructor Detail

FilteredTestResultsAbstract

protected FilteredTestResultsAbstract(BuildResultsSummary buildResultsSummary)
Method Detail

getBrokenTestList

@NotNull
protected abstract java.util.List<TestCaseResult> getBrokenTestList()

getFailingTestList

@NotNull
protected abstract java.util.List<TestCaseResult> getFailingTestList()

getFixedTestList

@NotNull
protected abstract java.util.List<TestCaseResult> getFixedTestList()

getNewFailedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getNewFailedTests()
Description copied from interface: FilteredTestResults
Returns Multimap of TestCaseResult that have failed, but were not failing in the last build.

Specified by:
getNewFailedTests in interface FilteredTestResults
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getExistingFailedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getExistingFailedTests()
Description copied from interface: FilteredTestResults
Returns Multimap of TestCaseResult that were failing in the previous build and are still failing

Specified by:
getExistingFailedTests in interface FilteredTestResults
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getFixedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getFixedTests()
Description copied from interface: FilteredTestResults
Returns Multimap of TestCaseResult that have been fixed in this build

Specified by:
getFixedTests in interface FilteredTestResults
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getAllFailedTests()
Description copied from interface: FilteredTestResults
Returns Multimap of all TestCaseResult that have failed in this build.

Specified by:
getAllFailedTests in interface FilteredTestResults
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTestList

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

getTestsManager

public TestsManager getTestsManager()


Copyright © 2010 Atlassian. All Rights Reserved.