|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object grails.test.mixin.support.GrailsUnitTestMixin grails.test.mixin.web.ControllerUnitTestMixin grails.test.mixin.webflow.WebFlowUnitTestMixin
class WebFlowUnitTestMixin extends ControllerUnitTestMixin
A unit test mixin for testing Web Flow interactions
Property Summary | |
---|---|
java.util.Map |
conversation
|
java.util.Map |
currentEvent
|
java.util.Map |
flow
|
java.util.Map |
flowMap
|
java.util.Map |
inputParams
|
java.lang.Boolean |
isInput
|
java.lang.Boolean |
isOutput
|
java.lang.String |
lastEventName
|
java.lang.String |
lastTransitionName
|
java.lang.String |
stateTransition
|
Method Summary | |
---|---|
protected java.lang.Object
|
doInput(java.lang.String name)
|
protected java.lang.Object
|
doInput(java.lang.String name, groovy.lang.Closure valueClosure)
|
protected java.lang.Object
|
doInput(java.lang.String name, java.lang.Object defaultValue)
|
protected java.lang.Object
|
doInput(java.lang.String name, java.util.Map map)
|
protected java.lang.Object
|
doInput(java.lang.String name, java.lang.Boolean required, groovy.lang.Closure valueClosure)
|
protected java.lang.Object
|
doInput(java.lang.String name, java.lang.Boolean required, java.lang.Object defaultValue)
|
protected java.lang.Object
|
doOutput(java.lang.String name, groovy.lang.Closure valueClosure)
|
protected java.lang.Object
|
doOutput(java.lang.String name, java.util.Map valueMap)
|
protected java.lang.Object
|
doOutput(java.lang.String name, java.lang.Object value)
|
protected java.lang.Object
|
methodMissing(java.lang.String name, java.lang.Object args)
Registers the end transition state of a web flow if it is returned as
|
java.lang.Object
|
mockController(java.lang.Class controllerClass)
|
java.lang.Object
|
propertyMissing(java.lang.String name)
|
Methods inherited from class ControllerUnitTestMixin | |
---|---|
bindGrailsWebRequest, cleanupGrailsWeb, clearGrailsWebRequest, configureGrailsWeb, getFlash, getModel, getParams, getSession, getView, mockCommandObject, mockController, testFor |
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 |
---|
java.util.Map conversation
java.util.Map currentEvent
java.util.Map flow
java.util.Map flowMap
java.util.Map inputParams
java.lang.Boolean isInput
java.lang.Boolean isOutput
java.lang.String lastEventName
java.lang.String lastTransitionName
java.lang.String stateTransition
Method Detail |
---|
protected java.lang.Object doInput(java.lang.String name)
protected java.lang.Object doInput(java.lang.String name, groovy.lang.Closure valueClosure)
protected java.lang.Object doInput(java.lang.String name, java.lang.Object defaultValue)
protected java.lang.Object doInput(java.lang.String name, java.util.Map map)
protected java.lang.Object doInput(java.lang.String name, java.lang.Boolean required, groovy.lang.Closure valueClosure)
protected java.lang.Object doInput(java.lang.String name, java.lang.Boolean required, java.lang.Object defaultValue)
protected java.lang.Object doOutput(java.lang.String name, groovy.lang.Closure valueClosure)
protected java.lang.Object doOutput(java.lang.String name, java.util.Map valueMap)
protected java.lang.Object doOutput(java.lang.String name, java.lang.Object value)
protected java.lang.Object methodMissing(java.lang.String name, java.lang.Object args)
return success()
@Override java.lang.Object mockController(java.lang.Class controllerClass)
java.lang.Object propertyMissing(java.lang.String name)
Groovy Documentation