Uses of Class
org.junit.platform.engine.UniqueId
Package
Description
Core package for the JUnit Jupiter test engine.
Test descriptors used within the JUnit Jupiter test engine.
Public API for test engines.
TestDescriptor
-related support classes
intended to be used by test engine implementations and clients of
the launcher.Java Flight Recorder support package.
Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.Core package for the JUnit Platform Suite test engine.
Core package for the JUnit Vintage test engine.
Test descriptors used within the JUnit Vintage test engine.
Internal classes for test discovery within the JUnit Vintage test engine.
-
Uses of UniqueId in org.junit.jupiter.engine
Modifier and TypeMethodDescriptionJupiterTestEngine.discover
(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.jupiter.engine.descriptor
Modifier and TypeMethodDescriptionvoid
DynamicDescendantFilter.allowUniqueIdPrefix
(UniqueId uniqueId) boolean
ModifierConstructorDescriptionClassTestDescriptor
(UniqueId uniqueId, Class<?> testClass, JupiterConfiguration configuration) JupiterEngineDescriptor
(UniqueId uniqueId, JupiterConfiguration configuration) NestedClassTestDescriptor
(UniqueId uniqueId, Class<?> testClass, JupiterConfiguration configuration) TestFactoryTestDescriptor
(UniqueId uniqueId, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) TestMethodTestDescriptor
(UniqueId uniqueId, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) TestTemplateTestDescriptor
(UniqueId uniqueId, Class<?> testClass, Method templateMethod, JupiterConfiguration configuration) -
Uses of UniqueId in org.junit.platform.engine
Modifier and TypeMethodDescriptionfinal UniqueId
Construct a newUniqueId
by appending a newUniqueId.Segment
, based on the suppliedsegmentType
andvalue
, to the end of thisUniqueId
.final UniqueId
UniqueId.append
(UniqueId.Segment segment) UniqueId.appendEngine
(String engineId) Construct a newUniqueId
by appending a newUniqueId.Segment
, based on the suppliedengineId
, to the end of thisUniqueId
.static UniqueId
Create an engine's unique ID from itsengineId
using the default format.TestDescriptor.getUniqueId()
Get the unique identifier (UID) for this descriptor.static UniqueId
Parse aUniqueId
from the supplied string representation using the default format.UniqueId.removeLastSegment()
static UniqueId
Create a root unique ID from the suppliedsegmentType
andvalue
using the default format.Modifier and TypeMethodDescriptionTestEngine.discover
(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) Discover tests according to the suppliedEngineDiscoveryRequest
.Optional
<? extends TestDescriptor> TestDescriptor.findByUniqueId
(UniqueId uniqueId) Find the descriptor with the supplied unique ID.boolean
Determine if the suppliedUniqueId
is a prefix for thisUniqueId
.default void
EngineDiscoveryListener.selectorProcessed
(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) Must be called after a discovery selector has been processed by a test engine. -
Uses of UniqueId in org.junit.platform.engine.discovery
Modifier and TypeMethodDescriptionstatic UniqueIdSelector
DiscoverySelectors.selectUniqueId
(UniqueId uniqueId) Create aUniqueIdSelector
for the suppliedUniqueId
. -
Uses of UniqueId in org.junit.platform.engine.support.descriptor
Modifier and TypeMethodDescriptionOptional
<? extends TestDescriptor> AbstractTestDescriptor.findByUniqueId
(UniqueId uniqueId) ModifierConstructorDescriptionprotected
AbstractTestDescriptor
(UniqueId uniqueId, String displayName) Create a newAbstractTestDescriptor
with the suppliedUniqueId
and display name.protected
AbstractTestDescriptor
(UniqueId uniqueId, String displayName, TestSource source) Create a newAbstractTestDescriptor
with the suppliedUniqueId
, display name, and source.EngineDescriptor
(UniqueId uniqueId, String displayName) Create a newEngineDescriptor
with the suppliedUniqueId
and display name. -
Uses of UniqueId in org.junit.platform.jfr
Modifier and TypeMethodDescriptionvoid
FlightRecordingDiscoveryListener.engineDiscoveryFinished
(UniqueId engineId, EngineDiscoveryResult result) void
FlightRecordingDiscoveryListener.engineDiscoveryStarted
(UniqueId engineId) -
Uses of UniqueId in org.junit.platform.launcher
Modifier and TypeMethodDescriptionTestIdentifier.getUniqueIdObject()
Get the unique ID of the represented test or container as aUniqueId
.Modifier and TypeMethodDescriptionTestIdentifier.getParentIdObject()
Get the unique ID of this identifier's parent as aUniqueId
, if available.Modifier and TypeMethodDescriptiondefault void
LauncherDiscoveryListener.engineDiscoveryFinished
(UniqueId engineId, EngineDiscoveryResult result) Called when test discovery has finished for an engine.default void
LauncherDiscoveryListener.engineDiscoveryStarted
(UniqueId engineId) Called when test discovery is about to be started for an engine.TestPlan.getChildren
(UniqueId parentId) Get the children of the supplied unique ID.TestPlan.getTestIdentifier
(UniqueId uniqueId) Get theTestIdentifier
with the supplied unique ID. -
Uses of UniqueId in org.junit.platform.launcher.core
Modifier and TypeMethodDescriptionEngineDiscoveryOrchestrator.discover
(LauncherDiscoveryRequest request, EngineDiscoveryOrchestrator.Phase phase, UniqueId parentId) Discovers tests for the supplied request in the supplied phase using the configured test engines to be used by the suite engine. -
Uses of UniqueId in org.junit.platform.suite.engine
Modifier and TypeMethodDescriptionSuiteTestEngine.discover
(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.vintage.engine
Modifier and TypeMethodDescriptionVintageTestEngine.discover
(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.vintage.engine.descriptor
ModifierConstructorDescriptionRunnerTestDescriptor
(UniqueId uniqueId, Class<?> testClass, Runner runner, boolean ignored) VintageEngineDescriptor
(UniqueId uniqueId) VintageTestDescriptor
(UniqueId uniqueId, Description description, TestSource source) -
Uses of UniqueId in org.junit.vintage.engine.discovery
Modifier and TypeMethodDescriptionVintageDiscoverer.discover
(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId)