Package org.junit.platform.engine.support.hierarchical
@NullMarked
package org.junit.platform.engine.support.hierarchical
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction.-
ClassDescriptionDefault implementations of configuration strategies for parallel test execution.Marker interface for an execution context used by a concrete implementation of
HierarchicalTestEngineand its collaborators.An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.LockModetranslates to the respectiveReadWriteLocklocks.HierarchicalTestEngine<C extends EngineExecutionContext>Abstract base class for allTestEngineimplementations that wish to organize test suites hierarchically based on theNodeabstraction.A closeable service that executes test tasks.An executable task that represents a single test or container.Node<C extends EngineExecutionContext>A node within the execution hierarchy.Executor for additional, dynamic test descriptors discovered during execution of aNode.Supported execution modes for parallel execution.Node.Invocation<C extends EngineExecutionContext>Represents an invocation that runs with the supplied context.The result of determining whether the execution of a givencontextshould be skipped.Specialization ofThrowableCollectorthat treats instances ofTestAbortedExceptionas aborting.Configuration to use for parallel test execution.A strategy to use for configuring parallel test execution.A lock for a one or more resources.A simple executor service that executes all test tasks in the caller's thread.Simple component that can be used to collect one or more instances ofThrowable.Functional interface for an executable block of code that may throw aThrowable.Factory forThrowableCollectorinstances.