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
Modifier and Type | Field and Description |
---|---|
private final ConfigurationParameters | |
private final EngineExecutionListener | |
private final TestDescriptor |
Access | Constructor and Description |
---|---|
public | ExecutionRequest(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters)
|
Modifier and Type | Method and Description |
---|---|
public static ExecutionRequest | Returns: a newExecutionRequest ; never null the engine's root rootTestDescriptor, EngineExecutionListener TestDescriptor the engineExecutionListener, ConfigurationParameters EngineExecutionListener to be
notified of test execution eventsConfigurationParameters that the
engine may use to influence test executionFactory for creating an execution request. |
public ConfigurationParameters | getConfigurationParameters()
Get the |
public EngineExecutionListener | getEngineExecutionListener()
Get the |
public TestDescriptor |
configurationParameters | back to summary |
---|---|
private final ConfigurationParameters configurationParameters |
engineExecutionListener | back to summary |
---|---|
private final EngineExecutionListener engineExecutionListener |
rootTestDescriptor | back to summary |
---|---|
private final TestDescriptor rootTestDescriptor |
ExecutionRequest | back to summary |
---|---|
public ExecutionRequest(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) |
create | back to summary |
---|---|
public static ExecutionRequest create(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) Factory for creating an execution request.
|
getConfigurationParameters | back to summary |
---|---|
public ConfigurationParameters getConfigurationParameters() Get the |
getEngineExecutionListener | back to summary |
---|---|
public EngineExecutionListener getEngineExecutionListener() Get the |
getRootTestDescriptor | back to summary |
---|---|
public TestDescriptor getRootTestDescriptor() Get the root Note the root descriptor is the
|