|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.builder.AntJunitTestReportCollector
@ThreadSafe public class AntJunitTestReportCollector
This class obtains the test results from a directory containing Junit test result file.
Constructor Summary | |
---|---|
AntJunitTestReportCollector(java.io.File testResultsFile,
AntXmlTestResultsParser parser)
|
Method Summary | |
---|---|
void |
collect()
Collect all the results from all the xml test files. |
java.util.List<TestResults> |
getFailedTestResults()
Get all the unit TestResults that have failed. |
java.util.List<TestResults> |
getSuccessfulTestResults()
Get all the unit TestResults that have passed without error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntJunitTestReportCollector(java.io.File testResultsFile, AntXmlTestResultsParser parser)
Method Detail |
---|
public void collect() throws java.lang.Exception
collect
in interface TestReportCollector
java.lang.Exception
public java.util.List<TestResults> getSuccessfulTestResults()
TestResults
that have passed without error.
getSuccessfulTestResults
in interface TestReportCollector
TestResults
public java.util.List<TestResults> getFailedTestResults()
TestResults
that have failed.
getFailedTestResults
in interface TestReportCollector
TestResults
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |