Module org.junit.platform.engine
Class EngineDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.platform.engine.support.descriptor.EngineDescriptor
- All Implemented Interfaces:
TestDescriptor
- Direct Known Subclasses:
JupiterEngineDescriptor
,VintageEngineDescriptor
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor
TestDescriptor.Type, TestDescriptor.Visitor
-
Field Summary
Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children
-
Constructor Summary
ConstructorDescriptionEngineDescriptor
(UniqueId uniqueId, String displayName) Create a newEngineDescriptor
with the suppliedUniqueId
and display name. -
Method Summary
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getAncestors, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
-
Constructor Details
-
EngineDescriptor
Create a newEngineDescriptor
with the suppliedUniqueId
and display name.- Parameters:
uniqueId
- theUniqueId
for the describedTestEngine
; nevernull
displayName
- the display name for the describedTestEngine
; nevernull
or blank- See Also:
-
-
Method Details
-
getType
ReturnsTestDescriptor.Type.CONTAINER
.- Returns:
- the descriptor type; never
null
. - See Also:
-