Class MethodBasedTestDescriptor
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
- org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
- All Implemented Interfaces:
org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>
,org.junit.platform.engine.TestDescriptor
- Direct Known Subclasses:
TestMethodTestDescriptor
,TestTemplateTestDescriptor
@API(status=INTERNAL, since="5.0") public abstract class MethodBasedTestDescriptor extends JupiterTestDescriptor
Base class forTestDescriptors
based on Java methods.- Since:
- 5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.junit.platform.engine.support.hierarchical.Node
org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor, org.junit.platform.engine.support.hierarchical.Node.ExecutionMode, org.junit.platform.engine.support.hierarchical.Node.Invocation<C extends org.junit.platform.engine.support.hierarchical.EngineExecutionContext>, org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.junit.platform.engine.support.hierarchical.ExclusiveResource>
getExclusiveResources()
protected java.util.Optional<org.junit.platform.engine.support.hierarchical.Node.ExecutionMode>
getExplicitExecutionMode()
java.lang.String
getLegacyReportingName()
java.util.Set<org.junit.platform.engine.TestTag>
getTags()
java.lang.Class<?>
getTestClass()
java.lang.reflect.Method
getTestMethod()
-
Methods inherited from class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
cleanUp, getExecutionMode, prepare, shouldBeSkipped, toExecutionMode
-
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getTags
public final java.util.Set<org.junit.platform.engine.TestTag> getTags()
- Specified by:
getTags
in interfaceorg.junit.platform.engine.TestDescriptor
- Overrides:
getTags
in classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
getExclusiveResources
public java.util.Set<org.junit.platform.engine.support.hierarchical.ExclusiveResource> getExclusiveResources()
-
getExplicitExecutionMode
protected java.util.Optional<org.junit.platform.engine.support.hierarchical.Node.ExecutionMode> getExplicitExecutionMode()
-
getTestClass
public final java.lang.Class<?> getTestClass()
-
getTestMethod
public final java.lang.reflect.Method getTestMethod()
-
getLegacyReportingName
public java.lang.String getLegacyReportingName()
-
-