Class EngineDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.platform.engine.support.descriptor.EngineDescriptor
- All Implemented Interfaces:
TestDescriptor
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface TestDescriptor
TestDescriptor.Type, TestDescriptor.Visitor -
Field Summary
Fields inherited from class AbstractTestDescriptor
children -
Constructor Summary
ConstructorsConstructorDescriptionEngineDescriptor(UniqueId uniqueId, String displayName) Create a newEngineDescriptorwith the suppliedUniqueIdand display name. -
Method Summary
Methods inherited from class AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, orderChildren, removeChild, removeFromHierarchy, setParent, toStringMethods inherited from interface 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:
-