org.finra.jtaf.core.parallel
Class ConcurrentScheduler
java.lang.Object
org.finra.jtaf.core.parallel.ConcurrentScheduler
- All Implemented Interfaces:
- org.junit.runners.model.RunnerScheduler
public class ConcurrentScheduler
- extends Object
- implements org.junit.runners.model.RunnerScheduler
Control the execution of your tests with this Scheduler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentScheduler
public ConcurrentScheduler()
updateWithStatus
protected static void updateWithStatus(ResultUpdate theUpdate)
schedule
public void schedule(Runnable test)
- Tasks are scheduled by submitting them to our threadpool
and adding the return Future to our tasks collection.
- Specified by:
schedule
in interface org.junit.runners.model.RunnerScheduler
finished
public void finished()
- When this method exits, all tasks must be finished.
- Specified by:
finished
in interface org.junit.runners.model.RunnerScheduler
registerTestName
public static void registerTestName(String name)
Copyright © 2014. All rights reserved.