Class LauncherSessionAdapter
java.lang.Object
org.apache.maven.surefire.junitplatform.LauncherSessionAdapter
- All Implemented Interfaces:
AutoCloseable
Launcher proxy which delays the most possible the initialization of the real JUnit
Launcher in order to avoid stream/stdout corruption due to early logging.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLauncherSessionAdapter(AutoCloseable launcherSession, org.junit.platform.launcher.Launcher launcher, CancellationTokenAdapter cancellationToken) -
Method Summary
-
Field Details
-
launcherSession
-
launcher
-
-
Constructor Details
-
LauncherSessionAdapter
LauncherSessionAdapter(AutoCloseable launcherSession, org.junit.platform.launcher.Launcher launcher, CancellationTokenAdapter cancellationToken)
-
-
Method Details
-
getLauncher
LauncherAdapter getLauncher() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-