com.mycila.testing.junit
Class MycilaJunitRunner

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 com.mycila.testing.junit.MycilaJunitRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class MycilaJunitRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Author:
Mathieu Carbou (mathieu.carbou@gmail.com)

Constructor Summary
MycilaJunitRunner(Class<?> klass)
           
 
Method Summary
protected  org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
           
protected  Object createTest()
           
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, describeChild, getChildren, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, filter, getDescription, getName, getTestClass, run, 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

MycilaJunitRunner

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

createTest

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

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 final org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
                                                                Object test)
Overrides:
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2008-2011 Mycila. All Rights Reserved.