JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
ActionSettingMethodHandler
- Class in
org.grails.testing.runtime.support
ActionSettingMethodHandler(java.lang.Object, org.grails.web.servlet.mvc.GrailsWebRequest)
- Constructor in
ActionSettingMethodHandler
afterPropertiesSet()
- Method in
GroovyPageUnitTestResourceLoader
ALL_CONTENT_TYPE
- Property in
ControllerUnitTest
applicationClass()
- Method in
Integration
Specify the Application class which should be used for this functional test.
applyTemplate(java.io.StringWriter, java.lang.String, java.util.Map)
- Method in
GrailsWebUnitTest
Renders a template for the given contents and model to the provided writer
applyTemplate(java.io.StringWriter, java.lang.String, java.util.Map)
- Method in
TagLibUnitTest
assertAction(java.lang.String, java.lang.String)
- Method in
UrlMappingsUnitTest
Asserts an action exists for the specified controller name, action name and url
assertController(java.lang.String)
- Method in
UrlMappingsUnitTest
asserts a controller exists for the specified name and url
assertForwardUrlMapping(Map<String, Object>, java.lang.Object, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
assertionKeys
- Field in
UrlMappingsUnitTest
assertReverseUrlMapping(Map<String, String>, java.lang.String, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
Asserts the given controller and action produce the given reverse URL mapping
assertUrlMapping(Map<String, String>, java.lang.String, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
Asserts a URL mapping maps to the specified controller, action, and optionally also parameters.
assertView(java.lang.String, java.lang.String)
- Method in
UrlMappingsUnitTest
Asserts a view exists for the specified controller name and view name
ATOM_XML_CONTENT_TYPE
- Property in
ControllerUnitTest
autowire()
- Method in
AutowiredTest
AutowiredInterceptor
- Class in
org.grails.testing.spock
AutowiredInterceptor()
- Constructor in
AutowiredInterceptor
autowiredInterceptor
- Property in
TestingSupportExtension
AutowiredTest
- Trait in
grails.testing.spring
B
basePath
- Field in
GroovyPageUnitTestResourceLoader
BEAN_NAME
- Field in
DataTestSetupSpecInterceptor
build()
- Method in
GrailsApplicationBuilder
C
checkAction(java.lang.String, java.lang.String, boolean)
- Method in
UrlMappingsUnitTest
checkController(java.lang.String, boolean)
- Method in
UrlMappingsUnitTest
checkForwardUrlMapping(Map<String, Object>, java.lang.Object, groovy.lang.Closure, boolean)
- Method in
UrlMappingsUnitTest
checkReverseUrlMapping(Map<String, String>, java.lang.String, groovy.lang.Closure, boolean)
- Method in
UrlMappingsUnitTest
checkView(java.lang.String, java.lang.String, boolean)
- Method in
UrlMappingsUnitTest
classes
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#classes()#classes()
Default:
{}
cleanup(grails.testing.web.GrailsWebUnitTest)
- Method in
WebCleanupInterceptor
CleanupContextInterceptor
- Class in
org.grails.testing.spock
CleanupContextInterceptor()
- Constructor in
CleanupContextInterceptor
cleanupContextInterceptor
- Property in
TestingSupportExtension
cleanupDataTest(grails.testing.gorm.DataTest)
- Method in
DataTestCleanupInterceptor
cleanupGrailsApplication()
- Method in
GrailsUnitTest
cleanupPromiseFactory()
- Method in
GrailsUnitTest
configureDataTest(grails.testing.gorm.DataTest)
- Method in
DataTestSetupSpecInterceptor
configuredMockedControllers()
- Method in
UrlMappingsUnitTest
constraintsEvaluator
- Field in
DataTestSetupSpecInterceptor
CONTEXT_CONFIG_ANNOTATION
- Field in
IntegrationTestMixinTransformation
controller
- Property in
ActionSettingMethodHandler
ControllerUnitTest
- Trait in
grails.testing.web.controllers
convert(java.lang.String)
- Method in
DataTestSetupSpecInterceptor.1
createAndEnhanceController(java.lang.Class)
- Method in
GrailsWebUnitTest
createJUnitFixtureMethod(org.spockframework.runtime.model.SpecInfo, java.lang.reflect.Method, org.spockframework.runtime.model.MethodKind, Class<? extends Annotation>)
- Method in
TestingSupportExtension
createMainContext(java.lang.Object)
- Method in
GrailsApplicationBuilder
createMethod(org.spockframework.runtime.model.SpecInfo, java.lang.reflect.Method, org.spockframework.runtime.model.MethodKind, java.lang.String)
- Method in
TestingSupportExtension
createServletContext()
- Method in
GrailsApplicationBuilder
currentSession
- Property in
DataTest
customizeGrailsApplication(grails.core.GrailsApplication)
- Method in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
customizeGrailsApplicationClosure
- Property in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
customizePluginManager(grails.plugins.GrailsPluginManager)
- Method in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
D
DataTest
- Trait in
grails.testing.gorm
DATATEST_CLASS
- Field in
ServiceUnitTest
dataTest
- Field in
ServiceUnitTest
DataTestCleanupInterceptor
- Class in
org.grails.testing.gorm.spock
DataTestCleanupInterceptor()
- Constructor in
DataTestCleanupInterceptor
dataTestCleanupInterceptor
- Property in
GormTestingSupportExtension
DataTestCleanupSpecInterceptor
- Class in
org.grails.testing.gorm.spock
DataTestCleanupSpecInterceptor()
- Constructor in
DataTestCleanupSpecInterceptor
dataTestCleanupSpecInterceptor
- Property in
GormTestingSupportExtension
dataTestLoaded
- Field in
ServiceUnitTest
DataTestSetupInterceptor
- Class in
org.grails.testing.gorm.spock
DataTestSetupInterceptor()
- Constructor in
DataTestSetupInterceptor
dataTestSetupInterceptor
- Property in
GormTestingSupportExtension
DataTestSetupSpecInterceptor
- Class in
org.grails.testing.gorm.spock
DataTestSetupSpecInterceptor.1
- Class in
org.grails.testing.gorm.spock
DataTestSetupSpecInterceptor.1()
- Constructor in
DataTestSetupSpecInterceptor.1
DataTestSetupSpecInterceptor()
- Constructor in
DataTestSetupSpecInterceptor
dataTestSetupSpecInterceptor
- Property in
GormTestingSupportExtension
DEFAULT_INCLUDED_PLUGINS
- Property in
GrailsApplicationBuilder
defineBeans(grails.core.GrailsApplication, groovy.lang.Closure)
- Method in
GrailsApplicationBuilder
defineBeans(java.lang.Object)
- Method in
GrailsUnitTest
disableControllerProxy()
- Method in
ControllerUnitTest
domainClass
- Field in
DomainUnitTest
domainInstance
- Field in
DomainUnitTest
domainsHaveBeenMocked
- Property in
DataTest
DomainUnitTest
- Trait in
grails.testing.gorm
doWithConfig
- Property in
GrailsApplicationBuilder
doWithConfig()
- Method in
GrailsUnitTest
doWithSpring
- Property in
GrailsApplicationBuilder
doWithSpring()
- Method in
GrailsUnitTest
E
enableAutowireByName(org.codehaus.groovy.ast.ClassNode)
- Method in
IntegrationTestMixinTransformation
enhanceGebSpecWithPort(org.codehaus.groovy.ast.ClassNode)
- Method in
IntegrationTestMixinTransformation
ensureInterceptorHasBeenMocked()
- Method in
InterceptorUnitTest
ensureTaglibHasBeenMocked()
- Method in
TagLibUnitTest
executeDoWithSpringCallback(grails.core.GrailsApplication)
- Method in
GrailsApplicationBuilder
F
FORM_CONTENT_TYPE
- Property in
ControllerUnitTest
G
getApplicationContext()
- Method in
GrailsUnitTest
Returns:
grailsApplication.mainContext
getArtefactInstance()
- Method in
ParameterizedGrailsUnitTest
getBeanName(Class<?>)
- Method in
ControllerUnitTest
getBeanName(Class<?>)
- Method in
InterceptorUnitTest
getBeanName(Class<?>)
- Method in
ParameterizedGrailsUnitTest
getBeanName(Class<?>)
- Method in
ServiceUnitTest
getBeanName(Class<?>)
- Method in
TagLibUnitTest
getBeanName(Class<?>)
- Method in
UrlMappingsUnitTest
getClassLoader()
- Method in
GrailsApplicationBuilder.1
getConfig()
- Method in
GrailsUnitTest
Returns:
grailsApplication.config
getController()
- Method in
ControllerUnitTest
getControllerClass(java.lang.String)
- Method in
UrlMappingsUnitTest
getControllersToMock()
- Method in
UrlMappingsUnitTest
getDatastore()
- Method in
DataTest
getDeduceEnvironments()
- Method in
GrailsApplicationBuilder.1
getDefaultContextLoaderClassName(Class<?>)
- Method in
GrailsJunit4ClassRunner
getDomain()
- Method in
DomainUnitTest
Returns:
An instance of the domain class
getDomainClassesToMock()
- Method in
DataTest
getDomainClassesToMock()
- Method in
DomainUnitTest
getDomainUnderTest()
- Method in
DomainUnitTest
getEnvironments()
- Method in
GrailsApplicationBuilder.1
getFailOnError()
- Method in
DataTest
getFlash()
- Method in
GrailsWebUnitTest
The Grails 'flash' object @return
getGrailsApplication()
- Method in
GrailsUnitTest
Returns:
The GrailsApplication instance
getHandlerInterceptor()
- Method in
InterceptorUnitTest
getIncludePlugins()
- Method in
GrailsUnitTest
getInterceptor()
- Method in
InterceptorUnitTest
getInterceptorTypeUnderTest()
- Method in
InterceptorUnitTest
getLocalOverride()
- Method in
GrailsUnitTest
getMessageSource()
- Method in
GrailsUnitTest
Returns:
the MessageSource bean from the application context
getModel()
- Method in
ControllerUnitTest
Returns:
The model of the current controller
getOptionalServletContext()
- Method in
GrailsUnitTest
Returns:
the servlet context
getParams()
- Method in
GrailsWebUnitTest
The Grails 'params' object which is an instance of grails.web.servlet.mvc.GrailsParameterMap
getRequest()
- Method in
GrailsWebUnitTest
getResource(java.lang.String)
- Method in
GroovyPageUnitTestResourceLoader
getResponse()
- Method in
GrailsWebUnitTest
getService()
- Method in
ServiceUnitTest
getServletContext()
- Method in
GrailsWebUnitTest
getSession()
- Method in
GrailsWebUnitTest
The org.springframework.mock.web.MockHttpSession instance
getStatus()
- Method in
GrailsWebUnitTest
Returns:
The status code of the response
getTagLib()
- Method in
TagLibUnitTest
getTagLibTypeUnderTest()
- Method in
TagLibUnitTest
getTransactionManager()
- Method in
DataTest
getTypeUnderTest()
- Method in
ParameterizedGrailsUnitTest
getUrlMappingsHolder()
- Method in
UrlMappingsUnitTest
Returns:
The UrlMappingsHolder bean
getView()
- Method in
ControllerUnitTest
Returns:
The view of the current controller
getViews()
- Method in
GrailsWebUnitTest
GormTestingSupportExtension
- Class in
org.grails.testing.gorm.spock
GormTestingSupportExtension()
- Constructor in
GormTestingSupportExtension
GRAILS_APPLICATION_CONTEXT_LOADER
- Field in
IntegrationTestMixinTransformation
grailsApplication
- Property in
GrailsApplicationBuilder
grailsApplication
- Field in
GroovyPageUnitTestResourceLoader
GrailsApplicationBuilder
- Class in
org.grails.testing
Created by jameskleeh on 5/31/17.
GrailsApplicationBuilder.1
- Class in
org.grails.testing
GrailsApplicationBuilder.1()
- Constructor in
GrailsApplicationBuilder.1
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
- Class in
org.grails.testing
GrailsApplicationBuilder()
- Constructor in
GrailsApplicationBuilder
GrailsJunit4ClassRunner
- Class in
org.grails.testing.context.junit4
Authors:
Graeme Rocher
GrailsJunit4ClassRunner()
- Constructor in
GrailsJunit4ClassRunner
GrailsTestConfiguration
- Annotation Type in
org.grails.testing.context.junit4
Authors:
Graeme Rocher
GrailsUnitTest
- Trait in
org.grails.testing
GrailsWebUnitTest
- Trait in
grails.testing.web
GROOVY_PAGES_TEMPLATE_ENGINE
- Field in
WebCleanupInterceptor
GROOVY_PAGES_TEMPLATE_RENDERER
- Field in
WebCleanupInterceptor
groovyPages
- Property in
GrailsWebUnitTest
groovyPages
- Field in
GroovyPageUnitTestResourceLoader
GroovyPageUnitTestResourceLoader
- Class in
org.grails.testing.runtime.support
A org.springframework.core.io.ResourceLoader implementation that loads GSP views relative to the project base directory for unit tests.
GroovyPageUnitTestResourceLoader(Map<String,String>)
- Constructor in
GroovyPageUnitTestResourceLoader
H
HAL_JSON_CONTENT_TYPE
- Property in
ControllerUnitTest
HAL_XML_CONTENT_TYPE
- Property in
ControllerUnitTest
hasBeenMocked
- Field in
InterceptorUnitTest
hasBeenMocked
- Field in
TagLibUnitTest
hasRun
- Property in
RunOnceInterceptor
HTML_CONTENT_TYPE
- Property in
ControllerUnitTest
I
includedPlugins
- Property in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
includePlugins
- Property in
GrailsApplicationBuilder
inheritInitializers
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#inheritInitializers()#inheritInitializers()
Default:
true
inheritLocations
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#inheritLocations()#inheritLocations()
Default:
true
initializeMappingContext()
- Method in
DataTest
initializers
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#initializers()#initializers()
Default:
{}
initialMockDomainSetup()
- Method in
DataTest
Integration
- Annotation Type in
grails.testing.mixin.integration
Transformation to apply to integration tests
INTEGRATION_TEST_CLASS_NODE
- Field in
IntegrationTestMixinTransformation
IntegrationTestMixinTransformation
- Class in
org.grails.compiler.injection.testing
Authors:
Graeme Rocher
IntegrationTestMixinTransformation()
- Constructor in
IntegrationTestMixinTransformation
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
AutowiredInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
CleanupContextInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
DataTestCleanupInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
DataTestCleanupSpecInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
DataTestSetupInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
DataTestSetupSpecInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
InterceptorSetupSpecInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
UrlMappingSetupSpecInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
WebCleanupInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
WebCleanupSpecInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
WebSetupInterceptor
intercept(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
WebSetupSpecInterceptor
InterceptorSetupSpecInterceptor
- Class in
org.grails.testing.spock
InterceptorSetupSpecInterceptor()
- Constructor in
InterceptorSetupSpecInterceptor
interceptorSetupSpecInterceptor
- Property in
WebTestingSupportExtension
InterceptorUnitTest
- Trait in
grails.testing.web.interceptor
interceptSetupMethod(org.spockframework.runtime.extension.IMethodInvocation)
- Method in
RunOnceInterceptor
invoke(java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Object)
- Method in
ActionSettingMethodHandler
IS_OLD_SETUP
- Field in
DataTestSetupSpecInterceptor
isOverriddenJUnitFixtureMethod(org.spockframework.runtime.model.SpecInfo, java.lang.reflect.Method, Class<? extends Annotation>)
- Method in
TestingSupportExtension
isServletApiPresent
- Field in
GrailsApplicationBuilder
J
JSON_CONTENT_TYPE
- Property in
ControllerUnitTest
K
KEY_EXCEPTION
- Field in
UrlMappingsUnitTest
L
lazyLoadableTagLibs
- Field in
LazyTagLibraryLookup
LazyTagLibraryLookup
- Class in
org.grails.testing.runtime.support
Lazy implementation of the tag library lookup class designed for testing purposes.
loadDataTestClass()
- Method in
ServiceUnitTest
loadedCodecs
- Field in
GrailsWebUnitTest
loadExternalBeans
- Property in
GrailsApplicationBuilder
loadExternalBeans()
- Method in
GrailsUnitTest
localOverride
- Property in
GrailsApplicationBuilder
localOverride
- Property in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
locations
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#locations()#locations()
Default:
{}
lookupTagLibrary(java.lang.String, java.lang.String)
- Method in
LazyTagLibraryLookup
M
makeCanonical(java.lang.String)
- Method in
GroovyPageUnitTestResourceLoader
mapURI(java.lang.String)
- Method in
UrlMappingsUnitTest
Maps a URI and returns the appropriate controller instance
mockArtefact(Class<?>)
- Method in
ControllerUnitTest
Mocks a Grails controller class, providing the needed behavior and defining it in the ApplicationContext
mockArtefact(Class<?>)
- Method in
InterceptorUnitTest
mockArtefact(Class<?>)
- Method in
ParameterizedGrailsUnitTest
mockArtefact(Class<?>)
- Method in
ServiceUnitTest
Mocks a service class, registering it with the application context
mockArtefact(Class<?>)
- Method in
TagLibUnitTest
Mocks a tag library, making it available to subsequent calls to controllers mocked via
mockArtefact(Class)
and GSPs rendered via
applyTemplate(String, Map)
mockArtefact(Class<?>)
- Method in
UrlMappingsUnitTest
MockCascadingDomainClassValidator
- Class in
org.grails.testing.gorm
MockCascadingDomainClassValidator(org.grails.datastore.mapping.model.PersistentEntity, org.springframework.context.MessageSource, org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator)
- Constructor in
MockCascadingDomainClassValidator
mockCodec(Class<?>, boolean)
- Method in
GrailsWebUnitTest
mockController(Class<?>)
- Method in
GrailsWebUnitTest
mockDataService(Class<?>)
- Method in
DataTest
Called by the ServiceUnitTest class (via reflection) to create a data service
mockDomain(Class<?>, java.util.List)
- Method in
DataTest
Mocks a domain class providing the equivalent GORM behavior but against an in-memory concurrent hash map instead of a database
mockDomains(Class<?>)
- Method in
DataTest
Mocks domain classes providing the equivalent GORM behavior but against an in-memory concurrent hash map instead of a database
mockInterceptor(Class<?>)
- Method in
InterceptorUnitTest
Mock the interceptor for the given name
mockTagLib(Class<?>)
- Method in
GrailsWebUnitTest
mockTagLibs(Class<?>)
- Method in
GrailsWebUnitTest
MULTIPART_FORM_CONTENT_TYPE
- Property in
ControllerUnitTest
MY_TYPE
- Property in
IntegrationTestMixinTransformation
N
name
- Field in
GrailsTestConfiguration
See Also:
ContextConfiguration#name()#name()
Default:
""
O
OnceBefore
- Annotation Type in
grails.testing.spock
This annotation may be applied to fixture methods in a Spock Spec that should be run once and only once before any test methods are run.
P
ParameterizedGrailsUnitTest
- Trait in
org.grails.testing
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry)
- Method in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
prepareContext(org.springframework.context.ConfigurableApplicationContext, org.springframework.beans.factory.config.ConfigurableBeanFactory)
- Method in
GrailsApplicationBuilder
putTagLib(Map<String,Object>, java.lang.String, grails.core.GrailsTagLibClass)
- Method in
LazyTagLibraryLookup
Q
R
registerBeans(grails.core.GrailsApplication)
- Method in
GrailsApplicationBuilder
registerDomainClassValidator(org.grails.datastore.mapping.model.PersistentEntity)
- Method in
DataTest
registerGrailsAppPostProcessorBean(org.springframework.beans.factory.config.ConfigurableBeanFactory)
- Method in
GrailsApplicationBuilder
registerGrailsDomainClass(Class<?>)
- Method in
DataTest
registerLazyLoadableTagLibClass(java.lang.Class)
- Method in
LazyTagLibraryLookup
registerTagLibraries()
- Method in
LazyTagLibraryLookup
render(java.util.Map)
- Method in
GrailsWebUnitTest
Mimics the behavior of the render method in controllers but returns the rendered contents directly
renderTemplateToStringWriter(java.io.StringWriter, groovy.text.Template, java.util.Map)
- Method in
GrailsWebUnitTest
request
- Property in
ActionSettingMethodHandler
RUN_WITH_ANNOTATION_NODE
- Field in
IntegrationTestMixinTransformation
RunOnce
- Annotation Type in
grails.testing.spock
This annotation may be applied to fixture methods in a Spock Spec that should be run once and only.
RunOnceExtension
- Class in
org.grails.testing.spock
RunOnceExtension()
- Constructor in
RunOnceExtension
RunOnceInterceptor
- Class in
org.grails.testing.spock
RunOnceInterceptor()
- Constructor in
RunOnceInterceptor
S
saveDomainList(org.grails.datastore.mapping.model.PersistentEntity, java.util.List)
- Method in
DataTest
ServiceUnitTest
- Trait in
grails.testing.services
servletContext
- Property in
GrailsApplicationBuilder
setGrailsApplication(grails.core.GrailsApplication)
- Method in
GroovyPageUnitTestResourceLoader
setup(grails.testing.web.interceptor.InterceptorUnitTest)
- Method in
InterceptorSetupSpecInterceptor
setup(grails.testing.web.GrailsWebUnitTest)
- Method in
WebSetupInterceptor
setup(grails.testing.web.GrailsWebUnitTest)
- Method in
WebSetupSpecInterceptor
setupDataTestBeans(grails.testing.gorm.DataTest)
- Method in
DataTestSetupSpecInterceptor
SPEC_CLASS
- Field in
IntegrationTestMixinTransformation
SPRING_APPLICATION_CONFIGURATION_CLASS_NODE
- Field in
IntegrationTestMixinTransformation
SPRING_JUNIT4_CLASS_RUNNER
- Field in
IntegrationTestMixinTransformation
T
tagLibClasses
- Field in
LazyTagLibraryLookup
TagLibUnitTest
- Trait in
grails.testing.web.taglib
tagNameKey(java.lang.String, java.lang.String)
- Method in
LazyTagLibraryLookup
TestingSupportExtension
- Class in
org.grails.testing.spock
TestingSupportExtension()
- Constructor in
TestingSupportExtension
TestRuntimeGrailsApplicationPostProcessor(groovy.lang.Closure, java.util.Set)
- Constructor in
GrailsApplicationBuilder.TestRuntimeGrailsApplicationPostProcessor
TEXT_JSON_CONTENT_TYPE
- Property in
ControllerUnitTest
TEXT_XML_CONTENT_TYPE
- Property in
ControllerUnitTest
U
UrlMappingSetupSpecInterceptor
- Class in
org.grails.testing.spock
UrlMappingSetupSpecInterceptor()
- Constructor in
UrlMappingSetupSpecInterceptor
urlMappingSetupSpecInterceptor
- Property in
WebTestingSupportExtension
UrlMappingsUnitTest
- Trait in
grails.testing.web
V
verifyAction(java.lang.String, java.lang.String)
- Method in
UrlMappingsUnitTest
Parameters:
controller
- The controller name
verifyController(java.lang.String)
- Method in
UrlMappingsUnitTest
Parameters:
controller
- The controller name
verifyForwardUrlMapping(Map<String, Object>, java.lang.Object, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
verifyReverseUrlMapping(Map<String, String>, java.lang.String, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
Asserts the given controller and action produce the given reverse URL mapping
verifyUrlMapping(Map<String, String>, java.lang.String, groovy.lang.Closure)
- Method in
UrlMappingsUnitTest
Verifies a URL mapping maps to the specified controller, action, and optionally also parameters.
verifyView(java.lang.String, java.lang.String)
- Method in
UrlMappingsUnitTest
Parameters:
controller
- The controller name
visit(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit)
- Method in
IntegrationTestMixinTransformation
visitFixtureAnnotation(grails.testing.spock.RunOnce, org.spockframework.runtime.model.MethodInfo)
- Method in
RunOnceExtension
visitSpec(org.spockframework.runtime.model.SpecInfo)
- Method in
GormTestingSupportExtension
visitSpec(org.spockframework.runtime.model.SpecInfo)
- Method in
TestingSupportExtension
visitSpec(org.spockframework.runtime.model.SpecInfo)
- Method in
WebTestingSupportExtension
W
weaveIntegrationTestMixin(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode)
- Method in
IntegrationTestMixinTransformation
WEB_APP_CONFIGURATION
- Field in
IntegrationTestMixinTransformation
WEB_INF_PREFIX
- Field in
GroovyPageUnitTestResourceLoader
WebCleanupInterceptor
- Class in
org.grails.testing.spock
WebCleanupInterceptor()
- Constructor in
WebCleanupInterceptor
webCleanupInterceptor
- Property in
WebTestingSupportExtension
WebCleanupSpecInterceptor
- Class in
org.grails.testing.spock
WebCleanupSpecInterceptor()
- Constructor in
WebCleanupSpecInterceptor
webCleanupSpecInterceptor
- Property in
WebTestingSupportExtension
webRequest
- Property in
GrailsWebUnitTest
WebSetupInterceptor
- Class in
org.grails.testing.spock
WebSetupInterceptor()
- Constructor in
WebSetupInterceptor
webSetupInterceptor
- Property in
WebTestingSupportExtension
WebSetupSpecInterceptor
- Class in
org.grails.testing.spock
WebSetupSpecInterceptor()
- Constructor in
WebSetupSpecInterceptor
webSetupSpecInterceptor
- Property in
WebTestingSupportExtension
WebTestingSupportExtension
- Class in
org.grails.testing.spock
WebTestingSupportExtension()
- Constructor in
WebTestingSupportExtension
withInterceptors(Map<String, Object>, groovy.lang.Closure)
- Method in
InterceptorUnitTest
Execute the given request with the registered interceptors
withRequest(Map<String, Object>)
- Method in
InterceptorUnitTest
Allows testing of the interceptor directly by setting up an incoming request that can be matched prior to invoking the interceptor
X
XHTML_CONTENT_TYPE
- Property in
ControllerUnitTest
XML_CONTENT_TYPE
- Property in
ControllerUnitTest
Y
Z
_
_artefactInstance
- Field in
ParameterizedGrailsUnitTest
_grailsApplication
- Field in
GrailsUnitTest
_proxyInstance
- Field in
ControllerUnitTest
_servletContext
- Field in
GrailsUnitTest
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation