Interface LauncherSession
- All Superinterfaces:
AutoCloseable
The
LauncherSession API is the main entry point for client code that
wishes to repeatedly discover and execute tests using one
or more test engines.- Since:
- 1.8
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this session and notify all registeredLauncherSessionListeners.Get theLauncherassociated with this session.getStore()Get theNamespacedHierarchicalStoreassociated with this session.
-
Method Details
-
getLauncher
-
close
void close()Close this session and notify all registeredLauncherSessionListeners.- Specified by:
closein interfaceAutoCloseable- API Note:
- The behavior of calling this method concurrently with any call
to the
Launcherreturned bygetLauncher()is currently undefined.
-
getStore
Get theNamespacedHierarchicalStoreassociated with this session.All stored values that implement
AutoCloseableare notified by invoking theirclose()methods when this session is closed.Any call to the store returned by this method after the session has been closed will throw an exception.
- Since:
- 1.13
- See Also:
-