GenericBeforeAndAfterAdvice
ExpectedExceptionAdapter
, ExternalResourceAdapter
, VerifierAdapter
@API(status=INTERNAL, since="5.0") public abstract class AbstractTestRuleAdapter extends java.lang.Object implements GenericBeforeAndAfterAdvice
Constructor | Description |
---|---|
AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember,
java.lang.Class<? extends org.junit.rules.TestRule> adapteeClass) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Object |
executeMethod(java.lang.String name) |
|
protected java.lang.Object |
executeMethod(java.lang.String methodName,
java.lang.Class<?>[] parameterTypes,
java.lang.Object... arguments) |
after, before, handleTestExecutionException
public AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, java.lang.Class<? extends org.junit.rules.TestRule> adapteeClass)