org.webframe.test
Class WFSpringJUnit4Runner

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.springframework.test.context.junit4.SpringJUnit4ClassRunner
                  extended by org.webframe.test.WFSpringJUnit4Runner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class WFSpringJUnit4Runner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner

Version:
$Id: codetemplates.xml,v 1.1 2009/09/07 08:48:12 Exp $ Create: 2011-4-11 下午04:22:43
Author:
黄国庆

Constructor Summary
WFSpringJUnit4Runner(Class<?> clazz)
           
 
Method Summary
protected  String getDefaultContextLoaderClassName(Class<?> clazz)
           
 
Methods inherited from class org.springframework.test.context.junit4.SpringJUnit4ClassRunner
createTest, createTestContextManager, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, describeChild, getChildren, methodInvoker, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, 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
 

Constructor Detail

WFSpringJUnit4Runner

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

getDefaultContextLoaderClassName

protected String getDefaultContextLoaderClassName(Class<?> clazz)
Overrides:
getDefaultContextLoaderClassName in class org.springframework.test.context.junit4.SpringJUnit4ClassRunner


Copyright © 2012. All Rights Reserved.