@API(status=STABLE,
since="1.10")
public interface LauncherSession
extends java.lang.AutoCloseable
LauncherSession API is the main entry point for client code that
wishes to repeatedly discover and execute tests using one
or more test engines.Launcher,
LauncherSessionListener,
LauncherFactory| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this session and notify all registered
LauncherSessionListeners. |
Launcher |
getLauncher()
Get the
Launcher associated with this session. |
Launcher getLauncher()
Launcher associated with this session.
Any call to the launcher returned by this method after the session has been closed will throw an exception.
void close()
LauncherSessionListeners.close in interface java.lang.AutoCloseable