- getAt(String) - Method in GrailsMockHttpServletRequest
-
Map-like access to request attributes, e.g. request["count"].
- getAt(String) - Method in GrailsMockHttpSession
-
- getContentType() - Method in MockPart
-
- getControllerName() - Method in GrailsTestInterceptor
-
- getDelegate() - Method in AbstractClosureProxy
-
- getDirective() - Method in AbstractClosureProxy
-
- getFile(String) - Method in GrailsMockHttpServletRequest
-
{@inheritDoc }
- getFileMap() - Method in GrailsMockHttpServletRequest
-
{@inheritDoc }
- getFileNames() - Method in GrailsMockHttpServletRequest
-
{@inheritDoc }
- getFiles(String) - Method in GrailsMockHttpServletRequest
-
{@inheritDoc }
- getForwardURI() - Method in GrailsMockHttpServletRequest
-
Implementation of the dynamic "forwardURI" property.
- getHeader(String) - Method in MockPart
-
- getHeaderNames() - Method in MockPart
-
- getHeaders(String) - Method in MockPart
-
- getInputStream() - Method in GrailsMockHttpServletRequest
-
- getInputStream() - Method in MockPart
-
- getJson() - Method in AbstractGrailsMockHttpServletResponse
-
Get the response JSON
- getJSON() - Method in GrailsMockHttpServletRequest
-
Parses the request content as JSON using the JSON converter.
- getMaximumNumberOfParameters() - Method in AbstractClosureProxy
-
- getMultiFileMap() - Method in GrailsMockHttpServletRequest
-
{@inheritDoc }
- getMultipartContentType(String) - Method in GrailsMockHttpServletRequest
-
- getMultipartHeaders(String) - Method in GrailsMockHttpServletRequest
-
- getName() - Method in MockPart
-
- getParameterTypes() - Method in AbstractClosureProxy
-
- getPart(String) - Method in GrailsMockHttpServletRequest
-
- getParts() - Method in GrailsMockHttpServletRequest
-
- getProperty(String) - Method in AbstractClosureProxy
-
- getProperty(String) - Method in GrailsMockHttpServletRequest
-
Property access for request attributes.
- getProperty(String) - Method in GrailsMockHttpSession
-
- getRedirectedUrl() - Method in AbstractGrailsMockHttpServletResponse
-
- getRedirectUrl() - Method in AbstractGrailsMockHttpServletResponse
-
- getResolveStrategy() - Method in AbstractClosureProxy
-
- getSize() - Method in MockPart
-
- getSpringApplication() - Method in GrailsApplicationContextLoader
-
- getSubmittedFileName() - Method in MockPart
-
- getTargetFileLocation() - Method in GrailsMockMultipartFile
-
@return The location where the MultipartFile was transfered to
- getText() - Method in AbstractGrailsMockHttpServletResponse
-
The response body as text
- getXml() - Method in AbstractGrailsMockHttpServletResponse
-
Get the response XML
- getXML() - Method in GrailsMockHttpServletRequest
-
Parses the request content as XML using XmlSlurper and returns
the GPath result object.
- GrailsApplicationContextLoader - Class in grails.boot.test
Extends Spring Boot's org.springframework.boot.test.context.SpringBootContextLoader with a version for Grails
- GrailsMockHttpServletRequest - Class in org.grails.plugins.testing
A custom mock HTTP servlet request that provides the extra properties
and methods normally injected by the "servlets" plugin.
- GrailsMockHttpServletRequest(ServletContext) - Constructor in GrailsMockHttpServletRequest
-
- GrailsMockHttpServletResponse - Class in org.grails.plugins.testing
- GrailsMockHttpSession - Class in org.grails.plugins.testing
Simple sub-class of Spring's MockHttpSession that adds support for
map and property notation, i.e.
- GrailsMockMultipartFile - Class in org.grails.plugins.testing
Extends the default Spring MockMultipartFile to provide an implementation of transferTo that
doesn't use the file system.
- GrailsMockMultipartFile(String, String, String, InputStream) - Constructor in GrailsMockMultipartFile
-
- GrailsTestAutowirer - Class in org.grails.test.support
Convenience class to autowire test classes
- GrailsTestAutowirer(ApplicationContext) - Constructor in GrailsTestAutowirer
-
- GrailsTestInterceptor - Class in org.grails.test.support
- GrailsTestInterceptor(Object, GrailsTestMode, ApplicationContext, String) - Constructor in GrailsTestInterceptor
-
- GrailsTestMode - Class in org.grails.test.support
- GrailsTestRequestEnvironmentInterceptor - Class in org.grails.test.support
Establishes a “mock” request environment suitable for running tests in.
- GrailsTestRequestEnvironmentInterceptor(ApplicationContext) - Constructor in GrailsTestRequestEnvironmentInterceptor
-
- GrailsTestTransactionInterceptor - Class in org.grails.test.support
Establishes a rollback only transaction for running a test in.
- GrailsTestTransactionInterceptor(ApplicationContext) - Constructor in GrailsTestTransactionInterceptor
-