C
- the type of EngineExecutionContext
used by this engine@API(value=Experimental) public abstract class HierarchicalTestEngine<C extends EngineExecutionContext> extends Object implements TestEngine
TestEngine
implementations that wish
to organize test suites hierarchically based on the Node
abstraction.Node
Constructor and Description |
---|
HierarchicalTestEngine() |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createExecutionContext(ExecutionRequest request)
Create the initial execution context for executing the supplied
request . |
void |
execute(ExecutionRequest request)
Create an initial execution
context, execute the behavior of all nodes in the
hierarchy starting with the supplied
request 's
root and notify
its execution
listener of test execution events. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discover, getArtifactId, getGroupId, getId, getVersion
public final void execute(ExecutionRequest request)
request
's
root and notify
its execution
listener of test execution events.execute
in interface TestEngine
request
- the request to execute tests for; never null
Node
,
createExecutionContext(org.junit.platform.engine.ExecutionRequest)
protected abstract C createExecutionContext(ExecutionRequest request)
request
.request
- the request about to be executed