Rule (JUnit API)
Keywords: org.junit.Rule class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.junit
Annotation Type Rule

    @Retention(value=RUNTIME)
    public @interface Rule

Annotates fields that contain rules. Such a field must be public, not static, and a subtype of `MethodRule`. For more information, see `MethodRule`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT