org.unitils
Class UnitilsBlockJUnit4ClassRunner

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.unitils.UnitilsBlockJUnit4ClassRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class UnitilsBlockJUnit4ClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Author:
Tim Ducheyne

Field Summary
protected  Object test
           
protected  TestListener unitilsTestListener
           
 
Constructor Summary
UnitilsBlockJUnit4ClassRunner(Class<?> testClass)
           
 
Method Summary
protected  org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
           
protected  TestListener getUnitilsTestListener()
           
protected  org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
           
protected  org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classRules, filter, getDescription, 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
 

Field Detail

test

protected Object test

unitilsTestListener

protected TestListener unitilsTestListener
Constructor Detail

UnitilsBlockJUnit4ClassRunner

public UnitilsBlockJUnit4ClassRunner(Class<?> testClass)
                              throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

classBlock

protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
Overrides:
classBlock in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

methodInvoker

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

methodBlock

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

getUnitilsTestListener

protected TestListener getUnitilsTestListener()


Copyright © 2014. All Rights Reserved.