org.finra.jtaf.core.parallel
Class TestCaseRunner

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.finra.jtaf.core.parallel.TestCaseRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class TestCaseRunner
extends org.junit.runners.BlockJUnit4ClassRunner

The test case runner class


Constructor Summary
TestCaseRunner(Class<?> klass, ParallelScriptRunner scriptWrapper)
           
 
Method Summary
protected  void collectInitializationErrors(List<Throwable> errors)
           
protected  Object createTest()
           
protected  org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
           
 org.junit.runner.Description getDescription()
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
computeTestMethods, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, filter, getName, getRunnerAnnotations, getTestClass, run, runLeaf, 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
 

Constructor Detail

TestCaseRunner

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

createTest

protected Object createTest()
                     throws Exception
Overrides:
createTest in class org.junit.runners.BlockJUnit4ClassRunner
Throws:
Exception

describeChild

protected org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
Overrides:
describeChild in class org.junit.runners.BlockJUnit4ClassRunner

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in interface org.junit.runner.Describable
Overrides:
getDescription in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

collectInitializationErrors

protected void collectInitializationErrors(List<Throwable> errors)
Overrides:
collectInitializationErrors in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2014. All rights reserved.