com.atlassian.bamboo.resultsummary.tests
Class FilteredTestResultsAbstract

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

public abstract class FilteredTestResultsAbstract
extends java.lang.Object
implements FilteredTestResults<TestClassResult>


Field Summary
protected  BuildResultsSummary resultsSummary
           
 
Constructor Summary
protected FilteredTestResultsAbstract(BuildResultsSummary resultsSummary)
           
 
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.
 com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getQuarantinedTests()
          Returns Multimap of TestCaseResult that were Quarantined in this build, whether failed or successful
 TestQuarantineManager getTestQuarantineManager()
           
 TestsManager getTestsManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultsSummary

protected final BuildResultsSummary resultsSummary
Constructor Detail

FilteredTestResultsAbstract

protected FilteredTestResultsAbstract(BuildResultsSummary resultsSummary)
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. Does not include Quarantined Tests

Specified by:
getNewFailedTests in interface FilteredTestResults<TestClassResult>
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. Does not include Quarantined Tests

Specified by:
getExistingFailedTests in interface FilteredTestResults<TestClassResult>
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. Does not include Quarantined Tests.

Specified by:
getFixedTests in interface FilteredTestResults<TestClassResult>
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<TestClassResult>
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTestList

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

getQuarantinedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResult,TestCaseResult> getQuarantinedTests()
Description copied from interface: FilteredTestResults
Returns Multimap of TestCaseResult that were Quarantined in this build, whether failed or successful

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

getTestsManager

public TestsManager getTestsManager()

getTestQuarantineManager

public TestQuarantineManager getTestQuarantineManager()


Copyright © 2012 Atlassian. All Rights Reserved.