org.apache.maven.surefire.junitcore
Class AsynchronousRunner

java.lang.Object
  extended by org.apache.maven.surefire.junitcore.AsynchronousRunner
All Implemented Interfaces:
org.junit.runners.model.RunnerScheduler

public class AsynchronousRunner
extends Object
implements org.junit.runners.model.RunnerScheduler

Author:
Kristian Rosenvold

Constructor Summary
AsynchronousRunner(ExecutorService fService)
           
 
Method Summary
 void finished()
           
 void schedule(Runnable childStatement)
           
 void waitForCompletion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousRunner

public AsynchronousRunner(ExecutorService fService)
Method Detail

schedule

public void schedule(Runnable childStatement)
Specified by:
schedule in interface org.junit.runners.model.RunnerScheduler

finished

public void finished()
Specified by:
finished in interface org.junit.runners.model.RunnerScheduler

waitForCompletion

public void waitForCompletion()
                       throws ExecutionException
Throws:
ExecutionException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.