public class ParallelScheduler extends Object implements org.junit.runners.model.RunnerScheduler
ExecutorService
to manage the threads.Constructor and Description |
---|
ParallelScheduler(ExecutorService service)
Creates a parallel scheduler which will use the given executor service
when submitting test jobs.
|
public ParallelScheduler(ExecutorService service)
service
- The service to use for testspublic void schedule(Runnable childStatement)
schedule
in interface org.junit.runners.model.RunnerScheduler
public void finished()
finished
in interface org.junit.runners.model.RunnerScheduler
Copyright © 2019. All rights reserved.