|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.test.JunitTestReportCollector
@ThreadSafe public class JunitTestReportCollector
This class obtains the test results from a directory containing Junit test result file.
Constructor Summary | |
---|---|
JunitTestReportCollector()
|
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 |
---|
public JunitTestReportCollector()
Method Detail |
---|
@NotNull public TestCollectionResult collect(@NotNull java.io.File file) throws java.lang.Exception
collect
in interface TestReportCollector
java.lang.Exception
- if a problem with processing the given file has occurred@NotNull public java.util.Set<java.lang.String> getSupportedFileExtensions()
TestReportCollector
Set
if all extensions are supported.
getSupportedFileExtensions
in interface TestReportCollector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |