Package io.quarkus.test.config
Class ConfigLauncherSession
java.lang.Object
io.quarkus.test.config.ConfigLauncherSession
- All Implemented Interfaces:
org.junit.platform.launcher.LauncherSessionListener
public class ConfigLauncherSession
extends Object
implements org.junit.platform.launcher.LauncherSessionListener
A JUnit
LauncherSessionListener, used to register the initial test config. Test set up code can safely call
ConfigProvider.getConfig() to retrieve an instance of the Quarkus configuration.
The test config only contains sources known at bootstrap test time. For instance, config sources generated by Quarkus are not available in the test config.
-
Field Summary
Fields inherited from interface org.junit.platform.launcher.LauncherSessionListener
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlauncherSessionClosed(org.junit.platform.launcher.LauncherSession session) voidlauncherSessionOpened(org.junit.platform.launcher.LauncherSession session)
-
Constructor Details
-
ConfigLauncherSession
public ConfigLauncherSession()
-
-
Method Details
-
launcherSessionOpened
public void launcherSessionOpened(org.junit.platform.launcher.LauncherSession session) - Specified by:
launcherSessionOpenedin interfaceorg.junit.platform.launcher.LauncherSessionListener
-
launcherSessionClosed
public void launcherSessionClosed(org.junit.platform.launcher.LauncherSession session) - Specified by:
launcherSessionClosedin interfaceorg.junit.platform.launcher.LauncherSessionListener
-