@API(value=Experimental) public class EngineDescriptor extends AbstractTestDescriptor
TestDescriptor.Type, TestDescriptor.Visitor
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()
Always returns
TestDescriptor.Type.ENGINE . |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, getDescendants, getLegacyReportingName, hasTests, isContainer, isRoot, isTest, prune, pruneTree
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 final TestDescriptor.Type getType()
TestDescriptor.Type.ENGINE
.null
.TestDescriptor.isContainer()
,
TestDescriptor.isTest()