org.jboss.errai.ioc.rebind
Class IOCTestRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runner.Runner>
          extended by org.jboss.errai.ioc.rebind.IOCTestRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class IOCTestRunner
extends org.junit.runners.ParentRunner<org.junit.runner.Runner>

Author:
Mike Brock

Field Summary
static boolean SIMULATED
           
 
Constructor Summary
IOCTestRunner(Class<? extends junit.framework.TestCase> toRun)
           
 
Method Summary
protected  org.junit.runner.Description describeChild(org.junit.runner.Runner child)
           
protected  List<org.junit.runner.Runner> getChildren()
           
 Object getInstance()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
           
protected  void runChild(org.junit.runner.Runner child, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, collectInitializationErrors, filter, getDescription, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMULATED

public static boolean SIMULATED
Constructor Detail

IOCTestRunner

public IOCTestRunner(Class<? extends junit.framework.TestCase> toRun)
              throws Throwable
Throws:
Throwable
Method Detail

getInstance

public Object getInstance()

getChildren

protected List<org.junit.runner.Runner> getChildren()
Specified by:
getChildren in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

describeChild

protected org.junit.runner.Description describeChild(org.junit.runner.Runner child)
Specified by:
describeChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

runChild

protected void runChild(org.junit.runner.Runner child,
                        org.junit.runner.notification.RunNotifier notifier)
Specified by:
runChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Overrides:
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.