TestFor (Grails 2.3.8)
Date: 2014-04-24

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## grails.test.mixin
[Java] Annotation Type TestFor

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

    @java.lang.annotation.Retention(RetentionPolicy.RUNTIME)
    @java.lang.annotation.Target({ElementType.TYPE})
    @org.codehaus.groovy.transform.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(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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