@groovy.transform.CompileStatic class ControllerTestPlugin extends java.lang.Object
Controller TestPlugin for TestRuntime - adds beans and state management for supporting controller related unit tests
Type | Name and description |
---|---|
int |
ordinal |
java.lang.String[] |
providedFeatures |
java.lang.String[] |
requiredFeatures |
Type | Name and description |
---|---|
protected void |
applicationInitialized(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
bindGrailsWebRequest(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
clearGrailsWebRequest(TestRuntime runtime) |
void |
close(TestRuntime runtime) |
void |
defineBeans(TestRuntime runtime, groovy.lang.Closure closure) |
GrailsApplication |
getGrailsApplication(TestEvent event) |
protected void |
mockCodec(TestRuntime runtime, java.lang.Class codecClass) |
protected void |
mockDefaultCodecs(TestRuntime runtime) |
void |
onTestEvent(TestEvent event) |
protected void |
registerBeans(TestRuntime runtime, GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |