@ThreadSafe public class JunitTestReportCollector extends Object implements TestReportCollector
Constructor and Description |
---|
JunitTestReportCollector() |
Modifier and Type | Method and Description |
---|---|
boolean |
canIgnoreResultsFrom(File file)
Checks if file "looks like" containing valid results for this test report collector.
|
TestCollectionResult |
collect(File file)
Collect all the results from all the xml test files.
|
Set<String> |
getSupportedFileExtensions()
The valid file extension(s) of the test report file.
|
@NotNull public TestCollectionResult collect(@NotNull File file) throws Exception
collect
in interface TestReportCollector
Exception
- if a problem with processing the given file has occurredpublic boolean canIgnoreResultsFrom(File file)
TestReportCollector
canIgnoreResultsFrom
in interface TestReportCollector
@NotNull public Set<String> getSupportedFileExtensions()
TestReportCollector
Set
if all extensions are supported.getSupportedFileExtensions
in interface TestReportCollector
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.