com.atlassian.bamboo.chains
Class ChainFilteredTestResults

java.lang.Object
  extended by com.atlassian.bamboo.chains.ChainFilteredTestResults
All Implemented Interfaces:
FilteredTestResults<TestClassResultDescriptor>

public class ChainFilteredTestResults
extends java.lang.Object
implements FilteredTestResults<TestClassResultDescriptor>


Constructor Summary
ChainFilteredTestResults(ChainResultsSummary chainResultsSummary)
           
ChainFilteredTestResults(ChainResultsSummary chainResultsSummary, int pageNumber, int pageSize)
           
 
Method Summary
 java.util.List<TestCaseResult> getAllFailedTestList()
           
 com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getAllFailedTests()
          Returns Multimap of all TestCaseResult that have failed in this build.
 com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getExistingFailedTests()
          Returns Multimap of TestCaseResult that were failing in the previous build and are still failing
 com.google.common.collect.Multimap<TestClassResultDescriptor,TestCaseResult> getFixedTests()
          Returns Multimap of TestCaseResult that have been fixed in this build
 com.google.common.collect.Multimap<TestClassResultDescriptor,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
 

Constructor Detail

ChainFilteredTestResults

public ChainFilteredTestResults(ChainResultsSummary chainResultsSummary)

ChainFilteredTestResults

public ChainFilteredTestResults(ChainResultsSummary chainResultsSummary,
                                int pageNumber,
                                int pageSize)
Method Detail

getNewFailedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getFixedTests

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

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

getExistingFailedTests

@NotNull
public com.google.common.collect.Multimap<TestClassResultDescriptor,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<TestClassResultDescriptor>
Returns:
Immutable Multimap, with TestClassResult keys and TestCaseResult as value.

getAllFailedTests

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

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

getAllFailedTestList

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

getTestsManager

public TestsManager getTestsManager()


Copyright © 2010 Atlassian. All Rights Reserved.