com.atlassian.bamboo.build.test
Interface TestReportCollector

All Known Implementing Classes:
JunitTestReportCollector, TestNGTestReportCollector

@ThreadSafe
public interface TestReportCollector

Collects a builds test results. To be used in conjunction with TestCollationService.collateTestResults(TaskContext, String, TestReportCollector).


Method Summary
 TestCollectionResult collect(java.io.File file)
          Collect all the results within the specified file
 java.util.Set<java.lang.String> getSupportedFileExtensions()
          The valid file extension(s) of the test report file.
 

Method Detail

collect

@NotNull
TestCollectionResult collect(@NotNull
                                     java.io.File file)
                             throws java.lang.Exception
Collect all the results within the specified file

Parameters:
file -
Returns:
testReportCollectorResult
Throws:
java.lang.Exception - if a problem with processing the given file has occurred

getSupportedFileExtensions

@NotNull
java.util.Set<java.lang.String> getSupportedFileExtensions()
The valid file extension(s) of the test report file. Return empty Set if all extensions are supported.

Returns:
supportedFileExtensions


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.