diff --git a/junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/Resources.java b/junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/Resources.java index b82569c5b92d..89a22048319e 100644 --- a/junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/Resources.java +++ b/junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/Resources.java @@ -72,7 +72,7 @@ public class Resources { * * @since 5.8 * @see Isolated - * @see ExclusiveResource + * @see org.junit.platform.engine.support.hierarchical.ExclusiveResource */ @API(status = EXPERIMENTAL, since = "5.8") public static final String GLOBAL = "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"; diff --git a/junit-platform-jfr/src/module/org.junit.platform.jfr/module-info.java b/junit-platform-jfr/src/module/org.junit.platform.jfr/module-info.java index 4fc851f0fd78..0636e4eff966 100644 --- a/junit-platform-jfr/src/module/org.junit.platform.jfr/module-info.java +++ b/junit-platform-jfr/src/module/org.junit.platform.jfr/module-info.java @@ -9,10 +9,12 @@ */ /** - * Provides the JUnit Platform Flight Recording Listener. + * Provides Java Flight Recorder events for the JUnit Platform. * - *

The Flight Recording Listener is a {@link TestExecutionListener} that - * generates Java Flight Recorder events. + *

The Flight Recording Listener module implements a + * {@link org.junit.platform.launcher.LauncherDiscoveryListener} and a + * {@link org.junit.platform.launcher.TestExecutionListener} that generate Java + * Flight Recorder (JFR) events. * * @see JEP 328: Flight Recorder * @since 1.7 diff --git a/junit-platform-launcher/src/main/java/org/junit/platform/launcher/LauncherDiscoveryListener.java b/junit-platform-launcher/src/main/java/org/junit/platform/launcher/LauncherDiscoveryListener.java index 553b1a829737..38ae37af3710 100644 --- a/junit-platform-launcher/src/main/java/org/junit/platform/launcher/LauncherDiscoveryListener.java +++ b/junit-platform-launcher/src/main/java/org/junit/platform/launcher/LauncherDiscoveryListener.java @@ -17,9 +17,9 @@ import org.junit.platform.engine.UniqueId; /** - * Register a concrete implementation of this interface with a - * {@link org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder} - * to be notified of events that occur during test discovery. + * Register a concrete implementation of this class with a + * {@link org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder} or + * {@link Launcher} to be notified of events that occur during test discovery. * *

All methods in this class have empty default implementations. * Subclasses may therefore override one or more of these methods to be notified @@ -35,6 +35,7 @@ * * @see org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners * @see LauncherDiscoveryRequest#getDiscoveryListener() + * @see org.junit.platform.launcher.core.LauncherConfig.Builder#addLauncherDiscoveryListeners * @since 1.6 */ @API(status = EXPERIMENTAL, since = "1.6")