Uses of Class
org.junit.platform.engine.UniqueId
-
Packages that use UniqueId Package Description org.junit.jupiter.engine Core package for the JUnit Jupiter test engine.org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.org.junit.jupiter.engine.discovery Internal classes for test discovery within the JUnit Jupiter test engine.org.junit.platform.console.tasks Internal execution tasks for JUnit's console launcher.org.junit.platform.engine Public API for test engines.org.junit.platform.engine.discovery org.junit.platform.engine.support.descriptor TestDescriptor-related support classes intended to be used by test engine implementations and clients of the launcher.org.junit.platform.engine.support.discovery Configurable test discovery implementation that can be reused by different test engines.org.junit.platform.engine.support.hierarchical Support classes and base implementation for anyTestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction.org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.core Core support classes for theLauncherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder.org.junit.platform.launcher.listeners.discovery CommonLauncherDiscoveryListenerimplementations and factory methods.org.junit.platform.reporting.open.xml Support for generating Open Test Reporting compatible XML event reports.org.junit.platform.runner Runnerand annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment.org.junit.vintage.engine Core package for the JUnit Vintage test engine.org.junit.vintage.engine.descriptor Test descriptors used within the JUnit Vintage test engine.org.junit.vintage.engine.discovery 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 UniqueId Modifier and Type Method Description TestDescriptorJupiterTestEngine. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of UniqueId in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor with type parameters of type UniqueId Modifier and Type Field Description private java.util.Set<UniqueId>DynamicDescendantFilter. allowedUniqueIdsMethods in org.junit.jupiter.engine.descriptor with parameters of type UniqueId Modifier and Type Method Description voidDynamicDescendantFilter. allowUniqueIdPrefix(UniqueId uniqueId)private booleanDynamicDescendantFilter. isPrefixOrViceVersa(UniqueId currentUniqueId, UniqueId allowedUniqueId)private booleanDynamicDescendantFilter. isUniqueIdAllowed(UniqueId uniqueId)booleanDynamicDescendantFilter. test(UniqueId uniqueId, java.lang.Integer index)booleanDynamicDescendantFilter.WithoutIndexFiltering. test(UniqueId uniqueId, java.lang.Integer index)Constructors in org.junit.jupiter.engine.descriptor with parameters of type UniqueId Constructor Description ClassBasedTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.util.function.Supplier<java.lang.String> displayNameSupplier, JupiterConfiguration configuration)ClassTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, JupiterConfiguration configuration)DynamicContainerTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicContainer dynamicContainer, TestSource testSource, DynamicDescendantFilter dynamicDescendantFilter, JupiterConfiguration configuration)DynamicNodeTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicNode dynamicNode, TestSource testSource, JupiterConfiguration configuration)DynamicTestTestDescriptor(UniqueId uniqueId, int index, org.junit.jupiter.api.DynamicTest dynamicTest, TestSource source, JupiterConfiguration configuration)JupiterEngineDescriptor(UniqueId uniqueId, JupiterConfiguration configuration)JupiterTestDescriptor(UniqueId uniqueId, java.lang.reflect.AnnotatedElement element, java.util.function.Supplier<java.lang.String> displayNameSupplier, TestSource source, JupiterConfiguration configuration)JupiterTestDescriptor(UniqueId uniqueId, java.lang.String displayName, TestSource source, JupiterConfiguration configuration)MethodBasedTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod, JupiterConfiguration configuration)MethodBasedTestDescriptor(UniqueId uniqueId, java.lang.String displayName, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod, JupiterConfiguration configuration)NestedClassTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, JupiterConfiguration configuration)TestFactoryTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod, JupiterConfiguration configuration)TestMethodTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod, JupiterConfiguration configuration)TestMethodTestDescriptor(UniqueId uniqueId, java.lang.String displayName, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod, JupiterConfiguration configuration, InterceptingExecutableInvoker.ReflectiveInterceptorCall<java.lang.reflect.Method,java.lang.Void> interceptorCall)TestTemplateInvocationTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method templateMethod, org.junit.jupiter.api.extension.TestTemplateInvocationContext invocationContext, int index, JupiterConfiguration configuration)TestTemplateTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method templateMethod, JupiterConfiguration configuration) -
Uses of UniqueId in org.junit.jupiter.engine.discovery
Methods in org.junit.jupiter.engine.discovery that return UniqueId Modifier and Type Method Description private UniqueIdMethodSelectorResolver.MethodType. createUniqueId(java.lang.reflect.Method method, TestDescriptor parent)Methods in org.junit.jupiter.engine.discovery with parameters of type UniqueId Modifier and Type Method Description protected abstract TestDescriptorMethodSelectorResolver.MethodType. createTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method method, JupiterConfiguration configuration)private java.util.Optional<TestDescriptor>MethodSelectorResolver.MethodType. resolveUniqueIdIntoTestDescriptor(UniqueId uniqueId, SelectorResolver.Context context, JupiterConfiguration configuration) -
Uses of UniqueId in org.junit.platform.console.tasks
Fields in org.junit.platform.console.tasks with type parameters of type UniqueId Modifier and Type Field Description private java.util.Map<UniqueId,TreeNode>TreePrintingListener. nodesByUniqueIdMethods in org.junit.platform.console.tasks with parameters of type UniqueId Modifier and Type Method Description private java.util.List<java.lang.String>TestFeedPrintingListener. collectDisplayNames(UniqueId uniqueId) -
Uses of UniqueId in org.junit.platform.engine
Methods in org.junit.platform.engine that return UniqueId Modifier and Type Method Description UniqueIdUniqueId. append(java.lang.String segmentType, java.lang.String value)Construct a newUniqueIdby appending a newUniqueId.Segment, based on the suppliedsegmentTypeandvalue, to the end of thisUniqueId.UniqueIdUniqueId. append(UniqueId.Segment segment)UniqueIdUniqueId. appendEngine(java.lang.String engineId)Construct a newUniqueIdby appending a newUniqueId.Segment, based on the suppliedengineId, to the end of thisUniqueId.static UniqueIdUniqueId. forEngine(java.lang.String engineId)Create an engine's unique ID from itsengineIdusing the default format.UniqueIdTestDescriptor. getUniqueId()Get the unique identifier (UID) for this descriptor.static UniqueIdUniqueId. parse(java.lang.String uniqueId)Parse aUniqueIdfrom the supplied string representation using the default format.(package private) UniqueIdUniqueIdFormat. parse(java.lang.String source)Parse aUniqueIdfrom the supplied string representation.UniqueIdUniqueId. removeLastSegment()static UniqueIdUniqueId. root(java.lang.String segmentType, java.lang.String value)Create a root unique ID from the suppliedsegmentTypeandvalueusing the default format.Methods in org.junit.platform.engine with parameters of type UniqueId Modifier and Type Method Description TestDescriptorTestEngine. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId)Discover tests according to the suppliedEngineDiscoveryRequest.java.util.Optional<? extends TestDescriptor>TestDescriptor. findByUniqueId(UniqueId uniqueId)Find the descriptor with the supplied unique ID.(package private) java.lang.StringUniqueIdFormat. format(UniqueId uniqueId)Format and return the string representation of the suppliedUniqueId.booleanUniqueId. hasPrefix(UniqueId potentialPrefix)Determine 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
Fields in org.junit.platform.engine.discovery declared as UniqueId Modifier and Type Field Description private UniqueIdUniqueIdSelector. uniqueIdMethods in org.junit.platform.engine.discovery that return UniqueId Modifier and Type Method Description UniqueIdUniqueIdSelector. getUniqueId()Get the selectedUniqueId.Methods in org.junit.platform.engine.discovery with parameters of type UniqueId Modifier and Type Method Description static UniqueIdSelectorDiscoverySelectors. selectUniqueId(UniqueId uniqueId)Create aUniqueIdSelectorfor the suppliedUniqueId.Constructors in org.junit.platform.engine.discovery with parameters of type UniqueId Constructor Description UniqueIdSelector(UniqueId uniqueId) -
Uses of UniqueId in org.junit.platform.engine.support.descriptor
Fields in org.junit.platform.engine.support.descriptor declared as UniqueId Modifier and Type Field Description private UniqueIdAbstractTestDescriptor. uniqueIdMethods in org.junit.platform.engine.support.descriptor that return UniqueId Modifier and Type Method Description UniqueIdAbstractTestDescriptor. getUniqueId()Methods in org.junit.platform.engine.support.descriptor with parameters of type UniqueId Modifier and Type Method Description java.util.Optional<? extends TestDescriptor>AbstractTestDescriptor. findByUniqueId(UniqueId uniqueId)Constructors in org.junit.platform.engine.support.descriptor with parameters of type UniqueId Constructor Description AbstractTestDescriptor(UniqueId uniqueId, java.lang.String displayName)Create a newAbstractTestDescriptorwith the suppliedUniqueIdand display name.AbstractTestDescriptor(UniqueId uniqueId, java.lang.String displayName, TestSource source)Create a newAbstractTestDescriptorwith the suppliedUniqueId, display name, and source.EngineDescriptor(UniqueId uniqueId, java.lang.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 UniqueId Modifier and Type Field Description private java.util.Map<UniqueId,SelectorResolver.Match>EngineDiscoveryRequestResolution. resolvedUniqueIds -
Uses of UniqueId in org.junit.platform.engine.support.hierarchical
Fields in org.junit.platform.engine.support.hierarchical with type parameters of type UniqueId Modifier and Type Field Description private java.util.Map<UniqueId,NodeTestTask.DynamicTaskState>NodeTestTask.DefaultDynamicTestExecutor. unfinishedTasks -
Uses of UniqueId in org.junit.platform.launcher
Fields in org.junit.platform.launcher declared as UniqueId Modifier and Type Field Description private UniqueIdTestIdentifier. parentIdprivate UniqueIdTestIdentifier. uniqueIdFields in org.junit.platform.launcher with type parameters of type UniqueId Modifier and Type Field Description private java.util.Map<UniqueId,TestIdentifier>TestPlan. allIdentifiersprivate java.util.Map<UniqueId,java.util.Set<TestIdentifier>>TestPlan. childrenMethods in org.junit.platform.launcher that return UniqueId Modifier and Type Method Description UniqueIdTestIdentifier. 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 UniqueId Modifier and Type Method Description java.util.Optional<UniqueId>TestIdentifier. getParentIdObject()Get the unique ID of this identifier's parent as aUniqueId, if available.Methods in org.junit.platform.launcher with parameters of type UniqueId Modifier and Type Method Description default 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.java.util.Set<TestIdentifier>TestPlan. getChildren(UniqueId parentId)Get the children of the supplied unique ID.TestIdentifierTestPlan. getTestIdentifier(UniqueId uniqueId)Get theTestIdentifierwith the supplied unique ID.Constructors in org.junit.platform.launcher with parameters of type UniqueId Constructor Description TestIdentifier(UniqueId uniqueId, java.lang.String displayName, TestSource source, java.util.Set<TestTag> tags, TestDescriptor.Type type, UniqueId parentId, java.lang.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 UniqueId Modifier and Type Method Description private static java.util.List<UniqueId>EngineDiscoveryResultValidator. findPath(java.util.Map<UniqueId,java.util.Optional<UniqueId>> visited, UniqueId target)Methods in org.junit.platform.launcher.core with parameters of type UniqueId Modifier and Type Method Description LauncherDiscoveryResultEngineDiscoveryOrchestrator. 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.private static java.util.List<UniqueId>EngineDiscoveryResultValidator. findPath(java.util.Map<UniqueId,java.util.Optional<UniqueId>> visited, UniqueId target)java.util.Set<TestIdentifier>InternalTestPlan. getChildren(UniqueId parentId)TestIdentifierInternalTestPlan. getTestIdentifier(UniqueId uniqueId)Method parameters in org.junit.platform.launcher.core with type arguments of type UniqueId Modifier and Type Method Description private java.util.Map<TestEngine,TestDescriptor>EngineDiscoveryOrchestrator. discover(LauncherDiscoveryRequest request, EngineDiscoveryOrchestrator.Phase phase, java.util.function.Function<java.lang.String,UniqueId> uniqueIdCreator)private TestDescriptorEngineDiscoveryOrchestrator. discoverEngineRoot(TestEngine testEngine, LauncherDiscoveryRequest request, LauncherDiscoveryListener listener, java.util.function.Function<java.lang.String,UniqueId> uniqueIdCreator)private java.util.Map<TestEngine,TestDescriptor>EngineDiscoveryOrchestrator. discoverSafely(LauncherDiscoveryRequest request, EngineDiscoveryOrchestrator.Phase phase, LauncherDiscoveryListener listener, java.util.function.Function<java.lang.String,UniqueId> uniqueIdCreator)private static java.util.List<UniqueId>EngineDiscoveryResultValidator. findPath(java.util.Map<UniqueId,java.util.Optional<UniqueId>> visited, UniqueId target)private static java.util.List<UniqueId>EngineDiscoveryResultValidator. findPath(java.util.Map<UniqueId,java.util.Optional<UniqueId>> visited, UniqueId target)private java.lang.StringEngineDiscoveryResultValidator. formatted(java.util.List<UniqueId> path)Constructors in org.junit.platform.launcher.core with parameters of type UniqueId Constructor Description EngineDiscoveryErrorDescriptor(UniqueId uniqueId, TestEngine testEngine, java.lang.Throwable cause) -
Uses of UniqueId in org.junit.platform.launcher.listeners.discovery
Methods in org.junit.platform.launcher.listeners.discovery with parameters of type UniqueId Modifier and Type Method Description voidAbortOnFailureLauncherDiscoveryListener. 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)voidAbortOnFailureLauncherDiscoveryListener. selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)voidCompositeLauncherDiscoveryListener. selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)voidLoggingLauncherDiscoveryListener. selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) -
Uses of UniqueId in org.junit.platform.reporting.open.xml
Fields in org.junit.platform.reporting.open.xml with type parameters of type UniqueId Modifier and Type Field Description private java.util.Map<UniqueId,java.lang.String>OpenTestReportGeneratingListener. inProgressIds -
Uses of UniqueId in org.junit.platform.runner
Methods in org.junit.platform.runner with parameters of type UniqueId Modifier and Type Method Description (package private) voidJUnitPlatformTestTree. addDynamicDescription(TestIdentifier newIdentifier, UniqueId parentId) -
Uses of UniqueId in org.junit.vintage.engine
Methods in org.junit.vintage.engine with parameters of type UniqueId Modifier and Type Method Description TestDescriptorVintageTestEngine. 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 UniqueId Constructor Description RunnerTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, org.junit.runner.Runner runner, boolean ignored)VintageEngineDescriptor(UniqueId uniqueId)VintageTestDescriptor(UniqueId uniqueId, org.junit.runner.Description description, java.lang.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 UniqueId Modifier and Type Field Description private UniqueIdUniqueIdFilter. uniqueIdMethods in org.junit.vintage.engine.discovery with parameters of type UniqueId Modifier and Type Method Description VintageEngineDescriptorVintageDiscoverer. 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 UniqueId Constructor Description UniqueIdFilter(RunnerTestDescriptor runnerTestDescriptor, UniqueId uniqueId)
-