@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.
|
@NotNull TestCollectionResult |
collect(@NotNull File file)
Collect all the results from all the xml test files.
|
@NotNull Set<String> |
getSupportedFileExtensions()
The valid file extension(s) of the test report file.
|
@NotNull public @NotNull TestCollectionResult collect(@NotNull @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 @NotNull Set<String> getSupportedFileExtensions()
TestReportCollector
Set
if all extensions are supported.getSupportedFileExtensions
in interface TestReportCollector
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.