Groovy Documentation

grails.test.mixin
[Java] Annotation Type TestFor

java.lang.Object
  grails.test.mixin.TestFor

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@GroovyASTTransformationClass("org.codehaus.groovy.grails.compiler.injection.test.TestForTransformation")
public @interface TestFor

Used to indicate the class under test. Triggers the TestMixin AST transform for the given artefact type.

Authors:
Graeme Rocher
Since:
2.0


Required Element Summary
java.lang.Class value

   
Method Summary
 
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()
 

Element Detail

value

public java.lang.Class value


 

Groovy Documentation