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

pack-priv Class DefaultClassDescriptor

extends AbstractAnnotatedDescriptorWrapper<Class<?>>
implements ClassDescriptor
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.api.ClassDescriptor
Imports
org.junit.jupiter.api.ClassDescriptor, org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor, org.junit.platform.commons.util.ToStringBuilder

Default implementation of ClassDescriptor, backed by a ClassBasedTestDescriptor.
Since
5.8

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Class<?>
getTestClass()

Implements org.junit.jupiter.api.ClassDescriptor.getTestClass.

Get the class 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

DefaultClassDescriptorback to summary
pack-priv DefaultClassDescriptor(ClassBasedTestDescriptor testDescriptor)

Method Detail

getTestClassback to summary
public final Class<?> getTestClass()

Implements org.junit.jupiter.api.ClassDescriptor.getTestClass.

Doc from org.junit.jupiter.api.ClassDescriptor.getTestClass.

Get the class for this descriptor.

Returns:Class<?>

the class; never null

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.

Returns:String

a string representation of the object

Annotations
@Override