Module org.junit.jupiter.engine
Class DefaultMethodDescriptor
java.lang.Object
org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper<Method>
org.junit.jupiter.engine.discovery.DefaultMethodDescriptor
- All Implemented Interfaces:
MethodDescriptor
class DefaultMethodDescriptor
extends AbstractAnnotatedDescriptorWrapper<Method>
implements MethodDescriptor
Default implementation of
MethodDescriptor
, backed by
a MethodBasedTestDescriptor
.- Since:
- 5.4
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
findAnnotation, findRepeatableAnnotations, getAnnotatedElement, getDisplayName, getTestDescriptor, isAnnotated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.junit.jupiter.api.MethodDescriptor
findAnnotation, findRepeatableAnnotations, getDisplayName, isAnnotated
-
Constructor Details
-
DefaultMethodDescriptor
DefaultMethodDescriptor(MethodBasedTestDescriptor testDescriptor)
-
-
Method Details
-
getMethod
Description copied from interface:MethodDescriptor
Get the method for this descriptor.- Specified by:
getMethod
in interfaceMethodDescriptor
- Returns:
- the method; never
null
-
toString
-