@API(value=Internal) public class VintageTestDescriptor extends AbstractTestDescriptor
TestDescriptor.Visitor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENGINE_ID |
static java.lang.String |
SEGMENT_TYPE_RUNNER |
static java.lang.String |
SEGMENT_TYPE_TEST |
Constructor and Description |
---|
VintageTestDescriptor(TestDescriptor parent,
java.lang.String segmentType,
java.lang.String segmentValue,
org.junit.runner.Description description) |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.Description |
getDescription() |
java.util.Set<TestTag> |
getTags()
Get the set of tags associated with this descriptor.
|
boolean |
isContainer()
Determine if this descriptor describes a container.
|
boolean |
isTest()
Determine if this descriptor describes a test.
|
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, getAllDescendants, hasTests, isRoot
public static final java.lang.String ENGINE_ID
public static final java.lang.String SEGMENT_TYPE_RUNNER
public static final java.lang.String SEGMENT_TYPE_TEST
public VintageTestDescriptor(TestDescriptor parent, java.lang.String segmentType, java.lang.String segmentValue, org.junit.runner.Description description)
public org.junit.runner.Description getDescription()
public boolean isTest()
TestDescriptor
public boolean isContainer()
TestDescriptor
public java.util.Set<TestTag> getTags()
TestDescriptor
getTags
in interface TestDescriptor
getTags
in class AbstractTestDescriptor
null
but potentially emptyTestTag