Top Description Constructors Methods
org.junit.jupiter.engine.discovery

pack-priv Class DefaultMethodDescriptor

extends AbstractAnnotatedDescriptorWrapper<Method>
implements MethodDescriptor
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.api.MethodDescriptor
Imports
java.lang.reflect.Method, org.junit.jupiter.api.MethodDescriptor, org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor, org.junit.platform.commons.util.ToStringBuilder

Default implementation of MethodDescriptor, backed by a MethodBasedTestDescriptor.
Since
5.4

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Method
getMethod()

Implements org.junit.jupiter.api.MethodDescriptor.getMethod.

Get the method for this descriptor.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper:
findAnnotationfindRepeatableAnnotationsgetAnnotatedElementgetDisplayNamegetTestDescriptorisAnnotated

Constructor Detail

DefaultMethodDescriptorback to summary
pack-priv DefaultMethodDescriptor(MethodBasedTestDescriptor testDescriptor)

Method Detail

getMethodback to summary
public final Method getMethod()

Implements org.junit.jupiter.api.MethodDescriptor.getMethod.

Doc from org.junit.jupiter.api.MethodDescriptor.getMethod.

Get the method for this descriptor.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override