| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final LauncherInterceptor | |
| private final DelegatingLauncher | |
| private final LauncherSessionListener | |
| private static final LauncherInterceptor | |
| private final NamespacedHierarchicalStore |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultLauncherSession(List<LauncherInterceptor> interceptors, Supplier<LauncherSessionListener> listenerSupplier, Function<NamespacedHierarchicalStore<Namespace>, Launcher> launcherFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Close this session and notify all registered
|
| private static LauncherInterceptor | |
| public Launcher | getLauncher()
Implements org. Get the |
| pack-priv LauncherSessionListener | |
| public NamespacedHierarchicalStore | getStore()
Implements org. Get the |
| interceptor | back to summary |
|---|---|
| private final LauncherInterceptor interceptor | |
| launcher | back to summary |
|---|---|
| private final DelegatingLauncher launcher | |
| listener | back to summary |
|---|---|
| private final LauncherSessionListener listener | |
| NOOP_INTERCEPTOR | back to summary |
|---|---|
| private static final LauncherInterceptor NOOP_INTERCEPTOR | |
| store | back to summary |
|---|---|
| private final NamespacedHierarchicalStore<Namespace> store | |
| DefaultLauncherSession | back to summary |
|---|---|
| pack-priv DefaultLauncherSession(List<LauncherInterceptor> interceptors, Supplier<LauncherSessionListener> listenerSupplier, Function<NamespacedHierarchicalStore<Namespace>, Launcher> launcherFactory) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close this session and notify all registered
| |
| composite | back to summary |
|---|---|
| private static LauncherInterceptor composite(List<LauncherInterceptor> interceptors) | |
| getLauncher | back to summary |
|---|---|
| public Launcher getLauncher() Implements org. Doc from org. Get the Any call to the launcher returned by this method after the session has been closed will throw an exception.
| |
| getListener | back to summary |
|---|---|
| pack-priv LauncherSessionListener getListener() | |
| getStore | back to summary |
|---|---|
| public NamespacedHierarchicalStore Implements org. Doc from org. Get the All stored values that implement Any call to the store returned by this method after the session has been closed will throw an exception.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final DefaultLauncherSession. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TestPlan | discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
Implements org. Discover tests and build a |
| public void | execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)
Implements org. Execute a |
| public void | execute(TestPlan testPlan, TestExecutionListener... listeners)
Implements org. Execute the supplied |
| public void | execute(LauncherExecutionRequest launcherExecutionRequest)
Implements org. Execute tests according to the supplied |
| public void | registerLauncherDiscoveryListeners(LauncherDiscoveryListener... listeners)
Implements org. Register one or more listeners for test discovery. |
| public void | registerTestExecutionListeners(TestExecutionListener... listeners)
Implements org. Register one or more listeners for test execution. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final DefaultLauncherSession. | |
| ClosedLauncher | back to summary |
|---|---|
| private ClosedLauncher() | |
| discover | back to summary |
|---|---|
| public TestPlan discover(LauncherDiscoveryRequest launcherDiscoveryRequest) Implements org. Doc from org. Discover tests and build a
| |
| execute | back to summary |
|---|---|
| public void execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) Implements org. Doc from org. Execute a Supplied test execution listeners are registered in addition to already registered listeners but only for the supplied launcher discovery request.
| |
| execute | back to summary |
|---|---|
| public void execute(TestPlan testPlan, TestExecutionListener... listeners) Implements org. Doc from org. Execute the supplied Supplied test execution listeners are registered in addition to already registered listeners but only for the execution of the supplied test plan.
| |
| execute | back to summary |
|---|---|
| public void execute(LauncherExecutionRequest launcherExecutionRequest) Implements org. Doc from org. Execute tests according to the supplied Test execution listeners supplied as part of the request are registered in addition to already registered listeners but only for the supplied execution request.
| |
| registerLauncherDiscoveryListeners | back to summary |
|---|---|
| public void registerLauncherDiscoveryListeners(LauncherDiscoveryListener... listeners) Implements org. Doc from org. Register one or more listeners for test discovery.
| |
| registerTestExecutionListeners | back to summary |
|---|---|
| public void registerTestExecutionListeners(TestExecutionListener... listeners) Implements org. Doc from org. Register one or more listeners for test execution.
| |