org.codehaus.groovy.grails.test.junit4.runner
Class GrailsTestCaseRunnerBuilder

java.lang.Object
  extended by org.junit.runners.model.RunnerBuilder
      extended by org.codehaus.groovy.grails.test.junit4.runner.GrailsTestCaseRunnerBuilder
All Implemented Interfaces:
groovy.lang.GroovyObject

public class GrailsTestCaseRunnerBuilder
extends org.junit.runners.model.RunnerBuilder
implements groovy.lang.GroovyObject


Constructor Summary
GrailsTestCaseRunnerBuilder()
           
GrailsTestCaseRunnerBuilder(GrailsTestMode mode, ApplicationContext appCtx)
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
 Object getAppCtx()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getMode()
           
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
 org.junit.runner.Runner runnerForClass(Class testClass)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
protected  Object validateMode()
           
 
Methods inherited from class org.junit.runners.model.RunnerBuilder
runners, safeRunnerForClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsTestCaseRunnerBuilder

public GrailsTestCaseRunnerBuilder()

GrailsTestCaseRunnerBuilder

public GrailsTestCaseRunnerBuilder(GrailsTestMode mode,
                                   ApplicationContext appCtx)
Method Detail

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()

runnerForClass

public org.junit.runner.Runner runnerForClass(Class testClass)
Specified by:
runnerForClass in class org.junit.runners.model.RunnerBuilder

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()