Class TestNGTestReportCollector
java.lang.Object
com.atlassian.bamboo.plugins.testresultparser.testng.TestNGTestReportCollector
- All Implemented Interfaces:
TestReportCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canIgnoreResultsFrom
(File file) Checks if file "looks like" containing valid results for this test report collector.@NotNull TestCollectionResult
Collect all the results from all the xml test files.The valid file extension(s) of the test report file.
-
Constructor Details
-
TestNGTestReportCollector
public TestNGTestReportCollector()
-
-
Method Details
-
collect
Collect all the results from all the xml test files.- Specified by:
collect
in interfaceTestReportCollector
- Returns:
- testReportCollectorResult
- Throws:
Exception
- if a problem with processing the given file has occurred
-
canIgnoreResultsFrom
Description copied from interface:TestReportCollector
Checks if file "looks like" containing valid results for this test report collector.- Specified by:
canIgnoreResultsFrom
in interfaceTestReportCollector
- Returns:
- true if file should not be handled by this test report collector
-
getSupportedFileExtensions
Description copied from interface:TestReportCollector
The valid file extension(s) of the test report file. Return emptySet
if all extensions are supported.- Specified by:
getSupportedFileExtensions
in interfaceTestReportCollector
- Returns:
- supportedFileExtensions
-