org.guiceyfruit.testing.junit4
Class GuiceyJUnit4

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.guiceyfruit.testing.junit4.GuiceyJUnit4
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class GuiceyJUnit4
extends org.junit.runners.BlockJUnit4ClassRunner

Version:
$Revision: 1.1 $

Field Summary
protected static InjectorManager manager
           
 
Constructor Summary
GuiceyJUnit4(java.lang.Class<?> aClass)
           
 
Method Summary
 void run(org.junit.runner.notification.RunNotifier runNotifier)
           
protected  org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
           
protected  org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod frameworkMethod, java.lang.Object test, org.junit.runners.model.Statement statement)
           
protected  org.junit.runners.model.Statement withBeforeClasses(org.junit.runners.model.Statement statement)
           
protected  org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod frameworkMethod, java.lang.Object test, org.junit.runners.model.Statement statement)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods
 
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

manager

protected static InjectorManager manager
Constructor Detail

GuiceyJUnit4

public GuiceyJUnit4(java.lang.Class<?> aClass)
             throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

withBeforeClasses

protected org.junit.runners.model.Statement withBeforeClasses(org.junit.runners.model.Statement statement)
Overrides:
withBeforeClasses in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

withAfterClasses

protected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
Overrides:
withAfterClasses in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

withBefores

protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod frameworkMethod,
                                                        java.lang.Object test,
                                                        org.junit.runners.model.Statement statement)
Overrides:
withBefores in class org.junit.runners.BlockJUnit4ClassRunner

withAfters

protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod frameworkMethod,
                                                       java.lang.Object test,
                                                       org.junit.runners.model.Statement statement)
Overrides:
withAfters in class org.junit.runners.BlockJUnit4ClassRunner

run

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


Copyright © 2011. All Rights Reserved.