| Modifier and Type | Field and Description |
|---|---|
| private final EngineDiscoveryResultValidator | |
| private final ListenerRegistry | |
| private static final Logger | |
| private final Collection | |
| private final Iterable |
| Access | Constructor and Description |
|---|---|
| public | EngineDiscoveryOrchestrator(Iterable<TestEngine> testEngines, Collection<PostDiscoveryFilter> postDiscoveryFilters)
|
| pack-priv | EngineDiscoveryOrchestrator(Iterable<TestEngine> testEngines, Collection<PostDiscoveryFilter> postDiscoveryFilters, ListenerRegistry<LauncherDiscoveryListener> launcherDiscoveryListenerRegistry)
|
| discoveryResultValidator | back to summary |
|---|---|
| private final EngineDiscoveryResultValidator discoveryResultValidator | |
| launcherDiscoveryListenerRegistry | back to summary |
|---|---|
| private final ListenerRegistry<LauncherDiscoveryListener> launcherDiscoveryListenerRegistry | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| postDiscoveryFilters | back to summary |
|---|---|
| private final Collection<PostDiscoveryFilter> postDiscoveryFilters | |
| testEngines | back to summary |
|---|---|
| private final Iterable<TestEngine> testEngines | |
| EngineDiscoveryOrchestrator | back to summary |
|---|---|
| public EngineDiscoveryOrchestrator(Iterable<TestEngine> testEngines, Collection<PostDiscoveryFilter> postDiscoveryFilters) | |
| EngineDiscoveryOrchestrator | back to summary |
|---|---|
| pack-priv EngineDiscoveryOrchestrator(Iterable<TestEngine> testEngines, Collection<PostDiscoveryFilter> postDiscoveryFilters, ListenerRegistry<LauncherDiscoveryListener> launcherDiscoveryListenerRegistry) | |
| acceptInAllTestEngines | back to summary |
|---|---|
| private void acceptInAllTestEngines(Map<TestEngine, LauncherDiscoveryResult. | |
| applyPostDiscoveryFilters | back to summary |
|---|---|
| private void applyPostDiscoveryFilters(Map<TestEngine, LauncherDiscoveryResult. | |
| discover | back to summary |
|---|---|
| public LauncherDiscoveryResult discover(LauncherDiscoveryRequest request) Discovers tests for the supplied request using the configured test engines. Applies engine filters and post-discovery filters and prunes the resulting test tree. | |
| discover | back to summary |
|---|---|
| pack-priv LauncherDiscoveryResult discover(LauncherDiscoveryRequest request, LauncherPhase phase) | |
| discover | back to summary |
|---|---|
| public LauncherDiscoveryResult discover(LauncherDiscoveryRequest request, UniqueId parentId) Discovers tests for the supplied request in the supplied phase using the configured test engines to be used by the suite engine. Applies engine filters and post-discovery filters and prunes the resulting test tree. Note The test descriptors in the discovery result can safely be used
as non-root descriptors. Engine-test descriptor entries are pruned from
the returned result. As such execution by
| |
| discover | back to summary |
|---|---|
| private LauncherDiscoveryResult discover(LauncherDiscoveryRequest request, Optional<LauncherPhase> phase, Function<String, UniqueId> uniqueIdCreator) | |
| discoverEngineRoot | back to summary |
|---|---|
| private LauncherDiscoveryResult. | |
| discoverSafely | back to summary |
|---|---|
| private Map | |
| getLauncherDiscoveryListener | back to summary |
|---|---|
| pack-priv LauncherDiscoveryListener getLauncherDiscoveryListener(LauncherDiscoveryRequest discoveryRequest, DiscoveryIssueCollector issueCollector) | |
| isExcluded | back to summary |
|---|---|
| private boolean isExcluded(TestDescriptor descriptor, FilterResult filterResult) | |
| logTestDescriptorExclusionReasons | back to summary |
|---|---|
| private void logTestDescriptorExclusionReasons(Map<String, List<TestDescriptor>> excludedTestDescriptorsByReason) | |
| populateExclusionReasonInMap | back to summary |
|---|---|
| private void populateExclusionReasonInMap(Optional<String> reason, TestDescriptor testDescriptor, Map<String, List<TestDescriptor>> excludedTestDescriptorsByReason) | |
| prune | back to summary |
|---|---|
| private void prune(Map<TestEngine, LauncherDiscoveryResult. Prune all branches in the tree of If a | |
| reportDiscoveryIssues | back to summary |
|---|---|
| private static void reportDiscoveryIssues(LauncherDiscoveryResult discoveryResult) | |
| shouldReportDiscoveryIssues | back to summary |
|---|---|
| private static boolean shouldReportDiscoveryIssues(LauncherDiscoveryRequest request, Optional<LauncherPhase> phase) | |