EngineDiscoveryRequest provides a TestEngine access to the
information necessary to discover tests and containers.
A request is comprised of selectors and filters. While the former select resources that engines can use to discover tests, the latter specify how such resources are to be filtered. All of the filters have to include a resource for it to end up in the test plan.
In addition, the supplied configuration parameters can be used to influence the discovery process.
TestEngine, TestDescriptor, DiscoverySelector, DiscoveryFilter, ConfigurationParameters
| Modifier and Type | Method and Description |
|---|---|
| public ConfigurationParameters | Returns: the configuration parameters; nevernullGet the |
| public default EngineDiscoveryListener | Returns: the discovery listener; nevernullGet the |
| public <T extends DiscoveryFilter | Returns: all filters of this request that are instances offilterType; never null but potentially emptythe type of filterType)DiscoveryFilter to filter by;
never nullGet the |
| public default OutputDirectoryCreator | Returns: the output directory creator; nevernullGet the |
| public default OutputDirectoryProvider | Returns: the output directory provider; nevernull
Deprecated
for removal since 1.14. Please use
getOutputDirectoryCreator() instead
Get the
|
| public <T extends DiscoverySelector> List | Returns: all selectors of this request that are instances ofselectorType; never null but potentially emptythe type of selectorType)DiscoverySelector to filter by;
never nullGet the |
| getConfigurationParameters | back to summary |
|---|---|
| public ConfigurationParameters getConfigurationParameters() Get the
| |
| getDiscoveryListener | back to summary |
|---|---|
| public default EngineDiscoveryListener getDiscoveryListener() Get the
| |
| getFiltersByType | back to summary |
|---|---|
| public <T extends DiscoveryFilter Get the The returned filters are to be combined using AND semantics, i.e. all of them have to include a resource for it to end up in the test plan.
| |
| getOutputDirectoryCreator | back to summary |
|---|---|
| public default OutputDirectoryCreator getOutputDirectoryCreator() Get the
| |
| getOutputDirectoryProvider | back to summary |
|---|---|
| public default OutputDirectoryProvider getOutputDirectoryProvider()
Get the
| |
| getSelectorsByType | back to summary |
|---|---|
| public <T extends DiscoverySelector> List Get the
| |