public class MaxNParallelTestClassProcessor extends Object implements TestClassProcessor
| Constructor and Description |
|---|
MaxNParallelTestClassProcessor(int maxProcessors,
Factory<TestClassProcessor> factory,
ActorFactory actorFactory) |
| 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 MaxNParallelTestClassProcessor(int maxProcessors,
Factory<TestClassProcessor> factory,
ActorFactory actorFactory)
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