@API(status=STABLE, since="1.0") public class EngineDescriptor extends AbstractTestDescriptor
TestDescriptor.Type, TestDescriptor.Visitor
children
Constructor and Description |
---|
EngineDescriptor(UniqueId uniqueId,
String displayName)
Create a new
EngineDescriptor with the supplied UniqueId
and display name. |
Modifier and Type | Method and Description |
---|---|
TestDescriptor.Type |
getType()
Returns
TestDescriptor.Type.CONTAINER . |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, containsTests, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
public EngineDescriptor(UniqueId uniqueId, String displayName)
EngineDescriptor
with the supplied UniqueId
and display name.uniqueId
- the UniqueId
for the described TestEngine
;
never null
displayName
- the display name for the described TestEngine
;
never null
or blankTestEngine.getId()
,
TestDescriptor.getDisplayName()
public TestDescriptor.Type getType()
TestDescriptor.Type.CONTAINER
.null
.TestDescriptor.isContainer()
,
TestDescriptor.isTest()