Uses of Interface
org.junit.platform.engine.CancellationToken
Packages that use CancellationToken
-
Uses of CancellationToken in org.junit.platform.engine
Methods in org.junit.platform.engine that return CancellationTokenModifier and TypeMethodDescriptionstatic CancellationTokenCancellationToken.create()Create a new, uncancelled cancellation token.static CancellationTokenCancellationToken.disabled()Get a new cancellation token that cannot be cancelled.ExecutionRequest.getCancellationToken()Returns theCancellationTokenfor this request for engines to check whether they should cancel execution.Methods in org.junit.platform.engine with parameters of type CancellationTokenModifier and TypeMethodDescriptionstatic ExecutionRequestExecutionRequest.create(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters, OutputDirectoryCreator outputDirectoryCreator, NamespacedHierarchicalStore<Namespace> requestLevelStore, CancellationToken cancellationToken) Factory for creating an execution request.