Groovy Documentation
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

addConverters(Class) - Method in UnitSpec

B


C

cleanup() - Method in IntegrationSpec
cleanup() - Method in UnitSpec
cleanupSpec() - Method in IntegrationSpec
cleanupSpec() - Method in UnitSpec
ControllerSpec - Class in grails.plugin.spock
Support class for writing unit tests for controllers.
createFacade(Description) - Method in JUnit4TestCaseFacadeFactory
createGrails2TerminalListenerIfCan() - Method in GrailsSpecTestType
createJUnitReportsFactory() - Method in GrailsSpecTestType

D

doPrepare() - Method in GrailsSpecTestType
doRun(GrailsTestEventPublisher) - Method in GrailsSpecTestType

E

enableCascadingValidation() - Method in UnitSpec
Enables the cascading validation support for domain classes.
errorsMap - Field in UnitSpec

F

findClassUnderTestConventiallyBySuffix(def) - Method in MvcSpec
finish() - Method in PerSpecRunListener

G

getChainArgs() - Method in ControllerSpec
getController() - Method in ControllerSpec
getControllerClass() - Method in ControllerSpec
getForwardArgs() - Method in ControllerSpec
getMockFlash() - Method in MvcSpec
getMockParams() - Method in MvcSpec
getMockRequest() - Method in MvcSpec
getMockResponse() - Method in MvcSpec
getMockSession() - Method in MvcSpec
getOutput() - Method in GroovyPagesSpec
getPassCount() - Method in GrailsSpecTestTypeResult
getRedirectArgs() - Method in ControllerSpec
getRenderArgs() - Method in MvcSpec
getRequest() - Method in GroovyPagesSpec
getSourceDir() - Method in GrailsSpecTestType
getTagLib() - Method in TagLibSpec
getTagLibClass() - Method in TagLibSpec
getTestExtensions() - Method in GrailsSpecTestType
getTestSuffixes() - Method in GrailsSpecTestType
GrailsSpecTestType - Class in grails.plugin.spock.test
GrailsSpecTestType(String, String) - Constructor in GrailsSpecTestType
GrailsSpecTestTypeResult - Class in grails.plugin.spock.test
GroovyPagesSpec - Class in grails.plugin.spock

H


I

initializeMvcMocking(Class) - Method in ControllerSpec
initializeMvcMocking(Class) - Method in MvcSpec
initializeMvcMocking(Class) - Method in TagLibSpec
IntegrationSpec - Class in grails.plugin.spock
invokeTag(String, Map, Closure) - Method in TagLibSpec

J

JUnit4TestCaseFacadeFactory - Class in junit.framework
JUnit4TestCaseFacade's constructor is package scoped.

K


L

loadCodec(Class) - Method in UnitSpec
Loads the given codec, adding the "encodeAs...()" and "decode...()" methods to objects.

M

methodMissing(String, def) - Method in TagLibSpec
mockCommandObject(Class) - Method in ControllerSpec
mockConfig(String) - Method in UnitSpec
mockController(Class) - Method in UnitSpec
Mocks a controller class, providing implementations of standard methods like render and redirect
mockDomain(Class, List) - Method in UnitSpec
Mocks a domain class, providing working implementations of the standard dynamic methods.
mockFor(Class, boolean) - Method in UnitSpec
Creates a new Grails mock for the given class.
mockForConstraintsTests(Class, List) - Method in UnitSpec
Mocks the given class (either a domain class or a command object) so that a "validate()" method is added.
mockLogging(Class, boolean) - Method in UnitSpec
Provides a mock implementation of the "log" property for the given class.
mockTagLib(Class) - Method in UnitSpec
Mocks a tag library, providing the common web properties as well as "out", "throwTagError()", and an implementation of the "render" tag.
MvcSpec - Class in grails.plugin.spock
Support class for writing unit tests for controllers.

N


O

OverallRunListener - Class in grails.plugin.spock.test.listener
OverallRunListener(GrailsTestEventPublisher, JUnitReportsFactory, SystemOutAndErrSwapper, GrailsSpecTestTypeResult, def) - Constructor in OverallRunListener

P

PerSpecRunListener - Class in grails.plugin.spock.test.listener
PerSpecRunListener(String, GrailsTestEventPublisher, JUnitReports, SystemOutAndErrSwapper, GrailsSpecTestTypeResult, def) - Constructor in PerSpecRunListener
provideMvcClassUnderTest() - Method in ControllerSpec
provideMvcClassUnderTest() - Method in MvcSpec
provideMvcClassUnderTest() - Method in TagLibSpec

Q


R

registerMetaClass(Class) - Method in UnitSpec
Use this method when you plan to perform some meta-programming on a class.
reset() - Method in ControllerSpec
reset() - Method in MvcSpec
reset() - Method in TagLibSpec

S

setControllerName(String) - Method in GroovyPagesSpec
setup() - Method in ControllerSpec
setup() - Method in IntegrationSpec
setup() - Method in MvcSpec
setup() - Method in UnitSpec
setupSpec() - Method in IntegrationSpec
setupSpec() - Method in MvcSpec
setupSpec() - Method in UnitSpec
setXmlRequestContent(String, def) - Method in ControllerSpec
start() - Method in PerSpecRunListener

T

TagLibSpec - Class in grails.plugin.spock
TEST_SUFFIXES - Field in GrailsSpecTestType
testAssumptionFailure(Failure) - Method in OverallRunListener
testFailure(Failure) - Method in OverallRunListener
testFailure(Failure) - Method in PerSpecRunListener
testFinished(Description) - Method in OverallRunListener
testFinished(Description) - Method in PerSpecRunListener
testIgnored(Description) - Method in OverallRunListener
testRunFinished(Result) - Method in OverallRunListener
testRunStarted(Description) - Method in OverallRunListener
testStarted(Description) - Method in OverallRunListener
testStarted(Description) - Method in PerSpecRunListener

U

UnitSpec - Class in grails.plugin.spock
Support class for writing unit tests in Grails.

V


W

webRequest - Field in MvcSpec

X


Y


Z


_


Groovy Documentation