public class TestCollationServiceImpl extends Object implements TestCollationService
Constructor and Description |
---|
TestCollationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
collateTestResults(TaskContext taskContext,
String filePattern)
Collates
TestClassResult s and TestCaseResult s from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default. |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
boolean pickupOutdatedFiles)
Collates
TestClassResult s and TestCaseResult s from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default. |
void |
collateTestResults(TaskContext taskContext,
String resultDirectory,
String filePattern,
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles)
Collates
TestClassResult s and TestCaseResult s from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formats |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
TestReportCollector testReportCollector)
Collates
TestClassResult s and TestCaseResult s from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formats |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles) |
void |
collateTestResults(TaskContext taskContext,
TestReportProvider testReportProvider)
|
public void collateTestResults(@NotNull TaskContext taskContext, @NotNull TestReportProvider testReportProvider)
TestCollationService
collateTestResults
in interface TestCollationService
taskContext
- of the executing TasktestReportProvider
- to collect tests frompublic void collateTestResults(@NotNull TaskContext taskContext, @NotNull String filePattern)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getRootDirectory()
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 String filePattern, boolean pickupOutdatedFiles)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getRootDirectory()
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 systempickupOutdatedFiles
- does not check test files timestamppublic void collateTestResults(@NotNull TaskContext taskContext, @NotNull String filePattern, @NotNull TestReportCollector testReportCollector)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getRootDirectory()
using the specified file pattern
You can implement your own TestReportCollector
and pass it in to support other reporting formatscollateTestResults
in interface TestCollationService
taskContext
- of the executing TaskfilePattern
- to collect from the file systemtestReportCollector
- to collect tests using the provided patternpublic void collateTestResults(@NotNull TaskContext taskContext, @NotNull String filePattern, @NotNull TestReportCollector testReportCollector, boolean pickupOutdatedFiles)
collateTestResults
in interface TestCollationService
public void collateTestResults(@NotNull TaskContext taskContext, @Nullable String resultDirectory, @NotNull String filePattern, @NotNull TestReportCollector testReportCollector, boolean pickupOutdatedFiles)
TestCollationService
TestClassResult
s and TestCaseResult
s from TaskContext.getRootDirectory()
using the specified file pattern
You can implement your own TestReportCollector
and pass it in to support other reporting formatscollateTestResults
in interface TestCollationService
taskContext
- of the executing TaskresultDirectory
- directory to look for result files in. Can be relative to task working directory or absolute. If blank, task working directory is used.filePattern
- to collect from the file systemtestReportCollector
- to collect tests using the provided patternpickupOutdatedFiles
- does not check test files timestampCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.