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
ConstructorsConstructorDescriptionEngineDescriptor(UniqueId uniqueId, String displayName) Create a newEngineDescriptorwith the suppliedUniqueIdand 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getAncestors, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
-
Constructor Details
-
EngineDescriptor
Create a newEngineDescriptorwith the suppliedUniqueIdand display name.- Parameters:
uniqueId- theUniqueIdfor the describedTestEngine; nevernulldisplayName- the display name for the describedTestEngine; nevernullor blank- See Also:
-
-
Method Details
-
getType
ReturnsTestDescriptor.Type.CONTAINER.- Returns:
- the descriptor type; never
null. - See Also:
-