@groovy.transform.CompileStatic class DomainClassTestPlugin extends java.lang.Object
a TestPlugin for TestRuntime for adding Grails DomainClass (GORM) support - this implementation uses SimpleMapDatastore GORM implementation
Type | Name and description |
---|---|
protected void |
after(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
applicationInitialized(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
before(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
cleanupDatastore() |
void |
close(TestRuntime runtime) |
protected void |
connectDatastore(TestRuntime runtime, GrailsApplication grailsApplication) |
void |
defineBeans(TestRuntime runtime, groovy.lang.Closure closure) |
GrailsApplication |
getGrailsApplication(TestEvent event) |
protected void |
initializeDatastoreImplementation(GrailsApplication grailsApplication) |
void |
onTestEvent(TestEvent event) |
protected void |
registerBeans(TestRuntime runtime, GrailsApplication grailsApplication) |
protected void |
shutdownDatastoreImplementation(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() |