@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 TestReportCollectorException - if a problem with processing the given file has occurredpublic boolean canIgnoreResultsFrom(File file)
TestReportCollectorcanIgnoreResultsFrom in interface TestReportCollector@NotNull public Set<String> getSupportedFileExtensions()
TestReportCollectorSet if all extensions are supported.getSupportedFileExtensions in interface TestReportCollectorCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.