Class DefaultClassDescriptor
- java.lang.Object
-
- org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper<java.lang.Class<?>>
-
- org.junit.jupiter.engine.discovery.DefaultClassDescriptor
-
- All Implemented Interfaces:
ClassDescriptor
class DefaultClassDescriptor extends AbstractAnnotatedDescriptorWrapper<java.lang.Class<?>> implements ClassDescriptor
Default implementation ofClassDescriptor, backed by aClassBasedTestDescriptor.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description DefaultClassDescriptor(ClassBasedTestDescriptor testDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getTestClass()Get the class for this descriptor.java.lang.StringtoString()-
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.ClassDescriptor
findAnnotation, findRepeatableAnnotations, getDisplayName, isAnnotated
-
-
-
-
Constructor Detail
-
DefaultClassDescriptor
DefaultClassDescriptor(ClassBasedTestDescriptor testDescriptor)
-
-
Method Detail
-
getTestClass
public final java.lang.Class<?> getTestClass()
Description copied from interface:ClassDescriptorGet the class for this descriptor.- Specified by:
getTestClassin interfaceClassDescriptor- Returns:
- the class; never
null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-