@API(value=Experimental) public class ExecutionRequest extends java.lang.Object
TestEngine
access to the information necessary to
execute its tests.
A request contains an engine's root TestDescriptor
, the
EngineExecutionListener
to be notified of test execution events, and
ConfigurationParameters
that the engine may use to influence test
execution.
TestEngine
Constructor and Description |
---|
ExecutionRequest(TestDescriptor rootTestDescriptor,
EngineExecutionListener engineExecutionListener,
ConfigurationParameters configurationParameters) |
Modifier and Type | Method and Description |
---|---|
ConfigurationParameters |
getConfigurationParameters()
Get the
ConfigurationParameters that the engine may use to
influence test execution. |
EngineExecutionListener |
getEngineExecutionListener()
Get the
EngineExecutionListener to be notified of test execution
events. |
TestDescriptor |
getRootTestDescriptor()
Get the root
TestDescriptor of the engine that processes this
request. |
@API(value=Internal) public ExecutionRequest(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters)
public TestDescriptor getRootTestDescriptor()
TestDescriptor
of the engine that processes this
request.
Note: the root descriptor is the
TestDescriptor
returned by
TestEngine.discover(EngineDiscoveryRequest, UniqueId)
.
public EngineExecutionListener getEngineExecutionListener()
EngineExecutionListener
to be notified of test execution
events.public ConfigurationParameters getConfigurationParameters()
ConfigurationParameters
that the engine may use to
influence test execution.