Uses of Class
org.junit.platform.engine.UniqueId
Packages that use 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
Methods in org.junit.jupiter.engine with parameters of type UniqueIdModifier and TypeMethodDescriptionJupiterTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor with parameters of type UniqueIdModifier and TypeMethodDescriptionvoidDynamicDescendantFilter.allowUniqueIdPrefix(UniqueId uniqueId) booleanConstructors in org.junit.jupiter.engine.descriptor with parameters of type UniqueIdModifierConstructorDescriptionClassTestDescriptor(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
Methods in org.junit.platform.engine that return UniqueIdModifier and TypeMethodDescriptionfinal UniqueIdConstruct a newUniqueIdby appending a newUniqueId.Segment, based on the suppliedsegmentTypeandvalue, to the end of thisUniqueId.final UniqueIdUniqueId.append(UniqueId.Segment segment) UniqueId.appendEngine(String engineId) Construct a newUniqueIdby appending a newUniqueId.Segment, based on the suppliedengineId, to the end of thisUniqueId.static UniqueIdCreate an engine's unique ID from itsengineIdusing the default format.TestDescriptor.getUniqueId()Get the unique identifier (UID) for this descriptor.static UniqueIdParse aUniqueIdfrom the supplied string representation using the default format.UniqueId.removeLastSegment()static UniqueIdCreate a root unique ID from the suppliedsegmentTypeandvalueusing the default format.Methods in org.junit.platform.engine with parameters of type UniqueIdModifier 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.booleanDetermine if the suppliedUniqueIdis a prefix for thisUniqueId.default voidEngineDiscoveryListener.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
Methods in org.junit.platform.engine.discovery that return UniqueIdMethods in org.junit.platform.engine.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionstatic UniqueIdSelectorDiscoverySelectors.selectUniqueId(UniqueId uniqueId) Create aUniqueIdSelectorfor the suppliedUniqueId. -
Uses of UniqueId in org.junit.platform.engine.support.descriptor
Methods in org.junit.platform.engine.support.descriptor that return UniqueIdMethods in org.junit.platform.engine.support.descriptor with parameters of type UniqueIdModifier and TypeMethodDescriptionOptional<? extends TestDescriptor> AbstractTestDescriptor.findByUniqueId(UniqueId uniqueId) Constructors in org.junit.platform.engine.support.descriptor with parameters of type UniqueIdModifierConstructorDescriptionprotectedAbstractTestDescriptor(UniqueId uniqueId, String displayName) Create a newAbstractTestDescriptorwith the suppliedUniqueIdand display name.protectedAbstractTestDescriptor(UniqueId uniqueId, String displayName, TestSource source) Create a newAbstractTestDescriptorwith the suppliedUniqueId, display name, and source.EngineDescriptor(UniqueId uniqueId, String displayName) Create a newEngineDescriptorwith the suppliedUniqueIdand display name. -
Uses of UniqueId in org.junit.platform.jfr
Methods in org.junit.platform.jfr with parameters of type UniqueIdModifier and TypeMethodDescriptionvoidFlightRecordingDiscoveryListener.engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) voidFlightRecordingDiscoveryListener.engineDiscoveryStarted(UniqueId engineId) -
Uses of UniqueId in org.junit.platform.launcher
Methods in org.junit.platform.launcher that return UniqueIdModifier and TypeMethodDescriptionTestIdentifier.getUniqueIdObject()Get the unique ID of the represented test or container as aUniqueId.Methods in org.junit.platform.launcher that return types with arguments of type UniqueIdModifier and TypeMethodDescriptionTestIdentifier.getParentIdObject()Get the unique ID of this identifier's parent as aUniqueId, if available.Methods in org.junit.platform.launcher with parameters of type UniqueIdModifier and TypeMethodDescriptiondefault voidLauncherDiscoveryListener.engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) Called when test discovery has finished for an engine.default voidLauncherDiscoveryListener.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 theTestIdentifierwith the supplied unique ID. -
Uses of UniqueId in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core with parameters of type UniqueIdModifier 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
Methods in org.junit.platform.suite.engine with parameters of type UniqueIdModifier and TypeMethodDescriptionSuiteTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.vintage.engine
Methods in org.junit.vintage.engine with parameters of type UniqueIdModifier and TypeMethodDescriptionVintageTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.vintage.engine.descriptor
Constructors in org.junit.vintage.engine.descriptor with parameters of type UniqueIdModifierConstructorDescriptionRunnerTestDescriptor(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
Methods in org.junit.vintage.engine.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionVintageDiscoverer.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId)