public class ForkingTestClassProcessor extends Object implements TestClassProcessor
| Constructor and Description |
|---|
ForkingTestClassProcessor(Factory<WorkerProcessBuilder> workerFactory,
WorkerTestClassProcessorFactory processorFactory,
JavaForkOptions options,
Iterable<File> classPath,
Action<WorkerProcessBuilder> buildConfigAction) |
| Modifier and Type | Method and Description |
|---|---|
void |
processTestClass(TestClassRunInfo testClass)
Accepts the given test class for processing.
|
void |
startProcessing(TestResultProcessor resultProcessor)
Performs any initialisation which this processor needs to perform.
|
void |
stop()
Completes any pending or asynchronous processing.
|
public ForkingTestClassProcessor(Factory<WorkerProcessBuilder> workerFactory, WorkerTestClassProcessorFactory processorFactory, JavaForkOptions options, Iterable<File> classPath, Action<WorkerProcessBuilder> buildConfigAction)
public void startProcessing(TestResultProcessor resultProcessor)
TestClassProcessorstartProcessing in interface TestClassProcessorresultProcessor - The processor to send results to during test execution.public void processTestClass(TestClassRunInfo testClass)
TestClassProcessorprocessTestClass in interface TestClassProcessortestClass - The test class.public void stop()
TestClassProcessorTestClassProcessor.startProcessing(TestResultProcessor) after this method has
returned.stop in interface TestClassProcessorstop in interface StoppableCopyright © 2013. All rights reserved