public abstract class AnnotationBasedTestRule extends Object implements org.junit.rules.TestRule
TestRule that allows easy writing of test rules based on method annotations.| Constructor and Description |
|---|
AnnotationBasedTestRule() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.junit.runners.model.Statement |
emptyStatement(String reason,
org.junit.runner.Description description) |
protected <T extends Annotation> |
hasAnnotation(org.junit.runner.Description description,
Class<T> annotationClass) |
protected static org.junit.runners.model.Statement emptyStatement(String reason, org.junit.runner.Description description)
protected <T extends Annotation> T hasAnnotation(org.junit.runner.Description description, Class<T> annotationClass)
Copyright © 2018 JBoss by Red Hat. All rights reserved.