A B D E G H I L M O P R S T U V W 

A

addClassUnderTestMethod(ClassNode, ClassExpression, String) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
addEnableEMCStatement(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
addJunitRuleFields(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
addLegacyMixinFieldIfNonExistent(ClassNode, ClassNode, String) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
addMethodCallsToMethod(ClassNode, String, List<MethodNode>) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
addMockCollaborator(String, ClassExpression, BlockStatement) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
addMockCollaborators(ClassNode, String, List<ClassExpression>) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
addMockCollaborators(String, List<ClassExpression>, BlockStatement) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
addTestRuntimeAwareMixinFieldIfNonExistent(ClassNode, ClassNode, String) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
AFTER_ANNOTATION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
AFTER_CLASS_NODE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
afterPropertiesSet() - Method in class grails.test.mixin.support.GroovyPageUnitTestResourceLoader
 
artefactTypeToTestMap - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
autoAnnotateSetupTeardown(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

B

BEFORE_ANNOTATION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
BEFORE_CLASS_NODE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 

D

DirtiesRuntimeTransformation - Class in org.codehaus.groovy.grails.compiler.injection.test
 
DirtiesRuntimeTransformation() - Constructor for class org.codehaus.groovy.grails.compiler.injection.test.DirtiesRuntimeTransformation
 
DOMAIN_TYPE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 

E

error(SourceUnit, String) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

G

getExistingJUnit4BeforeMethod(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
getExistingOrCreateJUnit4Setup(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
getFeatures() - Method in class grails.test.mixin.support.TestMixinRuntimeSupport
 
getFeatures() - Method in interface grails.test.mixin.TestRuntimeAwareMixin
 
getListOfClasses(AnnotationNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
getMixinClassForArtefactType(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
getOrCreateMethodBody(ClassNode, MethodNode, String) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
getOrCreateNoArgsMethodBody(ClassNode, String) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
getOrCreateTestSetupMethod(ClassNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
getResource(String) - Method in class grails.test.mixin.support.GroovyPageUnitTestResourceLoader
 
getResourceLocator() - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
getRuntime() - Method in class grails.test.mixin.support.TestMixinRuntimeSupport
 
getTestPluginUsages() - Method in interface grails.test.runtime.TestPluginRegistrar
 
grails.test.mixin - package grails.test.mixin
 
grails.test.mixin.support - package grails.test.mixin.support
 
grails.test.runtime - package grails.test.runtime
 
GrailsTestCompiler - Class in org.codehaus.groovy.grails.test.compiler
Extended compiler for automatically applying the @TestFor and @Mock annotations to tests by convention.
GrailsTestCompiler() - Constructor for class org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler
 
GrailsTestRuntimeConfigurator - Class in grails.test.runtime
 
GrailsTestRuntimeConfigurator(GrailsApplication, ApplicationContext) - Constructor for class grails.test.runtime.GrailsTestRuntimeConfigurator
 
GROOVY_OBJECT_CLASS_NODE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
GROOVY_TEST_CASE_CLASS - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
GroovyPageUnitTestResourceLoader - Class in grails.test.mixin.support
A ResourceLoader implementation that loads GSP views relative to the project base directory for unit tests.
GroovyPageUnitTestResourceLoader(Map<String, String>) - Constructor for class grails.test.mixin.support.GroovyPageUnitTestResourceLoader
 

H

handleTestForAnnotation(ClassNode, SourceUnit, AnnotationNode, boolean) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
hasAnnotation(MethodNode, Class<?>) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
hasDeclaredMethod(ClassNode, MethodNode) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
hasSimilarMethod(MethodNode, ClassNode) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

I

initializePluginManager() - Method in class grails.test.runtime.GrailsTestRuntimeConfigurator
 
isAddableMethod(MethodNode) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
isCandidateMethod(MethodNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
isJunit3Test(ClassNode) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
isSpockTest(ClassNode) - Static method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

L

LazyTagLibraryLookup - Class in grails.test.mixin.support
Lazy implementation of the tag library lookup class designed for testing purposes.
LazyTagLibraryLookup() - Constructor for class grails.test.mixin.support.LazyTagLibraryLookup
 
lookupTagLibrary(String, String) - Method in class grails.test.mixin.support.LazyTagLibraryLookup
 

M

makeCompileUnit() - Method in class org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler
 
MIXIN_METHOD_ANNOTATION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
MixinInstance - Annotation Type in grails.test.mixin.support
A marker annotation added to fields that contain the instance of a mixin This is used internally by the TestRuntime / TestMixinTransformation and should not be used directly
MixinMethod - Annotation Type in grails.test.mixin.support
A marker annotation added to methods of a test that are mixed in from a test mixin.
Mock - Annotation Type in grails.test.mixin
Used to define a mocked collaborator when using the TestFor mixin
MockTransformation - Class in org.codehaus.groovy.grails.compiler.injection.test
Used by the Mock local transformation to add mocking capabilities for the given classes.
MockTransformation() - Constructor for class org.codehaus.groovy.grails.compiler.injection.test.MockTransformation
 

O

OBJECT_CLASS - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
org.codehaus.groovy.grails.compiler.injection.test - package org.codehaus.groovy.grails.compiler.injection.test
 
org.codehaus.groovy.grails.test.compiler - package org.codehaus.groovy.grails.test.compiler
 

P

putTagLib(Map<String, Object>, String, GrailsTagLibClass) - Method in class grails.test.mixin.support.LazyTagLibraryLookup
 

R

registerLazyLoadableTagLibClass(Class) - Method in class grails.test.mixin.support.LazyTagLibraryLookup
 
registerTagLibraries() - Method in class grails.test.mixin.support.LazyTagLibraryLookup
 

S

SET_UP_METHOD - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
setGrailsApplication(GrailsApplication) - Method in class grails.test.mixin.support.GroovyPageUnitTestResourceLoader
 
setRuntime(TestRuntime) - Method in class grails.test.mixin.support.TestMixinRuntimeSupport
 
setRuntime(TestRuntime) - Method in interface grails.test.mixin.TestRuntimeAwareMixin
TestRuntime will set it's instance to the mixin class by calling this method
setTestClass(Class<?>) - Method in class grails.test.mixin.support.TestMixinRuntimeSupport
 
setTestClass(Class<?>) - Method in interface grails.test.mixin.TestRuntimeAwareMixin
TestRuntime will set the target test class to the mixin class instance by calling this method mixins are instantiated in static context in order to support JUnit @ClassRule annotations the instance of the test class is not active when this method is called.
shouldSkipMethod(MethodNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
SkipMethod - Annotation Type in grails.test.mixin.support
A marker annotation for methods that doesn't be mixed in target classes
SPEC_CLASS - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

T

tagNameKey(String, String) - Method in class grails.test.mixin.support.LazyTagLibraryLookup
 
TEAR_DOWN_METHOD - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
TEST_ANNOTATION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
TEST_ANNOTATION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
TestFor - Annotation Type in grails.test.mixin
Used to indicate the class under test.
testFor(ClassNode, ClassExpression) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
Main entry point for the calling the TestForTransformation programmatically.
TestForTransformation - Class in org.codehaus.groovy.grails.compiler.injection.test
Transformation used by the TestFor annotation to signify the class under test.
TestForTransformation() - Constructor for class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
TestMixin - Annotation Type in grails.test.mixin
An AST transformation that can be applied to test classes to mixin behavior from another class.
TestMixinRuntimeSupport - Class in grails.test.mixin.support
Abstract base class for test mixin classes that use the new TestRuntime
TestMixinRuntimeSupport(Set<String>) - Constructor for class grails.test.mixin.support.TestMixinRuntimeSupport
 
TestMixinTransformation - Class in org.codehaus.groovy.grails.compiler.injection.test
An AST transformation to be applied to tests for adding behavior to a target test class.
TestMixinTransformation() - Constructor for class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
TestPluginRegistrar - Interface in grails.test.runtime
Interface supported by TestMixin target classes and SharedRuntimeConfigurer classes registering or unregistering TestPlugin classes
TestRuntimeAwareMixin - Interface in grails.test.mixin
Interface for marking the mixin class aware of TestRuntime

U

UseTestPlugin - Annotation Type in grails.test.mixin
Annotation for registering custom TestPlugin classes to the TestRuntime of the current test class.

V

visit(ASTNode[], SourceUnit) - Method in class org.codehaus.groovy.grails.compiler.injection.test.DirtiesRuntimeTransformation
 
visit(ASTNode[], SourceUnit) - Method in class org.codehaus.groovy.grails.compiler.injection.test.MockTransformation
 
visit(ASTNode[], SourceUnit) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
visit(ASTNode[], SourceUnit) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
VOID_TYPE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
VOID_TYPE - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

W

weaveMixinClass(ClassNode, Class) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
weaveMixinIntoClass(ClassNode, ClassNode, TestMixinTransformation.Junit3TestFixtureMethodHandler) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
weaveMixinsIntoClass(ClassNode, ListExpression) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
weaveMock(ClassNode, ClassExpression, boolean) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
weaveTestMixins(ClassNode, ListExpression) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
WEB_INF_PREFIX - Static variable in class grails.test.mixin.support.GroovyPageUnitTestResourceLoader
 
A B D E G H I L M O P R S T U V W