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

A

addClassUnderTestMethod(ClassNode, ClassExpression, String) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
addMethodCallsToMethod(ClassNode, String, List<MethodNode>) - 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
 
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
 
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

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
 
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) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
getOrCreateNoArgsMethodBody(ClassNode, String) - 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
 
grails.test.mixin - package grails.test.mixin
 
grails.test.mixin.support - package grails.test.mixin.support
 
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
 
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

hasAnnotation(MethodNode, Class<?>) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 
hasDeclaredMethod(ClassNode, MethodNode) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

I

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

registerTagLib(GrailsTagLibClass) - 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
 
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
 
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.
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
 
THIS_EXPRESSION - Static variable in class org.codehaus.groovy.grails.compiler.injection.test.TestMixinTransformation
 

V

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
 

W

weaveMixinClass(ClassNode, Class) - Method in class org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation
 
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
 
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 V W