Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable. - ABORTED - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was aborted (started but not finished).
- AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
-
Abstract base implementation of
TestDescriptorthat may be used by customTestEngines. - AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptorwith the suppliedUniqueIdand display name. - AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptorwith the suppliedUniqueId, display name, and source. - accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Accept a
TestDescriptor.Visitorto the subtree starting with this descriptor. - acquire() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Acquire this resource lock, potentially blocking.
- adaptFilter(Filter<V>, Function<T, V>) - Static method in interface org.junit.platform.engine.Filter
-
Deprecated, for removal: This API element is subject to removal in a future version.
- addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Add a child to this descriptor.
- addClassContainerSelectorResolver(Predicate<Class<?>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a predefined resolver that resolves
ClasspathRootSelectors,ModuleSelectors, andPackageSelectorsintoClassSelectorsby scanning for classes that satisfy the supplied predicate in the respective class containers to this builder. - addClassContainerSelectorResolverWithContext(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, Predicate<Class<?>>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a predefined resolver that resolves
ClasspathRootSelectors,ModuleSelectors, andPackageSelectorsintoClassSelectorsby scanning for classes that satisfy the predicate created by the suppliedFunctionin the respective class containers to this builder. - addResourceContainerSelectorResolver(Predicate<Resource>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a predefined resolver that resolves
ClasspathRootSelectors,ModuleSelectors, andPackageSelectorsintoClasspathResourceSelectorsby scanning for resources that satisfy the supplied predicate in the respective class containers to this builder. - addSelectorResolver(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, SelectorResolver>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context sensitive
SelectorResolverto this builder. - addSelectorResolver(SelectorResolver) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context insensitive
SelectorResolverto this builder. - addTestDescriptorVisitor(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, TestDescriptor.Visitor>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context sensitive
TestDescriptor.Visitorto this builder. - addToParent(Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Add a
TestDescriptorto an unspecified parent, usually the engine descriptor, by applying the suppliedFunctionto the new parent. - addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Add a
TestDescriptorto a parent, specified by theDiscoverySelectorreturned by the suppliedSupplier, by applying the suppliedFunctionto the new parent. - after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the after behavior of this node.
- alwaysSatisfied() - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
-
Create a
DiscoveryIssueReporter.Conditionthat is always satisfied. - and(DiscoveryIssueReporter.Condition<? super T>) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
-
Return a composed condition that represents a logical AND of this and the supplied condition.
- append(Object...) - Method in class org.junit.platform.engine.support.store.Namespace
-
Create a new namespace by appending the supplied
partsto the existing sequence of parts in this namespace. - append(String, String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueIdby appending a newUniqueId.Segment, based on the suppliedsegmentTypeandvalue, to the end of thisUniqueId. - append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
- appendEngine(String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueIdby appending a newUniqueId.Segment, based on the suppliedengineId, to the end of thisUniqueId. - apply(T) - Method in interface org.junit.platform.engine.Filter
-
Apply this filter to the supplied object.
- around(C, Node.Invocation<C>) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Wraps around the invocation of
Node.before(EngineExecutionContext),Node.execute(EngineExecutionContext, DynamicTestExecutor), andNode.after(EngineExecutionContext). - assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Assert that this
ThrowableCollectoris empty (i.e., has not collected anyThrowables). - awaitFinished() - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Block until all dynamic test descriptors submitted to this executor are finished.
B
- before(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the before behavior of this node.
- build() - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Build the
DiscoveryIssue. - build() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Build the
EngineDiscoveryRequestResolverthat has been configured via this builder. - builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Create a new
EngineDiscoveryRequestResolver.Builderfor creating aEngineDiscoveryRequestResolver. - builder(DiscoveryIssue.Severity, String) - Static method in interface org.junit.platform.engine.DiscoveryIssue
-
Create a new
DiscoveryIssue.Builderfor creating aDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.
C
- cause() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the cause of this issue.
- cause(Throwable) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
Throwablethat caused theDiscoveryIssue. - cause(Optional<Throwable>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
Throwablethat caused theDiscoveryIssue. - check(T) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
-
Evaluate this condition to potentially report an issue.
- children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
The synchronized set of children associated with this
TestDescriptor. - CLASS_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClassSource
- ClassNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilterthat is applied to the name of aClass. - CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects the name of a classpath resource so thatTestEnginescan load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs. - ClasspathResourceSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
-
Classpath resource based
TestSourcewith an optional position. - ClasspathRootSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a classpath root so thatTestEnginescan search for class files or resources within the physical classpath — for example, to scan for test classes. - ClasspathRootSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- ClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aClassor class name so thatTestEnginescan discover tests or containers based on classes. - ClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- ClassSource - Class in org.junit.platform.engine.support.descriptor
-
Class based
TestSourcewith an optional file position. - cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Clean up the supplied
contextafter execution. - clone() - Method in class org.junit.platform.engine.UniqueId
- close() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- close() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Close this service and let it perform any required cleanup work.
- close() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
- close() - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- close() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
If a
NamespacedHierarchicalStore.CloseActionis configured, it will be called with all successfully stored values in reverse insertion order. - close(N, Object, Object) - Method in interface org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CloseAction
-
Close the supplied
value. - closeAutoCloseables() - Static method in interface org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CloseAction
- collecting(Collection<? super DiscoveryIssue>) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a new
DiscoveryIssueReporterthat adds reported issues to the supplied collection. - composeFilters(Collection<? extends Filter<T>>) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied collection of
filtersinclude it. - composeFilters(Filter<T>...) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied array of
filtersinclude it. - composite(TestDescriptor.Visitor...) - Static method in interface org.junit.platform.engine.TestDescriptor.Visitor
-
Combine the supplied
visitorsinto a singleVisitor. - CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
-
A
CompositeTestSourcecontains one or moreTestSources. - CONCURRENT - Enum constant in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Allow concurrent execution with any other node.
- CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to specify the fully qualified class name of the
ParallelExecutionConfigurationStrategyto be used by theDefaultParallelExecutionConfigurationStrategy.CUSTOMconfiguration strategy. - CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name of the factor used to determine the desired parallelism for the
DefaultParallelExecutionConfigurationStrategy.DYNAMICconfiguration strategy. - CONFIG_DYNAMIC_MAX_POOL_SIZE_FACTOR_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name of the factor used to determine the maximum pool size of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.DYNAMICconfiguration strategy. - CONFIG_DYNAMIC_SATURATE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to disable saturation of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.DYNAMICconfiguration strategy. - CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
-
Name of the JUnit Platform configuration file: "junit-platform.properties".
- CONFIG_FIXED_MAX_POOL_SIZE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to configure the maximum pool size of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.FIXEDconfiguration strategy. - CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired parallelism for the
DefaultParallelExecutionConfigurationStrategy.FIXEDconfiguration strategy. - CONFIG_FIXED_SATURATE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to disable saturation of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.FIXEDconfiguration strategy. - CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired configuration strategy.
- ConfigurationParameters - Interface in org.junit.platform.engine
-
Configuration parameters that
TestEnginesmay use to influence test discovery and execution. - consuming(Consumer<? super DiscoveryIssue>) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a new
DiscoveryIssueReporterthat adds reported issues to the supplied consumer. - CONTAINER - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a container. - CONTAINER_AND_TEST - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a test that may potentially also be a container. - containsTests(TestDescriptor) - Static method in interface org.junit.platform.engine.TestDescriptor
-
Determine if the supplied descriptor (or any of its descendants) is a test or may potentially register tests dynamically.
- create() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Factory
-
Create a new instance of a
ThrowableCollector. - create(Object...) - Static method in class org.junit.platform.engine.support.store.Namespace
-
Create a namespace which restricts access to data to all extensions which use the same sequence of
partsfor creating a namespace. - create(String) - Static method in class org.junit.platform.engine.TestTag
-
Create a
TestTagfrom the suppliedname. - create(String, String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Create a new
DiscoverySelectorIdentifierwith the supplied prefix and value. - create(List<Object>) - Static method in class org.junit.platform.engine.support.store.Namespace
-
Create a namespace which restricts access to data to all extensions which use the same sequence of
objectsfor creating a namespace. - create(DiscoveryIssue.Severity, String) - Static method in interface org.junit.platform.engine.DiscoveryIssue
-
Create a new
DiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message. - create(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Static method in class org.junit.platform.engine.ExecutionRequest
-
Deprecated.without replacement
- create(TestDescriptor, EngineExecutionListener, ConfigurationParameters, OutputDirectoryProvider, NamespacedHierarchicalStore<Namespace>) - Static method in class org.junit.platform.engine.ExecutionRequest
-
Factory for creating an execution request.
- createConfiguration(ConfigurationParameters) - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfigurationStrategy
-
Create a configuration for parallel test execution based on the supplied
ConfigurationParameters. - createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the initial execution context for executing the supplied request.
- createExecutorService(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the executor service to use for executing the supplied request.
- createOutputDirectory(TestDescriptor) - Method in interface org.junit.platform.engine.reporting.OutputDirectoryProvider
-
Create an output directory for the supplied test descriptor.
- createReportingCondition(Predicate<T>, Function<T, DiscoveryIssue>) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a
DiscoveryIssueReporter.Conditionthat reports aDiscoveryIssuewhen the suppliedPredicateis not met. - createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the factory for creating
ThrowableCollectorinstances used to handle exceptions that occur during execution of this engine's tests. - CUSTOM - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Allows the specification of a custom
ParallelExecutionConfigurationStrategyimplementation via the mandatory "custom.class" configuration parameter to determine the desired configuration.
D
- deduplicating(DiscoveryIssueReporter) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a new
DiscoveryIssueReporterthat avoids reporting duplicate issues. - DefaultParallelExecutionConfigurationStrategy - Enum Class in org.junit.platform.engine.support.hierarchical
-
Default implementations of configuration strategies for parallel test execution.
- DirectorySelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a directory so thatTestEnginescan discover tests or containers based on directories in the file system. - DirectorySelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- DirectorySource - Class in org.junit.platform.engine.support.descriptor
-
Directory based
TestSource. - discover(EngineDiscoveryRequest, UniqueId) - Method in interface org.junit.platform.engine.TestEngine
-
Discover tests according to the supplied
EngineDiscoveryRequest. - DiscoveryFilter<T> - Interface in org.junit.platform.engine
-
A
DiscoveryFilteris applied during test discovery to determine if a given container or test should be included in the test plan. - DiscoveryIssue - Interface in org.junit.platform.engine
-
DiscoveryIssuerepresents an issue that was encountered during test discovery by aTestEngine. - DiscoveryIssue.Builder - Interface in org.junit.platform.engine
-
Builder for creating a
DiscoveryIssue. - DiscoveryIssue.Severity - Enum Class in org.junit.platform.engine
-
The severity of a
DiscoveryIssue. - DiscoveryIssueReporter - Interface in org.junit.platform.engine.support.discovery
-
DiscoveryIssueReporterdefines the API for reportingDiscoveryIssues. - DiscoveryIssueReporter.Condition<T> - Interface in org.junit.platform.engine.support.discovery
- DiscoverySelector - Interface in org.junit.platform.engine
-
A selector defines what a
TestEnginecan use to discover tests — for example, the name of a Java class, the path to a file or directory, etc. - DiscoverySelectorIdentifier - Class in org.junit.platform.engine
-
Identifier for a
DiscoverySelectorwith a specific prefix. - DiscoverySelectorIdentifierParser - Interface in org.junit.platform.engine.discovery
-
Parser for a
DiscoverySelectorIdentifierwith a specific prefix. - DiscoverySelectorIdentifierParser.Context - Interface in org.junit.platform.engine.discovery
-
Context for parsing
DiscoverySelectorIdentifiers. - DiscoverySelectors - Class in org.junit.platform.engine.discovery
-
Collection of
staticfactory methods for creatingDiscoverySelectors. - doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating do not skip results.
- DYNAMIC - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Computes the desired parallelism based on the number of available processors/cores multiplied by the "dynamic.factor" configuration parameter.
- dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when a new, dynamic
TestDescriptorhas been registered.
E
- EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
- EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Create a new
EngineDescriptorwith the suppliedUniqueIdand display name. - EngineDiscoveryListener - Interface in org.junit.platform.engine
-
EngineDiscoveryListenercontainsTestEngineaccess to the information necessary to discover tests and containers. - EngineDiscoveryRequest - Interface in org.junit.platform.engine
-
EngineDiscoveryRequestprovides aTestEngineaccess to the information necessary to discover tests and containers. - EngineDiscoveryRequestResolver<T> - Class in org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation based on
SelectorResolverandTestDescriptor.Visitorthat can be reused by differentTestEngines. - EngineDiscoveryRequestResolver.Builder<T> - Class in org.junit.platform.engine.support.discovery
-
Builder for
EngineDiscoveryRequestResolver. - EngineDiscoveryRequestResolver.InitializationContext<T> - Interface in org.junit.platform.engine.support.discovery
-
The initialization context for creating resolvers and visitors that depend on the
EngineDiscoveryRequestto be resolved or the engine descriptor that will be used to collect the results. - EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
-
Marker interface for an execution context used by a concrete implementation of
HierarchicalTestEngineand its collaborators. - EngineExecutionListener - Interface in org.junit.platform.engine
-
Listener to be notified of test execution events by test engines.
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.DirectorySelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.discovery.FileSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.IterationSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.MethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ModuleSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.PackageSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UriSelector
- equals(Object) - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- equals(Object) - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- equals(Object) - Method in class org.junit.platform.engine.support.store.Namespace
- equals(Object) - Method in class org.junit.platform.engine.TestTag
- equals(Object) - Method in class org.junit.platform.engine.UniqueId
- equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
- ERROR - Enum constant in enum class org.junit.platform.engine.DiscoveryIssue.Severity
-
Indicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.
- exact(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match without any children.
- exact(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match with potential children.
- excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new exclude
ClassNameFilterbased on the supplied patterns. - excluded() - Method in class org.junit.platform.engine.FilterResult
- excluded(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating excluded results.
- excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilterbased on the supplied package names. - excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilterbased on the supplied package names. - ExclusiveResource - Class in org.junit.platform.engine.support.hierarchical
-
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.
- ExclusiveResource(String, ExclusiveResource.LockMode) - Constructor for class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Create a new
ExclusiveResource. - ExclusiveResource.LockMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
LockModetranslates to the respectiveReadWriteLocklocks. - execute() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Execute this task.
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
-
Execute this executable, potentially throwing a
Throwablethat signals abortion or failure. - execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the behavior of this node.
- execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create an executor service; create an initial execution context; execute the behavior of all nodes in the hierarchy starting with the supplied
request's root and notify its execution listener of test execution events. - execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
-
Execute tests according to the supplied
ExecutionRequest. - execute(ThrowableCollector.Executable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Execute the supplied
ThrowableCollector.Executableand collect anyThrowablethrown during the execution. - execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution.
- execute(TestDescriptor, EngineExecutionListener) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
- executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
- ExecutionRequest - Class in org.junit.platform.engine
-
Provides a single
TestEngineaccess to the information necessary to execute its tests. - ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
-
Deprecated.
- executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
- executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
- expand() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Expand this match in order to resolve the children of the contained
TestDescriptor.
F
- failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResultfor a failed execution of a test or container with the suppliedthrowable. - failed(Throwable) - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor a failed selector resolution. - FAILED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginehas encountered an error while resolving the selector. - FAILED - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container failed.
- FileEntry - Class in org.junit.platform.engine.reporting
-
FileEntryencapsulates a file or directory to be published to the reporting infrastructure. - fileEntryPublished(TestDescriptor, FileEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Can be called for any
TestDescriptorin order to attach a file to a test or container — for example: Screenshots Logs Output files written by the code under test - FilePosition - Class in org.junit.platform.engine.discovery
- FilePosition - Class in org.junit.platform.engine.support.descriptor
- FileSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a file so thatTestEnginescan discover tests or containers based on files in the file system. - FileSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- FileSource - Class in org.junit.platform.engine.support.descriptor
-
File based
TestSourcewith an optional position. - FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
-
File system based
TestSource. - Filter<T> - Interface in org.junit.platform.engine
-
A
Filtercan be applied to determine if an object should be included or excluded in a result set. - FilterResult - Class in org.junit.platform.engine
-
The result of applying a
Filter. - findByUniqueId(UniqueId) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- findByUniqueId(UniqueId) - Method in interface org.junit.platform.engine.TestDescriptor
-
Find the descriptor with the supplied unique ID.
- FIXED - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Uses the mandatory "fixed.parallelism" configuration parameter as the desired parallelism.
- forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
-
Create an engine's unique ID from its
engineIdusing the default format. - ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorServicebased on the suppliedConfigurationParameters. - ForkJoinPoolHierarchicalTestExecutorService(ParallelExecutionConfiguration) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorServicebased on the suppliedParallelExecutionConfiguration. - forwarding(EngineDiscoveryListener, UniqueId) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a new
DiscoveryIssueReporterthat reports issues to the suppliedEngineDiscoveryListenerfor the specified engine. - from(int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePositionusing the suppliedlinenumber and an undefined column number. - from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlinenumber and an undefined column number. - from(int, int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePositionusing the suppliedlineandcolumnnumbers. - from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlineandcolumnnumbers. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Create a new
DirectorySourceusing the supplied directory. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
-
Create a new
FileSourceusing the suppliedfile. - from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
- from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class. - from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
- from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
- from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the supplied JavaPackage. - from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the suppliedmethod. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourceusing the supplied classpath resource name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the suppliedpackageName. - from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a key-value pair. - from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the supplied class name and method name. - from(String, String, Class<?>...) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the supplied class name, method name, and method parameter types. - from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the supplied class name, method name, and method parameter types. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourceusing the supplied classpath resource name andFilePosition. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class name and file position. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourcefrom the suppliedURI. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourcefrom the suppliedURI. - from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Create a new
UriSourceusing the suppliedURI. - from(Path, String) - Static method in class org.junit.platform.engine.reporting.FileEntry
-
Factory for creating a new
FileEntryfrom the supplied path and media type. - from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Create a new
CompositeTestSourcebased on the supplied collection ofsources. - from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a map of key-value pairs. - fromQuery(String) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create an optional
FilePositionby parsing the suppliedquerystring. - fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create an optional
FilePositionby parsing the suppliedquerystring.
G
- get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the configuration parameter stored under the specified
key. - get(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- get(String, Function<? super String, ? extends T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get and transform the configuration parameter stored under the specified
keyusing the specifiedtransformer. - get(String, Function<? super String, ? extends T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- get(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present.
- get(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, and cast it to the supplied required type.
- getAncestors() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all ancestors of this descriptor.
- getArtifactId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Artifact ID of the JAR in which this test engine is packaged.
- getBoolean(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the boolean configuration parameter stored under the specified
key. - getBoolean(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- getChildren() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getChildren() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of children of this descriptor.
- getClassLoader() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the
ClassLoaderused to load the selected class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the
ClassLoaderused to load the specified class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the
ClassLoaderused to load the selected nested class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the
ClassLoaderused to load the nested class. - getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the class name of this source.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the class name of this source.
- getClassNameFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the class name filter built from the
ClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved. - getClasspathResourceName() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the name of the selected classpath resource.
- getClasspathResourceName() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the name of the source classpath resource.
- getClasspathResources() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the selected
resources. - getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
-
Get the selected classpath root directory as an
URI. - getColumn() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the column number of this
FilePosition, if available. - getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the column number of this
FilePosition, if available. - getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
ConfigurationParametersfor this request. - getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
ConfigurationParametersthat the engine may use to influence test execution. - getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the core thread pool size to be used.
- getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all descendants of this descriptor.
- getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a
File. - getDiscoveryListener() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
EngineDiscoveryListenerfor this request. - getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the
EngineDiscoveryRequestthat is about to be resolved. - getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the display name for this descriptor.
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the names of the classes enclosing the selected nested class.
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of the classes enclosing the nested class containing the selected method.
- getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the engine's
TestDescriptorthat will be used to collect the results. - getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
EngineExecutionListenerto be notified of test execution events. - getEngineId() - Method in class org.junit.platform.engine.UniqueId
-
Get the engine ID stored in this
UniqueId, if available. - getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the set of exclusive resources required to execute this node.
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the execution mode of this task.
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the preferred of execution mode for parallel execution of this node.
- getFile() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a
File. - getFile() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Get the source directory.
- getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the source file.
- getFile() - Method in interface org.junit.platform.engine.support.descriptor.FileSystemSource
-
Get the source file or directory.
- getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoveryFiltersfor this request, filtered by a particular type. - getGroupId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Group ID of the JAR in which this test engine is packaged.
- getId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the ID that uniquely identifies this test engine.
- getIssueReporter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Returns the
DiscoveryIssueReporterfor the current resolution. - getIterationIndices() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected iteration indices.
- getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected
Class. - getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the Java class of this source.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java class of this source.
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected
Method. - getJavaMethod() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java method of this source.
- getKeepAliveSeconds() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
- getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the key of this resource.
- getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get an unmodifiable copy of the map of key-value pairs to be published.
- getLastSegment() - Method in class org.junit.platform.engine.UniqueId
-
Get the last
UniqueId.Segmentof thisUniqueId. - getLegacyReportingName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
- getLine() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the line number of this
FilePosition. - getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the line number of this
FilePosition. - getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the lock mode of this resource.
- getMatches() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the matches contained by this resolution.
- getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the maximum thread pool size to be used.
- getMediaType() - Method in class org.junit.platform.engine.reporting.FileEntry
-
Get the media type of the path to be published.
- getMethod() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the selected
Method. - getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected method name.
- getMethodName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the selected method.
- getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method name of this source.
- getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method parameter types of this source.
- getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the minimum number of runnable threads to be used.
- getModuleName() - Method in class org.junit.platform.engine.discovery.ModuleSelector
-
Get the selected module name.
- getName() - Method in class org.junit.platform.engine.TestTag
-
Get the name of this tag.
- getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the selected nested
Class. - getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the name of the selected nested class.
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the nested class containing the selected method.
- getOrComputeIfAbsent(N, K, Function<? super K, ? extends V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it.
- getOrComputeIfAbsent(N, K, Function<? super K, ? extends V>, Class<V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it and, finally, cast it to the supplied required type.
- getOutputDirectoryProvider() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
OutputDirectoryProviderfor this request. - getOutputDirectoryProvider() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
OutputDirectoryProviderfor this request for writing reports and other output files. - getPackageFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the package name filter built from the
PackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved. - getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
-
Get the selected package name.
- getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Get the package name of this test source.
- getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the parallelism to be used.
- getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the names of parameter types for the selected method as a
String, typically a comma-separated list of primitive types, fully qualified class names, or array types. - getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of parameter types for the selected method as a
String. - getParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the parameter types for the selected method.
- getParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the parameter types for the selected method.
- getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getParent() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Returns the parent store of this
NamespacedHierarchicalStore. - getParent() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the parent of this descriptor, if available.
- getParentSelector() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected parent
DiscoverySelector. - getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
- getPath() - Method in class org.junit.platform.engine.reporting.FileEntry
-
Get the path to be published.
- getPosition() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the selected
FilePositionwithin the classpath resource. - getPosition() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected position within the file as a
FilePosition. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the
FilePosition, if available. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
FilePosition, if available. - getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
- getPrefix() - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
-
Get the prefix that this parser supports.
- getPrefix() - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Get the prefix of this identifier.
- getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a raw path.
- getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a raw path.
- getReason() - Method in class org.junit.platform.engine.FilterResult
-
Get the reason why the filtered object should be included or excluded, if available.
- getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Get the reason that execution of the context should be skipped, if available.
- getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the resource lock of this task.
- getResources() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Returns the exclusive resources this lock represents.
- getRootDirectory() - Method in interface org.junit.platform.engine.reporting.OutputDirectoryProvider
-
Returns the root directory for all output files; never
null. - getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the root
TestDescriptorof the engine that processes this request. - getSaturatePredicate() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the saturate predicate to be used for the execution's
ForkJoinPool. - getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get the immutable list of segments that make up this
UniqueId. - getSelectors() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the selectors contained by this resolution.
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoverySelectorsfor this request, filtered by a particular type. - getSource() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getSource() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the source of the test or container described by this descriptor, if available.
- getSources() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Get an immutable list of the sources stored in this
CompositeTestSource. - getStatus() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the status of this result.
- getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the status of this result.
- getStore() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
NamespacedHierarchicalStorefor this request for storing request-scoped data. - getTags() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getTags() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the set of tags associated with this descriptor.
- getTestDescriptor() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Get the contained
TestDescriptor. - getThrowable() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the throwable that caused this result, if available.
- getThrowable() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Get the first
Throwablecollected by thisThrowableCollector. - getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the throwable that caused this result, if available.
- getTimestamp() - Method in class org.junit.platform.engine.reporting.FileEntry
-
Get the timestamp for when this
FileEntrywas created. - getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get the timestamp for when this
ReportEntrywas created. - getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Returns
TestDescriptor.Type.CONTAINER. - getType() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine the
TestDescriptor.Typeof this descriptor. - getType() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the type of this segment.
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
Get the selected
UniqueId. - getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
-
Get the selected
URI. - getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Get the
URIthat represents this source. - getValue() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Get the value of this identifier.
- getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the value of this segment.
- getVersion() - Method in interface org.junit.platform.engine.TestEngine
-
Get the version of this test engine.
- GLOBAL - Static variable in class org.junit.platform.engine.support.store.Namespace
-
The default, global namespace which allows access to stored data from all extensions.
- GLOBAL_KEY - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Key of the global resource lock that all direct children of the engine descriptor acquire in read mode by default: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
H
- hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ClassSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- hashCode() - Method in class org.junit.platform.engine.discovery.FilePosition
- hashCode() - Method in class org.junit.platform.engine.discovery.FileSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.IterationSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.MethodSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ModuleSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.PackageSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.UriSelector
- hashCode() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- hashCode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- hashCode() - Method in class org.junit.platform.engine.support.store.Namespace
- hashCode() - Method in class org.junit.platform.engine.TestTag
- hashCode() - Method in class org.junit.platform.engine.UniqueId
- hashCode() - Method in class org.junit.platform.engine.UniqueId.Segment
- hasPrefix(UniqueId) - Method in class org.junit.platform.engine.UniqueId
-
Determine if the supplied
UniqueIdis a prefix for thisUniqueId. - HierarchicalTestEngine<C> - Class in org.junit.platform.engine.support.hierarchical
-
Abstract base class for all
TestEngineimplementations that wish to organize test suites hierarchically based on theNodeabstraction. - HierarchicalTestEngine() - Constructor for class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
- HierarchicalTestExecutorService - Interface in org.junit.platform.engine.support.hierarchical
-
A closeable service that executes test tasks.
- HierarchicalTestExecutorService.TestTask - Interface in org.junit.platform.engine.support.hierarchical
-
An executable task that represents a single test or container.
I
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
- IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
- includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new include
ClassNameFilterbased on the supplied patterns. - included() - Method in class org.junit.platform.engine.FilterResult
- included(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating included results.
- includedIf(boolean) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating filter results based on the condition given.
- includedIf(boolean, Supplier<String>, Supplier<String>) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating filter results based on the condition given.
- includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilterbased on the supplied package names. - includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilterbased on the supplied package names. - INFO - Enum constant in enum class org.junit.platform.engine.DiscoveryIssue.Severity
-
Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.
- invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
-
Invoke this invocation with the supplied context.
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Invoke all supplied test tasks and block until their execution has finished.
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- isClosed() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Determine if this store has been closed.
- isCompatible(ResourceLock) - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Returns whether the given lock is compatible with this lock.
- isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a container.
- isContainer() - Method in enum class org.junit.platform.engine.TestDescriptor.Type
- isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollectoris empty (i.e., has not collected anyThrowables). - isExact() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Whether this match is exact.
- isExclusive() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Returns whether this lock requires exclusiveness.
- isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollectoris not empty (i.e., has collected at least oneThrowable). - isResolved() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Whether this resolution contains matches or selectors.
- isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor is a root descriptor.
- isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Whether execution of the context should be skipped.
- issueEncountered(UniqueId, DiscoveryIssue) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
-
Called when the engine with the supplied
engineIdencountered an issue during test discovery. - isTest() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a test.
- isTest() - Method in enum class org.junit.platform.engine.TestDescriptor.Type
- isValid(String) - Static method in class org.junit.platform.engine.TestTag
-
Determine if the supplied tag name is valid with regard to the supported syntax for tags.
- IterationSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects the iterations of a parentDiscoverySelectorvia their indices so thatTestEnginescan discover a subset of the iterations of tests or containers. - IterationSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
K
- keySet() - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the keys of all configuration parameters stored in this
ConfigurationParameters. - keySet() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
M
- match(SelectorResolver.Match) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Match. - matches(Set<SelectorResolver.Match>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Matches. - mayRegisterTests() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor may register dynamic tests during execution.
- message() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the message of this issue.
- MethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aMethodor a combination of class name, method name, and parameter types so thatTestEnginescan discover tests or containers based on methods. - MethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- MethodSource - Class in org.junit.platform.engine.support.descriptor
-
Method based
TestSource. - ModuleSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a module name so thatTestEnginescan discover tests or containers based on modules. - ModuleSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
N
- Namespace - Class in org.junit.platform.engine.support.store
-
A
Namespaceis used to provide a scope for data saved by extensions within aNamespacedHierarchicalStore. - NamespacedHierarchicalStore<N> - Class in org.junit.platform.engine.support.store
-
NamespacedHierarchicalStoreis a hierarchical, namespaced key-value store. - NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent.
- NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>, NamespacedHierarchicalStore.CloseAction<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent and close action.
- NamespacedHierarchicalStore.CloseAction<N> - Interface in org.junit.platform.engine.support.store
-
Called for each successfully stored non-null value in the store when a
NamespacedHierarchicalStoreis closed. - NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
-
Exception thrown by failed
NamespacedHierarchicalStoreoperations. - NamespacedHierarchicalStoreException(String) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- NamespacedHierarchicalStoreException(String, Throwable) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- NestedClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedClassor class name enclosed in other classes so thatTestEnginescan discover tests or containers based on classes. - NestedClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedMethodor a combination of enclosing class names, class name, method name, and parameter types so thatTestEnginescan discover tests or containers based on methods. - NestedMethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- newChild() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a child store with this store as its parent and this store's close action.
- Node<C> - Interface in org.junit.platform.engine.support.hierarchical
-
A node within the execution hierarchy.
- Node.DynamicTestExecutor - Interface in org.junit.platform.engine.support.hierarchical
-
Executor for additional, dynamic test descriptors discovered during execution of a
Node. - Node.ExecutionMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
Supported execution modes for parallel execution.
- Node.Invocation<C> - Interface in org.junit.platform.engine.support.hierarchical
-
Represents an invocation that runs with the supplied context.
- Node.SkipResult - Class in org.junit.platform.engine.support.hierarchical
-
The result of determining whether the execution of a given
contextshould be skipped. - nodeFinished(C, TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has finished.
- nodeSkipped(C, TestDescriptor, Node.SkipResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has been skipped.
- NOOP - Static variable in interface org.junit.platform.engine.EngineDiscoveryListener
-
No-op implementation of
EngineDiscoveryListener - NOOP - Static variable in interface org.junit.platform.engine.EngineExecutionListener
-
No-op implementation of
EngineExecutionListener
O
- OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Specialization of
ThrowableCollectorthat treats instances ofTestAbortedExceptionas aborting. - OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
- orderChildren(UnaryOperator<List<TestDescriptor>>) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Order the children of this descriptor.
- orderChildren(UnaryOperator<List<TestDescriptor>>) - Method in interface org.junit.platform.engine.TestDescriptor
-
Order the children of this descriptor.
- org.junit.platform.engine - module org.junit.platform.engine
-
Public API for test engines.
- org.junit.platform.engine - package org.junit.platform.engine
-
Public API for test engines.
- org.junit.platform.engine.discovery - package org.junit.platform.engine.discovery
- org.junit.platform.engine.reporting - package org.junit.platform.engine.reporting
-
Classes used by test engines to report additional data to execution listeners.
- org.junit.platform.engine.support.config - package org.junit.platform.engine.support.config
-
ConfigurationParameters-related support classes intended to be used by test engine implementations. - org.junit.platform.engine.support.descriptor - package 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 - package org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation that can be reused by different test engines.
- org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
-
Support classes and base implementation for any
TestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction. - org.junit.platform.engine.support.store - package org.junit.platform.engine.support.store
-
Reusable data structures for test engines and their extensions.
- OutputDirectoryProvider - Interface in org.junit.platform.engine.reporting
-
Provider of output directories for test engines to write reports and other output files to.
P
- PackageNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilterthat is applied to the name of aPackage. - PackageSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a package name so thatTestEnginescan discover tests or containers based on packages. - PackageSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- PackageSource - Class in org.junit.platform.engine.support.descriptor
-
Package based
TestSource. - ParallelExecutionConfiguration - Interface in org.junit.platform.engine.support.hierarchical
-
Configuration to use for parallel test execution.
- ParallelExecutionConfigurationStrategy - Interface in org.junit.platform.engine.support.hierarchical
-
A strategy to use for configuring parallel test execution.
- parse(String) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser.Context
-
Parse the supplied selector.
- parse(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied string representation of a
DiscoverySelectorIdentifier. - parse(String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Parse the supplied string representation of a
DiscoverySelectorIdentifierin the formatprefix:value. - parse(String) - Static method in class org.junit.platform.engine.UniqueId
-
Parse a
UniqueIdfrom the supplied string representation using the default format. - parse(DiscoverySelectorIdentifier) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied
DiscoverySelectorIdentifier. - parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
-
Parse the supplied
DiscoverySelectorIdentifier. - parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
- parseAll(String...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied string representations of
DiscoverySelectorIdentifiers. - parseAll(Collection<DiscoverySelectorIdentifier>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied
DiscoverySelectorIdentifiers. - partial(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match without any children.
- partial(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match with potential children.
- PREFIX - Static variable in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
-
View of
ConfigurationParametersthat applies a supplied prefix to all queries. - PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
-
Create a new view of the supplied
ConfigurationParametersthat applies the supplied prefix to all queries. - prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Prepare the supplied
contextprior to execution. - prune() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this descriptor from the hierarchy unless it is a root or contains tests.
- put(N, Object, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Put the supplied value for the supplied namespace and key into this store and return the previously associated value in this store.
R
- READ - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Require only read access to the resource.
- READ_WRITE - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Require read and write access to the resource.
- release() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Release this resource lock.
- remove(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Remove the value stored for the supplied namespace and key from this store.
- remove(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Remove the value stored for the supplied namespace and key from this store and cast it to the supplied required type.
- removeChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove a child from this descriptor.
- removeFromHierarchy() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeFromHierarchy() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this non-root descriptor from its parent and remove all the children from this descriptor.
- removeLastSegment() - Method in class org.junit.platform.engine.UniqueId
- ReportEntry - Class in org.junit.platform.engine.reporting
-
ReportEntryencapsulates a time-stamped map ofString-based key-value pairs to be published to the reporting infrastructure. - reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Can be called for any
TestDescriptorin order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go toSystem.outInformation about test context or test data - reportIssue(DiscoveryIssue) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Report the supplied
DiscoveryIssue. - reportIssue(DiscoveryIssue.Builder) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Build the supplied
Builderand report the resultingDiscoveryIssue. - RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
-
Reserved characters that are not permissible as part of a tag name.
- resolve(ClasspathResourceSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathResourceSelectorusing the suppliedContext. - resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathRootSelectorusing the suppliedContext. - resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClassSelectorusing the suppliedContext. - resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DirectorySelectorusing the suppliedContext. - resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
FileSelectorusing the suppliedContext. - resolve(IterationSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
IterationSelectorusing the suppliedContext. - resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
MethodSelectorusing the suppliedContext. - resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ModuleSelectorusing the suppliedContext. - resolve(NestedClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedClassSelectorusing the suppliedContext. - resolve(NestedMethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedMethodSelectorusing the suppliedContext. - resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
PackageSelectorusing the suppliedContext. - resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UniqueIdSelectorusing the suppliedContext. - resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UriSelectorusing the suppliedContext. - resolve(DiscoverySelector) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Resolve the supplied
TestDescriptor, if possible. - resolve(DiscoverySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DiscoverySelectorusing the suppliedContext. - resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequestand collect the results into the suppliedTestDescriptorwhile forwarding encountered discovery issues to theEngineDiscoveryRequest'sEngineDiscoveryListener. - resolve(EngineDiscoveryRequest, T, DiscoveryIssueReporter) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequestand collect the results into the suppliedTestDescriptorusing the suppliedDiscoveryIssueReporterto report issues encountered during resolution. - resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor a resolved selector. - RESOLVED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginehas successfully resolved the selector. - ResourceLock - Interface in org.junit.platform.engine.support.hierarchical
-
A lock for a one or more resources.
- root(String, String) - Static method in class org.junit.platform.engine.UniqueId
-
Create a root unique ID from the supplied
segmentTypeandvalueusing the default format.
S
- SAME_THREAD - Enum constant in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Force execution in same thread as the parent node.
- SameThreadHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
-
A simple executor service that executes all test tasks in the caller's thread.
- SameThreadHierarchicalTestExecutorService() - Constructor for class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- selectClass(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name and class loader. - selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the suppliedClass. - selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name. - selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(Set<Resource>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resources. - selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ClasspathRootSelectorsfor the supplied classpath roots (directories or JAR files). - selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelectorfor the supplied directory. - selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelectorfor the supplied directory path. - selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(File, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - selectFile(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - selectIteration(DiscoverySelector, int...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create an
IterationSelectorfor the supplied parent selector and iteration indices. - selectMethod(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied fully qualified method name and class loader. - selectMethod(ClassLoader, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and class loader. - selectMethod(ClassLoader, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, parameter type names, and class loader. - selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClassand method name. - selectMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter types. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter type names. - selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied fully qualified method name. - selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name and method name using the default class loader. - selectMethod(String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and parameter types. - selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and parameter type names. - selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ModuleSelectorfor the supplied module name. - selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ModuleSelectorsfor the supplied module names. - selectNestedClass(ClassLoader, List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied class name, its enclosing classes' names, and class loader. - selectNestedClass(List<Class<?>>, Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied nestedClassand its enclosing classes. - selectNestedClass(List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied class name and its enclosing classes' names. - selectNestedMethod(ClassLoader, List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, and class loader. - selectNestedMethod(ClassLoader, List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, parameter type names, and class loader. - selectNestedMethod(List<Class<?>>, Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectNestedMethod(List<Class<?>>, Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nestedClassand method name. - selectNestedMethod(List<Class<?>>, Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied enclosing classes, nested class, method name, and parameter types. - selectNestedMethod(List<Class<?>>, Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the suppliedClass, method name, and parameter type names. - selectNestedMethod(List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name and method name. - selectNestedMethod(List<String>, String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied enclosing class names, nested class name, method name, and parameter types. - selectNestedMethod(List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, and parameter type names. - selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
-
Must be called after a discovery selector has been processed by a test engine.
- SelectorResolutionResult - Class in org.junit.platform.engine
- SelectorResolutionResult.Status - Enum Class in org.junit.platform.engine
-
Status of resolving a
DiscoverySelector. - SelectorResolver - Interface in org.junit.platform.engine.support.discovery
-
A resolver that supports resolving one or multiple types of
DiscoverySelectors. - SelectorResolver.Context - Interface in org.junit.platform.engine.support.discovery
-
The context for resolving a
DiscoverySelectorand adding it to the test tree. - SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
-
An exact or partial match for resolving a
DiscoverySelectorinto aTestDescriptor. - SelectorResolver.Resolution - Class in org.junit.platform.engine.support.discovery
-
The result of an attempt to resolve a
DiscoverySelector. - selectors(Set<? extends DiscoverySelector>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
DiscoverySelectors. - selectPackage(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
PackageSelectorfor the supplied package name. - selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the supplied unique ID. - selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the suppliedUniqueId. - selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the supplied URI. - selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the suppliedURI. - setParent(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- setParent(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Set the parent of this descriptor.
- severity() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the severity of this issue.
- shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Determine if the execution of the supplied
contextshould be skipped. - skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating skipped results.
- source() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the source of this issue.
- source(Optional<TestSource>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
TestSourcefor theDiscoveryIssue. - source(TestSource) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
TestSourcefor theDiscoveryIssue. - STANDARD_INCLUDE_PATTERN - Static variable in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Standard include pattern in the form of a regular expression that is used to match against fully qualified class names: "^(Test.*|.+[.$]Test.*|.*Tests?)$"
- submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- submit(HierarchicalTestExecutorService.TestTask) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Submit the supplied test task to be executed by this service.
- submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResultfor a successful execution of a test or container. - SUCCESSFUL - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was successful.
- Syntax Rules for Tags - Search tag in org.junit.platform.engine.TestTag.isValid(String)
- Section
T
- TEST - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a test. - TestDescriptor - Interface in org.junit.platform.engine
-
Mutable descriptor for a test or container that has been discovered by a
TestEngine. - TestDescriptor.Type - Enum Class in org.junit.platform.engine
-
Supported types for
TestDescriptors. - TestDescriptor.Visitor - Interface in org.junit.platform.engine
-
Visitor for the tree-like
TestDescriptorstructure. - TestEngine - Interface in org.junit.platform.engine
-
A
TestEnginefacilitates discovery and execution of tests for a particular programming model. - TestExecutionResult - Class in org.junit.platform.engine
-
TestExecutionResultencapsulates the result of executing a single test or container. - TestExecutionResult.Status - Enum Class in org.junit.platform.engine
-
Status of executing a single test or container.
- TestSource - Interface in org.junit.platform.engine
-
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
- TestTag - Class in org.junit.platform.engine
-
Immutable value object for a tag that is assigned to a test or container.
- ThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Simple component that can be used to collect one or more instances of
Throwable. - ThrowableCollector(Predicate<? super Throwable>) - Constructor for class org.junit.platform.engine.support.hierarchical.ThrowableCollector
- ThrowableCollector.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
Functional interface for an executable block of code that may throw a
Throwable. - ThrowableCollector.Factory - Interface in org.junit.platform.engine.support.hierarchical
-
Factory for
ThrowableCollectorinstances. - toConsumer() - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
-
Returns this condition as a
Consumer. - toIdentifier() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.ClassSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.FileSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.IterationSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.MethodSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.ModuleSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.PackageSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- toIdentifier() - Method in class org.junit.platform.engine.discovery.UriSelector
- toIdentifier() - Method in interface org.junit.platform.engine.DiscoverySelector
-
Return the identifier of this selector.
- toPredicate() - Method in interface org.junit.platform.engine.Filter
- toPredicate() - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
-
Returns this condition as a
Predicate. - toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
- toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- toString() - Method in class org.junit.platform.engine.discovery.FilePosition
- toString() - Method in class org.junit.platform.engine.discovery.FileSelector
- toString() - Method in class org.junit.platform.engine.discovery.IterationSelector
- toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
- toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
- toString() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- toString() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
- toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- toString() - Method in class org.junit.platform.engine.discovery.UriSelector
- toString() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Get the string representation of this identifier in the format
prefix:value. - toString() - Method in class org.junit.platform.engine.FilterResult
- toString() - Method in class org.junit.platform.engine.reporting.FileEntry
- toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
- toString() - Method in class org.junit.platform.engine.SelectorResolutionResult
- toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- toString() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- toString() - Method in class org.junit.platform.engine.TestExecutionResult
- toString() - Method in class org.junit.platform.engine.TestTag
- toString() - Method in class org.junit.platform.engine.UniqueId.Segment
- toString() - Method in class org.junit.platform.engine.UniqueId
-
Generate the unique, formatted string representation of this
UniqueIdusing the configuredUniqueIdFormat. - toTestExecutionResult() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Convert the collected
Throwablesinto aTestExecutionResult.
U
- UniqueId - Class in org.junit.platform.engine
-
UniqueIdencapsulates the creation, parsing, and display of unique IDs forTestDescriptors. - UniqueId.Segment - Class in org.junit.platform.engine
-
A segment of a
UniqueIdcomprises a type and a value. - UniqueIdSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aUniqueIdso thatTestEnginescan discover tests or containers based on unique IDs. - UniqueIdSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- unresolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor an unresolved selector. - unresolved() - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating unresolved resolutions.
- UNRESOLVED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginewas unable to resolve the selector. - UriSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aURIso thatTestEnginescan discover tests or containers based on URIs. - UriSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- UriSource - Interface in org.junit.platform.engine.support.descriptor
-
A
TestSourcethat can be represented as aURI.
V
- valueOf(String) - Static method in enum class org.junit.platform.engine.DiscoveryIssue.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.TestDescriptor.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.junit.platform.engine.DiscoveryIssue.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.TestDescriptor.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor.Visitor
-
Visit a
TestDescriptor.
W
- WARNING - Enum constant in enum class org.junit.platform.engine.DiscoveryIssue.Severity
-
Indicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release.
- withMessage(UnaryOperator<String>) - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Create a copy of this issue with the modified message produced by the supplied operator.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form