com.atlassian.bamboo.plugins.testresultparser.testng
Class TestNGTestReportCollector

java.lang.Object
  extended by com.atlassian.bamboo.plugins.testresultparser.testng.TestNGTestReportCollector
All Implemented Interfaces:
TestReportCollector

@ThreadSafe
public class TestNGTestReportCollector
extends java.lang.Object
implements TestReportCollector


Constructor Summary
TestNGTestReportCollector()
           
 
Method Summary
 TestCollectionResult collect(java.io.File file)
          Collect all the results from all the xml test files.
 java.util.Set<java.lang.String> getSupportedFileExtensions()
          The valid file extension(s) of the test report file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNGTestReportCollector

public TestNGTestReportCollector()
Method Detail

collect

@NotNull
public TestCollectionResult collect(@NotNull
                                            java.io.File file)
                             throws java.lang.Exception
Collect all the results from all the xml test files.

Specified by:
collect in interface TestReportCollector
Returns:
testReportCollectorResult
Throws:
java.lang.Exception - if a problem with processing the given file has occurred

getSupportedFileExtensions

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

Specified by:
getSupportedFileExtensions in interface TestReportCollector
Returns:
supportedFileExtensions


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