Class VintageTestDescriptor
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- org.junit.vintage.engine.descriptor.VintageTestDescriptor
-
- All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor
- Direct Known Subclasses:
RunnerTestDescriptor
@API(status=INTERNAL, since="4.12") public class VintageTestDescriptor extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor- Since:
- 4.12
-
-
Field Summary
Fields Modifier and Type Field Description protected org.junit.runner.Descriptiondescriptionstatic java.lang.StringENGINE_IDstatic java.lang.StringSEGMENT_TYPE_DYNAMICstatic java.lang.StringSEGMENT_TYPE_RUNNERstatic java.lang.StringSEGMENT_TYPE_TEST
-
Constructor Summary
Constructors Constructor Description VintageTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, org.junit.runner.Description description, org.junit.platform.engine.TestSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanBeRemovedFromHierarchy()org.junit.runner.DescriptiongetDescription()java.lang.StringgetLegacyReportingName()java.util.Set<org.junit.platform.engine.TestTag>getTags()org.junit.platform.engine.TestDescriptor.TypegetType()voidremoveFromHierarchy()protected booleantryToExcludeFromRunner(org.junit.runner.Description description)-
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, setParent, toString
-
-
-
-
Field Detail
-
ENGINE_ID
public static final java.lang.String ENGINE_ID
- See Also:
- Constant Field Values
-
SEGMENT_TYPE_RUNNER
public static final java.lang.String SEGMENT_TYPE_RUNNER
- See Also:
- Constant Field Values
-
SEGMENT_TYPE_TEST
public static final java.lang.String SEGMENT_TYPE_TEST
- See Also:
- Constant Field Values
-
SEGMENT_TYPE_DYNAMIC
public static final java.lang.String SEGMENT_TYPE_DYNAMIC
- See Also:
- Constant Field Values
-
description
protected org.junit.runner.Description description
-
-
Method Detail
-
getDescription
public org.junit.runner.Description getDescription()
-
getLegacyReportingName
public java.lang.String getLegacyReportingName()
-
getType
public org.junit.platform.engine.TestDescriptor.Type getType()
-
getTags
public java.util.Set<org.junit.platform.engine.TestTag> getTags()
- Specified by:
getTagsin interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getTagsin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
removeFromHierarchy
public void removeFromHierarchy()
- Specified by:
removeFromHierarchyin interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
removeFromHierarchyin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
canBeRemovedFromHierarchy
protected boolean canBeRemovedFromHierarchy()
-
tryToExcludeFromRunner
protected boolean tryToExcludeFromRunner(org.junit.runner.Description description)
-
-