Top Fields Constructors Methods
org.junit.jupiter.migrationsupport.rules.adapter

public abstract Class AbstractTestRuleAdapter

extends Object
implements GenericBeforeAndAfterAdvice
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
Known Direct Subclasses
org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter, org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter, org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
Annotations
@API
status:INTERNAL
since:5.0
Static Imports
org.apiguardian.api.API.Status.INTERNAL, org.junit.platform.commons.support.ReflectionSupport.findMethod, .ReflectionSupport.invokeMethod

Since
5.0

Field Summary

Modifier and TypeField and Description
private final TestRule

Constructor Summary

AccessConstructor and Description
public
AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, Class<? extends TestRule> adapteeClass)

Method Summary

Modifier and TypeMethod and Description
protected @Nullable Object
protected @Nullable Object
executeMethod(String methodName, Class<?>[] parameterTypes, Object... arguments)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

targetback to summary
private final TestRule target

Constructor Detail

AbstractTestRuleAdapterback to summary
public AbstractTestRuleAdapter(TestRuleAnnotatedMember annotatedMember, Class<? extends TestRule> adapteeClass)

Method Detail

executeMethodback to summary
protected @Nullable Object executeMethod(String name)
executeMethodback to summary
protected @Nullable Object executeMethod(String methodName, Class<?>[] parameterTypes, Object... arguments)