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
ConstructorDescriptionAbstractTestRuleAdapter
(TestRuleAnnotatedMember annotatedMember, Class<? extends TestRule> adapteeClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
AbstractTestRuleAdapter
public AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, Class<? extends TestRule> adapteeClass)
-
-
Method Details
-
executeMethod
-
executeMethod
-