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, isAnnotatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:MethodDescriptorGet the method for this descriptor.- Specified by:
getMethodin interfaceMethodDescriptor- Returns:
- the method; never
null
-
toString
-