A B C D E F G H I M N O P R S T U V 
All Classes All Packages

A

aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for an aborted execution of a test or container with the supplied throwable.
ABORTED - 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 TestDescriptor that may be used by custom TestEngines.
AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId and display name.
AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId, display name, and source.
accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
Accept a TestDescriptor.Visitor to 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
Return a filter that will include elements if and only if the adapted Filter includes the value converted using the supplied Function.
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, and PackageSelectors into ClassSelectors by scanning for classes 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 SelectorResolver to this builder.
addSelectorResolver(SelectorResolver) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a context insensitive SelectorResolver to 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.Visitor to this builder.
addToParent(Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Add a TestDescriptor to an unspecified parent, usually the engine descriptor, by applying the supplied Function to the new parent.
addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Add a TestDescriptor to a parent, specified by the DiscoverySelector returned by the supplied Supplier, by applying the supplied Function to the new parent.
after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the after behavior of this node.
append(String, String) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment, based on the supplied segmentType and value, to the end of this UniqueId.
append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment to the end of this UniqueId.
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
assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Assert that this ThrowableCollector is empty (i.e., has not collected any Throwables).
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 class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Build the EngineDiscoveryRequestResolver that has been configured via this builder.
buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Build a ClassFilter by combining the name predicate built by ClasspathScanningSupport.buildClassNamePredicate(EngineDiscoveryRequest) and the passed-in class predicate.
buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Build a Predicate for fully qualified class names to be used for classpath scanning from an EngineDiscoveryRequest.
builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver

C

children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
The synchronized set of children associated with this TestDescriptor.
ClassNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Class.
CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
URI scheme for classpath resources: "classpath"
ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects the name of a classpath resource so that TestEngines can load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs.
ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
Classpath resource based TestSource with an optional position.
ClasspathRootSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a classpath root so that TestEngines can search for class files or resources within the physical classpath — for example, to scan for test classes.
ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
Support utility methods for classpath scanning.
ClassSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Class or class name so that TestEngines can discover tests or containers based on classes.
ClassSource - Class in org.junit.platform.engine.support.descriptor
Class based TestSource with an optional file position.
cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Clean up the supplied context after 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
 
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 filters include 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 filters include it.
CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
A CompositeTestSource contains one or more TestSources.
CONCURRENT - org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Allow concurrent execution with any other node.
CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to specify the fully qualified class name of the ParallelExecutionConfigurationStrategy to be used by the DefaultParallelExecutionConfigurationStrategy.CUSTOM configuration strategy.
CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name of the factor used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.DYNAMIC configuration 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_PARALLELISM_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.FIXED configuration strategy.
CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum 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 TestEngines may use to influence test discovery and execution.
CONTAINER - org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a container.
CONTAINER_AND_TEST - org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is 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(String) - Static method in class org.junit.platform.engine.TestTag
Create a TestTag from the supplied name.
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.
createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the factory for creating ThrowableCollector instances used to handle exceptions that occur during execution of this engine's tests.
CUSTOM - org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Allows the specification of a custom ParallelExecutionConfigurationStrategy implementation via the mandatory "custom.class" configuration parameter to determine the desired configuration.

D

DefaultParallelExecutionConfigurationStrategy - Enum 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 DiscoverySelector that selects a directory so that TestEngines can discover tests or containers based on directories in the file system.
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 DiscoveryFilter is applied during test discovery to determine if a given container or test should be included in the test plan.
DiscoverySelector - Interface in org.junit.platform.engine
A selector defines what a TestEngine can use to discover tests — for example, the name of a Java class, the path to a file or directory, etc.
DiscoverySelectors - Class in org.junit.platform.engine.discovery
Collection of static factory methods for creating DiscoverySelectors.
doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating do not skip results.
DYNAMIC - 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 TestDescriptor has been registered.

E

EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
An EngineDescriptor is a TestDescriptor for a specific TestEngine.
EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
Create a new EngineDescriptor with the supplied UniqueId and display name.
EngineDiscoveryRequest - Interface in org.junit.platform.engine
EngineDiscoveryRequest provides a TestEngine access to the information necessary to discover tests and containers.
EngineDiscoveryRequestResolver<T extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
Configurable test discovery implementation based on SelectorResolver and TestDescriptor.Visitor that can be reused by different TestEngines.
EngineDiscoveryRequestResolver.Builder<T extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor> - Interface in org.junit.platform.engine.support.discovery
The initialization context for creating resolvers and visitors that depend on the EngineDiscoveryRequest to 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 HierarchicalTestEngine and 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.FileSelector
 
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.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.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.TestTag
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
 
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 ClassNameFilter based 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 PackageNameFilter based on the supplied package names.
excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based 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 in org.junit.platform.engine.support.hierarchical
LockMode translates to the respective ReadWriteLock locks.
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.SingleTestExecutor.Executable
Deprecated.
Execute the test.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
Execute this executable, potentially throwing a Throwable that 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.Executable and collect any Throwable thrown during the execution.
execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Submit a dynamic test descriptor for immediate execution.
executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
Execute the supplied SingleTestExecutor.Executable and return a TestExecutionResult based on the outcome.
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 TestEngine access to the information necessary to execute its tests.
ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
 
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 TestExecutionResult for a failed execution of a test or container with the supplied throwable.
FAILED - org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container failed.
FilePosition - Class in org.junit.platform.engine.support.descriptor
Position inside a file represented by line and column numbers.
FileSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a file so that TestEngines can discover tests or containers based on files in the file system.
FileSource - Class in org.junit.platform.engine.support.descriptor
File based TestSource with 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 Filter can 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 - 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 engineId using the default format.
ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A ForkJoinPool-based executor service that executes test tasks with the configured parallelism.
ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ConfigurationParameters.
from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line number and an undefined column number.
from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line and column numbers.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
Create a new DirectorySource using the supplied directory.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file.
from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file and filePosition.
from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class.
from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class and method.
from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class and file position.
from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied Java Package.
from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied method.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource using the supplied classpath resource name.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied packageName.
from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a key-value pair.
from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name and method name.
from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using 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 ClasspathResourceSource using the supplied classpath resource name and FilePosition.
from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name and file position.
from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource from the supplied URI.
from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
Create a new UriSource using the supplied URI.
from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
Create a new CompositeTestSource based on the supplied collection of sources.
from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a map of key-value pairs.
fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create an optional FilePosition by parsing the supplied query string.

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<String, T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get and transform the configuration parameter stored under the specified key using the specified transformer.
get(String, Function<String, T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
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.
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 ClassNameFilters and PackageNameFilters in the EngineDiscoveryRequest that 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.
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.support.descriptor.FilePosition
Get the column number of this FilePosition, if available.
getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the ConfigurationParameters for this request.
getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
Get the ConfigurationParameters that 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.
getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the EngineDiscoveryRequest that 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.
getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the engine's TestDescriptor that will be used to collect the results.
getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
Get the EngineExecutionListener to 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 DiscoveryFilters for 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.
getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the selected Class.
getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the Class in which the selected method is declared, or a subclass thereof.
getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the Java class of this source.
getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected Method.
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.Segment of this UniqueId.
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.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.
getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected method name.
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.discovery.MethodSelector
Get the parameter types for the selected method as a String, typically a comma-separated list of primitive types, fully qualified class names, or array types.
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.
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.
getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getParent() - Method in interface org.junit.platform.engine.TestDescriptor
Get the parent of this descriptor, if available.
getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a Path using the default FileSystem.
getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a Path using the default FileSystem.
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
Get the position in the source file for the associated class, if available.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the FilePosition, if available.
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.
getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
Get the root TestDescriptor of the engine that processes this request.
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 DiscoverySelectors for 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.TestExecutionResult
Get the status of this result.
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.support.hierarchical.ThrowableCollector
Get the first Throwable collected by this ThrowableCollector.
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.ReportEntry
Get the timestamp for when this ReportEntry was created.
getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
getType() - Method in interface org.junit.platform.engine.TestDescriptor
Determine the TestDescriptor.Type of 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
Get the URI for the source directory.
getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the URI for the source file.
getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
Get the URI that represents this source.
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.

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.FileSelector
 
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.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.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.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 UniqueId is a prefix for this UniqueId.
HierarchicalTestEngine<C extends EngineExecutionContext> - Class in org.junit.platform.engine.support.hierarchical
Abstract base class for all TestEngine implementations that wish to organize test suites hierarchically based on the Node abstraction.
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

includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new include ClassNameFilter based 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 PackageNameFilter based on the supplied package names.
includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new include PackageNameFilter based on the supplied package names.
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
 
isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a container.
isContainer() - Method in enum org.junit.platform.engine.TestDescriptor.Type
 
isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is empty (i.e., has not collected any Throwables).
isExact() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Whether this match is exact.
isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is not empty (i.e., has collected at least one Throwable).
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.
isTest() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a test.
isTest() - Method in enum 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.

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.
MethodSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Method or a combination of class name, method name, and parameter types so that TestEngines can discover tests or containers based on methods.
MethodSource - Class in org.junit.platform.engine.support.descriptor
Method based TestSource.
ModuleSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a module name so that TestEngines can discover tests or containers based on modules.

N

Node<C extends EngineExecutionContext> - 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 in org.junit.platform.engine.support.hierarchical
Supported execution modes for parallel execution.
Node.Invocation<C extends EngineExecutionContext> - 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 context should 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.

O

OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Specialization of ThrowableCollector that treats instances of TestAbortedException as aborting.
OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
 
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
Concrete selectors and filters to be used in discovery requests.
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.filter - package org.junit.platform.engine.support.filter
Filter-related support classes intended to be used by test engine implementations.
org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
Support classes and base implementation for any TestEngine that wishes to organize test suites hierarchically based on the Node abstraction.

P

PackageNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Package.
PackageSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a package name so that TestEngines can discover tests or containers based on packages.
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) - Static method in class org.junit.platform.engine.UniqueId
Parse a UniqueId from the supplied string representation using the default format.
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.
PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
View of ConfigurationParameters that 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 ConfigurationParameters that applies the supplied prefix to all queries.
prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Prepare the supplied context prior 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.

R

READ - org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Require only read access to the resource.
READ_WRITE - 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.
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
Construct a new UniqueId and removing the last UniqueId.Segment of this UniqueId.
ReportEntry - Class in org.junit.platform.engine.reporting
ReportEntry encapsulates a time-stamped map of String-based key-value pairs to be published to the reporting infrastructure.
ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
 
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
Can be called for any TestDescriptor in order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go to System.out Information about test context or test data
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 ClasspathResourceSelector using the supplied Context.
resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClasspathRootSelector using the supplied Context.
resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClassSelector using the supplied Context.
resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied DirectorySelector using the supplied Context.
resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied FileSelector using the supplied Context.
resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied MethodSelector using the supplied Context.
resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ModuleSelector using the supplied Context.
resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied PackageSelector using the supplied Context.
resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UniqueIdSelector using the supplied Context.
resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UriSelector using the supplied Context.
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 DiscoverySelector using the supplied Context.
resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
Resolve the supplied EngineDiscoveryRequest and collect the results into the supplied TestDescriptor.
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 segmentType and value using the default format.

S

SAME_THREAD - 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(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied Class.
selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied class name.
selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClasspathResourceSelector for the supplied classpath resource name.
selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ClasspathRootSelectors for the supplied classpath roots (directories or JAR files).
selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory.
selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory path.
selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file.
selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file path.
selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and Method.
selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and method name.
selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class, method name, and method parameter types.
selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied fully qualified method name.
selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name and method name.
selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, and method parameter types.
selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ModuleSelector for the supplied module name.
selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ModuleSelectors for the supplied module names.
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 DiscoverySelector and adding it to the test tree.
SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
An exact or partial match for resolving a DiscoverySelector into a TestDescriptor.
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 PackageSelector for the supplied package name.
selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied unique ID.
selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied UniqueId.
selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
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.
shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Determine if the execution of the supplied context should be skipped.
SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
 
SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
Deprecated.
Functional interface for a single test to be executed by SingleTestExecutor.
size() - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the number of configuration parameters stored directly in this ConfigurationParameters.
size() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating skipped results.
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 TestExecutionResult for a successful execution of a test or container.
SUCCESSFUL - org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container was successful.

T

TEST - org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is 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 in org.junit.platform.engine
Supported types for TestDescriptors.
TestDescriptor.Visitor - Interface in org.junit.platform.engine
Visitor for the tree-like TestDescriptor structure.
TestEngine - Interface in org.junit.platform.engine
A TestEngine facilitates discovery and execution of tests for a particular programming model.
TestExecutionResult - Class in org.junit.platform.engine
TestExecutionResult encapsulates the result of executing a single test or container.
TestExecutionResult.Status - Enum 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
Create a new ThrowableCollector that uses the supplied Predicate to determine whether a Throwable aborted or failed execution.
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 ThrowableCollector instances.
toPredicate() - Method in interface org.junit.platform.engine.Filter
Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
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.FileSelector
 
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.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.FilterResult
 
toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
 
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 UniqueId using the configured UniqueIdFormat.

U

UniqueId - Class in org.junit.platform.engine
UniqueId encapsulates the creation, parsing, and display of unique IDs for TestDescriptors.
UniqueId.Segment - Class in org.junit.platform.engine
A segment of a UniqueId comprises a type and a value.
UniqueIdSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a UniqueId so that TestEngines can discover tests or containers based on unique IDs.
unresolved() - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Factory for creating unresolved resolutions.
UriSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a URI so that TestEngines can discover tests or containers based on URIs.
UriSource - Interface in org.junit.platform.engine.support.descriptor
A TestSource that can be represented as a URI.

V

valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
visit(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor.Visitor
A B C D E F G H I M N O P R S T U V 
All Classes All Packages