@CompileStatic public class GroovyPageUnitTestResourceLoader extends DefaultResourceLoader implements GrailsApplicationAware, InitializingBean
A ResourceLoader implementation that loads GSP views relative to the project base directory for unit tests.
Modifiers | Name | Description |
---|---|---|
static String |
WEB_INF_PREFIX |
Fields inherited from class | Fields |
---|---|
class DefaultResourceLoader |
CLASSPATH_URL_PREFIX |
Constructor and description |
---|
GroovyPageUnitTestResourceLoader(Map<String, String> groovyPages) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterPropertiesSet() |
|
public Resource |
getResource(String location) |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class DefaultResourceLoader |
addProtocolResolver, clearResourceCaches, equals, getClass, getClassLoader, getProtocolResolvers, getResource, getResourceCache, hashCode, notify, notifyAll, setClassLoader, toString, wait, wait, wait |