testTask.getClasspath(), testFramework.getWorkerConfigurationAction());
}
};
Factory<TestClassProcessor> reforkingProcessorFactory = new Factory<TestClassProcessor>() {
public TestClassProcessor create() {
return new RestartEveryNTestClassProcessor(forkingProcessorFactory, testTask.getForkEvery());
}
};
TestClassProcessor processor = new MaxNParallelTestClassProcessor(testTask.getMaxParallelForks(),
reforkingProcessorFactory, actorFactor);