|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectspock.lang.Specification
FilterContextSpec
class FilterContextSpec extends spock.lang.Specification
Field Summary |
---|
Fields inherited from class spock.lang.Specification | |
---|---|
_ |
Property Summary | |
---|---|
org.codehaus.groovy.grails.support.MockApplicationContext |
appCtx
|
org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest |
request
|
Constructor Summary | |
FilterContextSpec()
|
Method Summary | |
---|---|
java.lang.Object
|
a key generator bean name can be specified at controller or action level or is defaulted otherwise()
|
java.lang.Object
|
a request is considered cachable if there is an annotation on the controller or action()
|
java.lang.Object
|
a request is considered flushable if there is an annotation on the controller or action()
|
java.lang.Object
|
cannot get cache name for a non-caching request()
|
java.lang.Object
|
cannot get cache names for a non-flushing request()
|
java.lang.Object
|
cannot get key generator for a non-caching request()
|
java.lang.Object
|
setup()
|
java.lang.Object
|
the cache name is identified based on the annotation on the controller or action()
|
java.lang.Object
|
the cache name is identified via the cache resolver specified by the annotation()
|
java.lang.Object
|
the cache names are identified based on the annotation on the controller or action()
|
Methods inherited from class spock.lang.Specification | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Property Detail |
---|
org.codehaus.groovy.grails.support.MockApplicationContext appCtx
org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest request
Constructor Detail |
---|
FilterContextSpec()
Method Detail |
---|
@Unroll("key generator is #keyGeneratorMatcher when controller is '#controllerName' and action is '#actionName'") java.lang.Object a key generator bean name can be specified at controller or action level or is defaulted otherwise()
@Unroll("shouldCache returns #shouldCache when controller is '#controllerName' and action is '#actionName'") java.lang.Object a request is considered cachable if there is an annotation on the controller or action()
@Unroll("shouldFlush returns #shouldFlush when controller is '#controllerName' and action is '#actionName'") java.lang.Object a request is considered flushable if there is an annotation on the controller or action()
@Unroll("cannot get cache name when controller is '#controllerName' and action is '#actionName'") java.lang.Object cannot get cache name for a non-caching request()
@Unroll("cannot get cache names when controller is '#controllerName' and action is '#actionName'") java.lang.Object cannot get cache names for a non-flushing request()
@Unroll("cannot get key generator when controller is '#controllerName' and action is '#actionName'") java.lang.Object cannot get key generator for a non-caching request()
java.lang.Object setup()
@Unroll("cache name is '#expectedCacheName' when controller is '#controllerName' and action is '#actionName'") java.lang.Object the cache name is identified based on the annotation on the controller or action()
java.lang.Object the cache name is identified via the cache resolver specified by the annotation()
@Unroll("cache names are #expectedCacheNames when controller is '#controllerName' and action is '#actionName'") java.lang.Object the cache names are identified based on the annotation on the controller or action()
Groovy Documentation