Uses of Class
org.junit.platform.engine.UniqueId
Packages that use UniqueId
Package
Description
Public API for test engines.
TestDescriptor-related support classes
intended to be used by test engine implementations and clients of
the launcher.-
Uses of UniqueId in org.junit.platform.engine
Methods in org.junit.platform.engine that return UniqueIdModifier and TypeMethodDescriptionConstruct a newUniqueIdby appending a newUniqueId.Segment, based on the suppliedsegmentTypeandvalue, to the end of thisUniqueId.UniqueId.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.