com.atlassian.bamboo.builder
Interface TestReportCollector

All Known Implementing Classes:
AntJunitTestReportCollector

@ThreadSafe
public interface TestReportCollector

Collects a builds test results.


Method Summary
 void collect()
          Collect all the results for a specific build.
 java.util.List<TestResults> getFailedTestResults()
          Get all the unit TestResults that have failed.
 java.util.List<TestResults> getSuccessfulTestResults()
          Get all the unit TestResults that have passed without error.
 

Method Detail

collect

void collect()
             throws java.lang.Exception
Collect all the results for a specific build.

Throws:
java.lang.Exception

getSuccessfulTestResults

java.util.List<TestResults> getSuccessfulTestResults()
Get all the unit TestResults that have passed without error.

Returns:
The collection of successful TestResults

getFailedTestResults

java.util.List<TestResults> getFailedTestResults()
Get all the unit TestResults that have failed.

Returns:
The collection of failed TestResults


Copyright © 2011 Atlassian. All Rights Reserved.