org.codehaus.groovy.grails.test.junit4.runner
Class GrailsTestCaseRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.codehaus.groovy.grails.test.junit4.runner.GrailsTestCaseRunner
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
public class GrailsTestCaseRunner
- extends org.junit.runners.BlockJUnit4ClassRunner
- implements groovy.lang.GroovyObject
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
collectInitializationErrors, createTest, describeChild, getChildren, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
childrenInvoker, classBlock, 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 |
GrailsTestCaseRunner
public GrailsTestCaseRunner(Class testClass)
GrailsTestCaseRunner
public GrailsTestCaseRunner(Class testClass,
GrailsTestMode mode,
ApplicationContext appCtx)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
getMode
public Object getMode()
getAppCtx
public Object getAppCtx()
validateMode
protected Object validateMode()
methodBlock
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
- Overrides:
methodBlock
in class org.junit.runners.BlockJUnit4ClassRunner
withGrailsTestEnvironment
protected Object withGrailsTestEnvironment(org.junit.runners.model.Statement statement,
Object test)
computeTestMethods
protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
- Overrides:
computeTestMethods
in class org.junit.runners.BlockJUnit4ClassRunner
withBefores
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method,
Object target,
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 method,
Object target,
org.junit.runners.model.Statement statement)
- Overrides:
withAfters
in class org.junit.runners.BlockJUnit4ClassRunner
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()