Class AbstractTestRuleAdapter
- java.lang.Object
-
- org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
-
- All Implemented Interfaces:
GenericBeforeAndAfterAdvice
- Direct Known Subclasses:
ExpectedExceptionAdapter
,ExternalResourceAdapter
,VerifierAdapter
@API(status=INTERNAL, since="5.0") public abstract class AbstractTestRuleAdapter extends Object implements GenericBeforeAndAfterAdvice
- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, Class<? extends org.junit.rules.TestRule> adapteeClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
executeMethod(String name)
protected Object
executeMethod(String methodName, Class<?>[] parameterTypes, Object... arguments)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
after, before, handleTestExecutionException
-
-
-
-
Constructor Detail
-
AbstractTestRuleAdapter
public AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, Class<? extends org.junit.rules.TestRule> adapteeClass)
-
-