org.stjs.testing.driver
Class STJSTestDriverRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.stjs.testing.driver.STJSTestDriverRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class STJSTestDriverRunner
extends org.junit.runners.BlockJUnit4ClassRunner

add the STJSBridge annotation only to allow it to be present in the junit annotation

Author:
acraciun,lordofthepigs,ekaspi

Field Summary
static File targetDirectory
           
 
Constructor Summary
STJSTestDriverRunner(Class<?> klass)
           
 
Method Summary
protected  org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
           
 void run(org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, 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

targetDirectory

public static final File targetDirectory
Constructor Detail

STJSTestDriverRunner

public STJSTestDriverRunner(Class<?> klass)
                     throws org.junit.runners.model.InitializationError,
                            IOException
Throws:
org.junit.runners.model.InitializationError
IOException
Method Detail

run

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

methodBlock

protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
Overrides:
methodBlock in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2013. All Rights Reserved.