Module org.junit.jupiter.engine
Class DefaultClassDescriptor
java.lang.Object
org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper<Class<?>>
org.junit.jupiter.engine.discovery.DefaultClassDescriptor
- All Implemented Interfaces:
ClassDescriptor
class DefaultClassDescriptor
extends AbstractAnnotatedDescriptorWrapper<Class<?>>
implements ClassDescriptor
Default implementation of
ClassDescriptor, backed by
a ClassBasedTestDescriptor.- Since:
- 5.8
-
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.ClassDescriptor
findAnnotation, findRepeatableAnnotations, getDisplayName, isAnnotated
-
Constructor Details
-
DefaultClassDescriptor
DefaultClassDescriptor(ClassBasedTestDescriptor testDescriptor)
-
-
Method Details
-
getTestClass
Description copied from interface:ClassDescriptorGet the class for this descriptor.- Specified by:
getTestClassin interfaceClassDescriptor- Returns:
- the class; never
null
-
toString
-