net.sf.twip
Class ClassTwip

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 net.sf.twip.ClassTwip
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class ClassTwip
extends org.junit.runners.BlockJUnit4ClassRunner


Constructor Summary
ClassTwip(Class<?> testClass, Callable<?> testConstructor, Object[] parameterValues)
           
 
Method Summary
protected  void collectInitializationErrors(List<Throwable> errors)
           
protected  List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
           
protected  Object createTest()
           
protected  org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
           
protected  String getName()
           
 Object[] getParameterValues()
           
protected  org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object testInstance)
           
protected  String testName(org.junit.runners.model.FrameworkMethod method)
           
protected  void validatePublicVoidNoArgMethods(Class<? extends Annotation> annotation, boolean isStatic, List<Throwable> errors)
           
protected  org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method, Object testInstance, org.junit.runners.model.Statement statement)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
getChildren, methodBlock, possiblyExpectingExceptions, runChild, validateInstanceMethods, validateTestMethods, validateZeroArgConstructor, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getTestClass, run, sort, 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
 
Methods inherited from interface org.junit.runner.manipulation.Filterable
filter
 
Methods inherited from interface org.junit.runner.manipulation.Sortable
sort
 

Constructor Detail

ClassTwip

public ClassTwip(Class<?> testClass,
                 Callable<?> testConstructor,
                 Object[] parameterValues)
          throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

collectInitializationErrors

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

createTest

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

computeTestMethods

protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
Overrides:
computeTestMethods in class org.junit.runners.BlockJUnit4ClassRunner

methodInvoker

protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
                                                          Object testInstance)
Overrides:
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunner

describeChild

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

testName

protected String testName(org.junit.runners.model.FrameworkMethod method)
Overrides:
testName in class org.junit.runners.BlockJUnit4ClassRunner

getName

protected String getName()
Overrides:
getName in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

validatePublicVoidNoArgMethods

protected void validatePublicVoidNoArgMethods(Class<? extends Annotation> annotation,
                                              boolean isStatic,
                                              List<Throwable> errors)
Overrides:
validatePublicVoidNoArgMethods in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

withAfters

protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method,
                                                       Object testInstance,
                                                       org.junit.runners.model.Statement statement)
Overrides:
withAfters in class org.junit.runners.BlockJUnit4ClassRunner

getParameterValues

public Object[] getParameterValues()


Copyright © 2011. All Rights Reserved.