Class ExecutableTestDescriptor
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- org.antublue.test.engine.internal.test.descriptor.ExecutableTestDescriptor
-
- All Implemented Interfaces:
MetadataSupport,org.junit.platform.engine.TestDescriptor
- Direct Known Subclasses:
ParameterizedArgumentTestDescriptor,ParameterizedClassTestDescriptor,ParameterizedMethodTestDescriptor
public abstract class ExecutableTestDescriptor extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor implements MetadataSupport
Abstract class to implement an ExecutableTestDescriptor
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExecutableTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, String displayName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidexecute(org.junit.platform.engine.ExecutionRequest executionRequest)Method to execute the test descriptorprotected org.junit.platform.engine.ExecutionRequestgetExecutionRequest()MetadatagetMetadata()<T> TgetParent(Class<T> clazz)StopWatchgetStopWatch()ObjectgetTestInstance()ThrowableContextgetThrowableContext()protected voidsetExecutionRequest(org.junit.platform.engine.ExecutionRequest executionRequest)protected voidsetTestInstance(Object testInstance)protected voidthrottle()-
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
-
-
-
-
Constructor Detail
-
ExecutableTestDescriptor
protected ExecutableTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, String displayName)
-
-
Method Detail
-
throttle
protected void throttle()
-
setExecutionRequest
protected void setExecutionRequest(org.junit.platform.engine.ExecutionRequest executionRequest)
-
getExecutionRequest
protected org.junit.platform.engine.ExecutionRequest getExecutionRequest()
-
getParent
public <T> T getParent(Class<T> clazz)
-
getStopWatch
public StopWatch getStopWatch()
-
setTestInstance
protected void setTestInstance(Object testInstance)
-
getTestInstance
public Object getTestInstance()
-
getThrowableContext
public ThrowableContext getThrowableContext()
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadatain interfaceMetadataSupport
-
execute
public abstract void execute(org.junit.platform.engine.ExecutionRequest executionRequest)
Method to execute the test descriptor- Parameters:
executionRequest- executionRequest
-
-