@API(value=Experimental) public class EngineDescriptor extends AbstractTestDescriptor
TestDescriptor.Visitor| Constructor and Description |
|---|
EngineDescriptor(UniqueId uniqueId,
java.lang.String displayName)
Create a new
EngineDescriptor with the supplied UniqueId
and display name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isContainer()
Always returns
true: a TestEngine is always a container. |
boolean |
isTest()
Always returns
false: a TestEngine is never a test. |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getAllDescendants, hasTests, isRootpublic EngineDescriptor(UniqueId uniqueId, java.lang.String displayName)
EngineDescriptor with the supplied UniqueId
and display name.uniqueId - the UniqueId for the described TestEngine;
never nulldisplayName - the display name for the described TestEngine;
never null or blankTestEngine.getId(),
TestDescriptor.getDisplayName()public final boolean isTest()
false: a TestEngine is never a test.TestDescriptor.isTest(),
isContainer()public final boolean isContainer()
true: a TestEngine is always a container.TestDescriptor.isContainer(),
isTest()