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.
Internal classes for test discovery within the JUnit Jupiter test engine.
Output printing utility classes of JUnit's console launcher.
Public API for test engines.
TestDescriptor-related support classes
intended to be used by test engine implementations and clients of
the launcher.Configurable test discovery implementation that can be reused by different test engines.
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction.Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder.Common
LauncherDiscoveryListener
implementations and factory methods.Runner and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment.Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.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
Classes in org.junit.jupiter.engine.descriptor that implement interfaces with type arguments of type UniqueIdModifier and TypeClassDescriptionclassFilter for dynamic descendants ofTestDescriptorsthat implementFilterable.(package private) classFields in org.junit.jupiter.engine.descriptor declared as UniqueIdModifier and TypeFieldDescriptionprivate final UniqueIdUniqueIdPrefixTransformer.newPrefixprivate final UniqueIdUniqueIdPrefixTransformer.oldPrefixFields in org.junit.jupiter.engine.descriptor with type parameters of type UniqueIdMethods in org.junit.jupiter.engine.descriptor that return UniqueIdModifier and TypeMethodDescription(package private) UniqueIdClassTemplateTestDescriptor.ClassTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) (package private) abstract UniqueIdTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) (package private) UniqueIdTestTemplateTestDescriptor.TestTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) Methods in org.junit.jupiter.engine.descriptor with parameters of type UniqueIdModifier and TypeMethodDescriptionvoidDynamicDescendantFilter.allowUniqueIdPrefix(UniqueId uniqueId) private Stream<? extends TestDescriptor> ClassTemplateTestDescriptor.ClassTemplateExecutor.collectChildren(int index, UniqueId invocationUniqueId) (package private) TestDescriptorClassTemplateTestDescriptor.ClassTemplateExecutor.createInvocationTestDescriptor(UniqueId uniqueId, org.junit.jupiter.api.extension.ClassTemplateInvocationContext invocationContext, int index) (package private) abstract TestDescriptorTemplateExecutor.createInvocationTestDescriptor(UniqueId uniqueId, C invocationContext, int index) (package private) TestDescriptorTestTemplateTestDescriptor.TestTemplateExecutor.createInvocationTestDescriptor(UniqueId uniqueId, org.junit.jupiter.api.extension.TestTemplateInvocationContext invocationContext, int index) (package private) UniqueIdClassTemplateTestDescriptor.ClassTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) (package private) abstract UniqueIdTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) (package private) UniqueIdTestTemplateTestDescriptor.TestTemplateExecutor.createInvocationUniqueId(UniqueId parentUniqueId, int index) private booleanDynamicDescendantFilter.isPrefixOrViceVersa(UniqueId currentUniqueId, UniqueId allowedUniqueId) private booleanDynamicDescendantFilter.isUniqueIdAllowed(UniqueId uniqueId) booleanbooleanMethod parameters in org.junit.jupiter.engine.descriptor with type arguments of type UniqueIdModifier and TypeMethodDescriptionprotected DynamicDescendantFilterDynamicDescendantFilter.configure(UnaryOperator<UniqueId> uniqueIdTransformer, DynamicDescendantFilter copy) DynamicDescendantFilter.copy(UnaryOperator<UniqueId> uniqueIdTransformer) DynamicDescendantFilter.WithoutIndexFiltering.copy(UnaryOperator<UniqueId> uniqueIdTransformer) protected JupiterTestDescriptorClassTemplateTestDescriptor.copyIncludingDescendants(UnaryOperator<UniqueId> uniqueIdTransformer) protected JupiterTestDescriptorJupiterTestDescriptor.copyIncludingDescendants(UnaryOperator<UniqueId> uniqueIdTransformer) Returns a deep copy (with copies of children) of this descriptor with the supplied unique ID.protected ClassTemplateInvocationTestDescriptorClassTemplateInvocationTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected ClassTemplateTestDescriptorClassTemplateTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected ClassTestDescriptorClassTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected DynamicContainerTestDescriptorDynamicContainerTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected DynamicTestTestDescriptorDynamicTestTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected abstract JupiterTestDescriptorJupiterTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) Returns shallow copy (without children) of this descriptor with the supplied unique ID.protected NestedClassTestDescriptorNestedClassTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected TestFactoryTestDescriptorTestFactoryTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected TestMethodTestDescriptorTestMethodTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected TestTemplateInvocationTestDescriptorTestTemplateInvocationTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) protected TestTemplateTestDescriptorTestTemplateTestDescriptor.withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) Constructors in org.junit.jupiter.engine.descriptor with parameters of type UniqueIdModifierConstructorDescription(package private)ClassBasedTestDescriptor(UniqueId uniqueId, Class<?> testClass, String displayName, JupiterConfiguration configuration) (package private)ClassBasedTestDescriptor(UniqueId uniqueId, Class<?> testClass, Supplier<String> displayNameSupplier, JupiterConfiguration configuration) ClassTemplateInvocationTestDescriptor(UniqueId uniqueId, ClassTemplateTestDescriptor parent, org.junit.jupiter.api.extension.ClassTemplateInvocationContext invocationContext, int index, TestSource source, JupiterConfiguration configuration) ClassTemplateTestDescriptor(UniqueId uniqueId, ClassBasedTestDescriptor delegate) privateClassTemplateTestDescriptor(UniqueId uniqueId, ClassBasedTestDescriptor delegate, DynamicDescendantFilter dynamicDescendantFilter) privateClassTestDescriptor(UniqueId uniqueId, Class<?> testClass, String displayName, JupiterConfiguration configuration) ClassTestDescriptor(UniqueId uniqueId, Class<?> testClass, JupiterConfiguration configuration) (package private)DynamicContainerTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicContainer dynamicContainer, TestSource testSource, DynamicDescendantFilter dynamicDescendantFilter, JupiterConfiguration configuration) (package private)DynamicNodeTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicNode dynamicNode, TestSource testSource, JupiterConfiguration configuration) (package private)DynamicTestTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicTest dynamicTest, TestSource source, JupiterConfiguration configuration) JupiterEngineDescriptor(UniqueId uniqueId, JupiterConfiguration configuration) (package private)JupiterTestDescriptor(UniqueId uniqueId, AnnotatedElement element, Supplier<String> displayNameSupplier, TestSource source, JupiterConfiguration configuration) (package private)JupiterTestDescriptor(UniqueId uniqueId, String displayName, TestSource source, JupiterConfiguration configuration) (package private)MethodBasedTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method testMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) (package private)MethodBasedTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) privateNestedClassTestDescriptor(UniqueId uniqueId, Class<?> testClass, String displayName, JupiterConfiguration configuration) NestedClassTestDescriptor(UniqueId uniqueId, Class<?> testClass, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) TestFactoryTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method testMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) privateTestFactoryTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration, DynamicDescendantFilter dynamicDescendantFilter) TestMethodTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method testMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) (package private)TestMethodTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) (package private)TestMethodTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Method, Void> interceptorCall) (package private)TestTemplateInvocationTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method templateMethod, org.junit.jupiter.api.extension.TestTemplateInvocationContext invocationContext, int index, JupiterConfiguration configuration) TestTemplateTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method templateMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) privateTestTemplateTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method templateMethod, JupiterConfiguration configuration, DynamicDescendantFilter dynamicDescendantFilter) (package private)UniqueIdPrefixTransformer(UniqueId oldPrefix, UniqueId newPrefix) -
Uses of UniqueId in org.junit.jupiter.engine.discovery
Methods in org.junit.jupiter.engine.discovery that return UniqueIdModifier and TypeMethodDescriptionprivate UniqueIdMethodSelectorResolver.MethodType.createUniqueId(Method method, TestDescriptor parent, Class<?> testClass) Methods in org.junit.jupiter.engine.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionMethodSelectorResolver.MethodType.TestDescriptorFactory.create(UniqueId uniqueId, Class<?> testClass, Method method, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) private SelectorResolver.ResolutionClassSelectorResolver.resolveNestedClassUniqueId(SelectorResolver.Context context, UniqueId uniqueId, Predicate<? super Class<?>> condition, BiFunction<TestDescriptor, Class<?>, ClassBasedTestDescriptor> factory) (package private) Optional<TestDescriptor> MethodSelectorResolver.MethodType.resolveUniqueIdIntoTestDescriptor(UniqueId uniqueId, SelectorResolver.Context context, JupiterConfiguration configuration) -
Uses of UniqueId in org.junit.platform.console.output
Fields in org.junit.platform.console.output with type parameters of type UniqueIdMethods in org.junit.platform.console.output with parameters of type UniqueIdModifier and TypeMethodDescriptionTestFeedPrintingListener.collectDisplayNames(UniqueId uniqueId) -
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.(package private) UniqueIdParse aUniqueIdfrom the supplied string representation.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.(package private) StringFormat and return the string representation of the suppliedUniqueId.booleanDetermine if the suppliedUniqueIdis a prefix for thisUniqueId.default voidEngineDiscoveryListener.issueEncountered(UniqueId engineId, DiscoveryIssue issue) Called when the engine with the suppliedengineIdencountered an issue during test discovery.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
Fields in org.junit.platform.engine.discovery declared as UniqueIdMethods 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.Constructors in org.junit.platform.engine.discovery with parameters of type UniqueId -
Uses of UniqueId in org.junit.platform.engine.support.descriptor
Fields in org.junit.platform.engine.support.descriptor declared as UniqueIdMethods 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.engine.support.discovery
Fields in org.junit.platform.engine.support.discovery with type parameters of type UniqueIdModifier and TypeFieldDescriptionprivate final Map<UniqueId, SelectorResolver.Match> EngineDiscoveryRequestResolution.resolvedUniqueIdsMethods in org.junit.platform.engine.support.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionstatic DiscoveryIssueReporterDiscoveryIssueReporter.forwarding(EngineDiscoveryListener engineDiscoveryListener, UniqueId engineId) Create a newDiscoveryIssueReporterthat reports issues to the suppliedEngineDiscoveryListenerfor the specified engine. -
Uses of UniqueId in org.junit.platform.engine.support.hierarchical
Fields in org.junit.platform.engine.support.hierarchical with type parameters of type UniqueIdModifier and TypeFieldDescriptionprivate final Map<UniqueId, NodeTestTask.DynamicTaskState> NodeTestTask.DefaultDynamicTestExecutor.unfinishedTasks -
Uses of UniqueId in org.junit.platform.launcher
Fields in org.junit.platform.launcher declared as UniqueIdModifier and TypeFieldDescriptionprivate UniqueIdTestIdentifier.parentIdprivate UniqueIdTestIdentifier.uniqueIdFields in org.junit.platform.launcher with type parameters of type UniqueIdModifier and TypeFieldDescriptionprivate final Map<UniqueId, TestIdentifier> TestPlan.allIdentifiersprivate final Map<UniqueId, Set<TestIdentifier>> TestPlan.childrenMethods 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.Constructors in org.junit.platform.launcher with parameters of type UniqueIdModifierConstructorDescriptionprivateTestIdentifier(UniqueId uniqueId, String displayName, TestSource source, Set<TestTag> tags, TestDescriptor.Type type, UniqueId parentId, String legacyReportingName) -
Uses of UniqueId in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core that return types with arguments of type UniqueIdModifier and TypeMethodDescriptionMethods in org.junit.platform.launcher.core with parameters of type UniqueIdModifier and TypeMethodDescriptionEngineDiscoveryOrchestrator.discover(LauncherDiscoveryRequest request, UniqueId parentId) Discovers tests for the supplied request in the supplied phase using the configured test engines to be used by the suite engine.voidDiscoveryIssueCollector.engineDiscoveryStarted(UniqueId engineId) InternalTestPlan.getChildren(UniqueId parentId) InternalTestPlan.getTestIdentifier(UniqueId uniqueId) voidDiscoveryIssueCollector.issueEncountered(UniqueId engineId, DiscoveryIssue issue) voidDiscoveryIssueCollector.selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) Method parameters in org.junit.platform.launcher.core with type arguments of type UniqueIdModifier and TypeMethodDescriptionprivate LauncherDiscoveryResultEngineDiscoveryOrchestrator.discover(LauncherDiscoveryRequest request, Optional<LauncherPhase> phase, Function<String, UniqueId> uniqueIdCreator) EngineDiscoveryOrchestrator.discoverEngineRoot(TestEngine testEngine, LauncherDiscoveryRequest request, DiscoveryIssueCollector issueCollector, Function<String, UniqueId> uniqueIdCreator) EngineDiscoveryOrchestrator.discoverSafely(LauncherDiscoveryRequest request, Optional<LauncherPhase> phase, DiscoveryIssueCollector issueCollector, Function<String, UniqueId> uniqueIdCreator) private String -
Uses of UniqueId in org.junit.platform.launcher.listeners.discovery
Methods in org.junit.platform.launcher.listeners.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionvoidAbortOnFailureLauncherDiscoveryListener.engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) voidCompositeLauncherDiscoveryListener.engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) voidLoggingLauncherDiscoveryListener.engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) voidCompositeLauncherDiscoveryListener.engineDiscoveryStarted(UniqueId engineId) voidLoggingLauncherDiscoveryListener.engineDiscoveryStarted(UniqueId engineId) voidCompositeLauncherDiscoveryListener.issueEncountered(UniqueId engineId, DiscoveryIssue issue) voidLoggingLauncherDiscoveryListener.issueEncountered(UniqueId engineId, DiscoveryIssue issue) voidCompositeLauncherDiscoveryListener.selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) voidLoggingLauncherDiscoveryListener.selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) -
Uses of UniqueId in org.junit.platform.runner
Methods in org.junit.platform.runner with parameters of type UniqueIdModifier and TypeMethodDescription(package private) voidJUnitPlatformTestTree.addDynamicDescription(TestIdentifier newIdentifier, UniqueId parentId) -
Uses of UniqueId in org.junit.platform.testkit.engine
Methods in org.junit.platform.testkit.engine with parameters of type UniqueIdModifier and TypeMethodDescriptionstatic org.assertj.core.api.Condition<Event> Create a newConditionthat matches if and only if the unique id of anEvent's test descriptor is equal to the suppliedUniqueId.Method parameters in org.junit.platform.testkit.engine with type arguments of type 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, org.junit.runner.Runner runner, boolean ignored) VintageEngineDescriptor(UniqueId uniqueId) (package private)VintageTestDescriptor(UniqueId uniqueId, org.junit.runner.Description description, String displayName, TestSource source) VintageTestDescriptor(UniqueId uniqueId, org.junit.runner.Description description, TestSource source) -
Uses of UniqueId in org.junit.vintage.engine.discovery
Fields in org.junit.vintage.engine.discovery declared as UniqueIdMethods in org.junit.vintage.engine.discovery with parameters of type UniqueIdModifier and TypeMethodDescriptionVintageDiscoverer.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) private org.junit.runner.manipulation.FilterMethodSelectorResolver.toUniqueIdFilter(RunnerTestDescriptor runnerTestDescriptor, UniqueId uniqueId) Constructors in org.junit.vintage.engine.discovery with parameters of type UniqueIdModifierConstructorDescription(package private)UniqueIdFilter(RunnerTestDescriptor runnerTestDescriptor, UniqueId uniqueId)