Top Description Fields Constructors Methods
org.junit.platform.engine.support.descriptor

public Class EngineDescriptor

extends AbstractTestDescriptor
Class Inheritance
Annotations
@API
status:STABLE
since:1.0
Static Imports
org.apiguardian.api.API.Status.STABLE

An EngineDescriptor is a TestDescriptor for a specific TestEngine.
Since
1.0

Field Summary

Inherited from org.junit.platform.engine.support.descriptor.AbstractTestDescriptor:
children

Constructor Summary

AccessConstructor and Description
public
EngineDescriptor(UniqueId
the UniqueId for the described TestEngine; never null
uniqueId
,
String
the display name for the described TestEngine; never null or blank
displayName
)

Create a new EngineDescriptor with the supplied UniqueId and display name.

Method Summary

Modifier and TypeMethod and Description
public TestDescriptor.Type
Inherited from org.junit.platform.engine.support.descriptor.AbstractTestDescriptor:
addChildequalsfindByUniqueIdgetChildrengetDisplayNamegetParentgetSourcegetTagsgetUniqueIdhashCodeorderChildrenremoveChildremoveFromHierarchysetParenttoString

Constructor Detail

EngineDescriptorback to summary
public EngineDescriptor(UniqueId uniqueId, String displayName)

Create a new EngineDescriptor with the supplied UniqueId and display name.

Parameters
uniqueId:UniqueId

the UniqueId for the described TestEngine; never null

displayName:String

the display name for the described TestEngine; never null or blank

See Also
org.junit.platform.engine.TestEngine#getId(), org.junit.platform.engine.TestDescriptor#getDisplayName()

Method Detail

getTypeback to summary
public TestDescriptor.Type getType()

Implements org.junit.platform.engine.TestDescriptor.getType.

Returns org.junit.platform.engine.TestDescriptor.Type#CONTAINER.

Annotations
@Override
See Also
org.junit.platform.engine.TestDescriptor#isContainer(), org.junit.platform.engine.TestDescriptor#isTest()