org.finra.jtaf.core.parallel
Class ConcurrentScheduler

java.lang.Object
  extended by 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


Constructor Summary
ConcurrentScheduler()
           
 
Method Summary
 void finished()
          When this method exits, all tasks must be finished.
static void registerTestName(String name)
           
 void schedule(Runnable test)
          Tasks are scheduled by submitting them to our threadpool and adding the return Future to our tasks collection.
protected static void updateWithStatus(ResultUpdate theUpdate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentScheduler

public ConcurrentScheduler()
Method Detail

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.