public class PlainParallelScheduler extends Object implements org.junit.runners.model.RunnerScheduler
RunnerScheduler which executes all tests with a fixed number of threads,
regardless of possible interferences between different test methods.| Modifier and Type | Field and Description |
|---|---|
protected ExecutorService |
executorService |
protected long |
timeout |
| Constructor and Description |
|---|
PlainParallelScheduler(int poolSize,
long timeout) |
protected long timeout
protected ExecutorService executorService
public void schedule(Runnable task)
schedule in interface org.junit.runners.model.RunnerSchedulerpublic void finished()
finished in interface org.junit.runners.model.RunnerSchedulerCopyright © 2010–2014 Volker Bergmann. All rights reserved.