|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.test.TestCollationServiceImpl
public class TestCollationServiceImpl
Constructor Summary | |
---|---|
TestCollationServiceImpl()
|
Method Summary | |
---|---|
void |
collateTestResults(TaskContext taskContext,
java.lang.String filePattern)
Collates TestClassResult s and TestCaseResult s from TaskContext.getWorkingDirectory() using the specified file pattern
This method parses in the JUnit format by default. |
void |
collateTestResults(TaskContext taskContext,
java.lang.String filePattern,
TestReportCollector testReportCollector)
Collates TestClassResult s and TestCaseResult s from TaskContext.getWorkingDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formats |
void |
collateTestResults(TaskContext taskContext,
TestReportProvider testReportProvider)
Collates TestClassResult s and TestCaseResult s from the given TestReportProvider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCollationServiceImpl()
Method Detail |
---|
public void collateTestResults(@NotNull TaskContext taskContext, @NotNull TestReportProvider testReportProvider)
TestCollationService
TestClassResult
s and TestCaseResult
s from the given TestReportProvider
collateTestResults
in interface TestCollationService
taskContext
- of the executing TasktestReportProvider
- to collect tests frompublic void collateTestResults(@NotNull TaskContext taskContext, @NotNull java.lang.String filePattern)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getWorkingDirectory()
using the specified file pattern
This method parses in the JUnit format by default.
To implement support for an alternate reporting format see TestCollationService.collateTestResults(TaskContext, String, TestReportCollector)
collateTestResults
in interface TestCollationService
taskContext
- of the executing TaskfilePattern
- to collect from the file systempublic void collateTestResults(@NotNull TaskContext taskContext, @NotNull java.lang.String filePattern, @NotNull TestReportCollector testReportCollector)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getWorkingDirectory()
using the specified file pattern
You can implement your own TestReportCollector
and pass it in to support other reporting formats
collateTestResults
in interface TestCollationService
taskContext
- of the executing TaskfilePattern
- to collect from the file systemtestReportCollector
- to collect tests using the provided pattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |