A B C D E F G H I M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
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 - 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
-
Return a filter that will include elements if and only if the adapted
Filterincludes the value converted using the suppliedFunction. - 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. - 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.
- 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
- 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 class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Build the
EngineDiscoveryRequestResolverthat has been configured via this builder. - buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolverinstead. - buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolverinstead. - builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Create a new
EngineDiscoveryRequestResolver.Builderfor creating aEngineDiscoveryRequestResolver.
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
-
DiscoveryFilterthat is applied to the name of aClass. - CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
URIscheme for classpath resources: "classpath" - 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. - 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. - ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
-
Deprecated.Please use
EngineDiscoveryRequestResolverinstead. - ClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aClassor class name so thatTestEnginescan discover tests or containers based on classes. - 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
- 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. - CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
-
A
CompositeTestSourcecontains one or moreTestSources. - 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
ParallelExecutionConfigurationStrategyto be used by theDefaultParallelExecutionConfigurationStrategy.CUSTOMconfiguration 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.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_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.FIXEDconfiguration 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
TestEnginesmay use to influence test discovery and execution. - CONTAINER - org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a container. - CONTAINER_AND_TEST - 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(String) - Static method in class org.junit.platform.engine.TestTag
-
Create a
TestTagfrom the suppliedname. - 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
ThrowableCollectorinstances 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
ParallelExecutionConfigurationStrategyimplementation 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
DiscoverySelectorthat selects a directory so thatTestEnginescan 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
DiscoveryFilteris 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
TestEnginecan 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
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 - 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 extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation based on
SelectorResolverandTestDescriptor.Visitorthat can be reused by differentTestEngines. - EngineDiscoveryRequestResolver.Builder<T extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
-
Builder for
EngineDiscoveryRequestResolver. - 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
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.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.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
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 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.SingleTestExecutor.Executable
-
Deprecated.Execute the test.
- 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.
- executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
Deprecated.Execute the supplied
SingleTestExecutor.Executableand return aTestExecutionResultbased 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
TestEngineaccess 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.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor a failed selector resolution. - 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 - org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginehas encountered an error while resolving the selector. - FAILED - org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container failed.
- 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. - 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 - 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. - 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
-
Create a new
MethodSourceusing the suppliedclassandmethod. - from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class and file position. - 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 interface org.junit.platform.engine.support.descriptor.UriSource
-
Create a new
UriSourceusing the suppliedURI. - 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<String, 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<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
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.
- 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
-
Get 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
-
Get the list of
Classenclosing the selected nestedClass. - getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the list of
Classenclosing the nestedClasscontaining the selectedMethod. - 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
-
Get 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.
- 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
Classin 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.
- 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.
- 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.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.discovery.NestedMethodSelector
-
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.
- 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
-
Get the nested
Classcontaining the selectedMethod. - 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.
- 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
Pathusing the defaultFileSystem. - getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a
Pathusing the defaultFileSystem. - 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. - 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
TestDescriptorof 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
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.
- 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.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
-
Get the
URIfor the source directory. - getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
URIfor the source file. - 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.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_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.
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.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.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
UniqueIdis a prefix for thisUniqueId. - HierarchicalTestEngine<C extends EngineExecutionContext> - 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
- 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. - 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
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.
- 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.
- 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
DiscoverySelectorthat selects aMethodor a combination of class name, method name, and parameter types so thatTestEnginescan 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
DiscoverySelectorthat selects a module name so thatTestEnginescan discover tests or containers based on modules.
N
- 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. - NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedMethodor a combination of enclosing classes names, class name, method name, and parameter types so thatTestEnginescan discover tests or containers based on methods. - 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
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
- 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.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
TestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction.
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. - 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
UniqueIdfrom 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
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.
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
- 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. - 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
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 - 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(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 suppliedTestDescriptor. - resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor a resolved selector. - RESOLVED - 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 - 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
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. - 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. - selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClassandMethod. - selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClassand method name. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and method parameter types. - 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. - selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and method parameter types. - 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(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(List<Class<?>>, Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nestedClassandMethod. - 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, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the suppliedClass, method name, and method parameter types. - 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, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, and method parameter types. - 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 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.
- shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Determine if the execution of the supplied
contextshould be skipped. - SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
-
Deprecated.
- 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
TestExecutionResultfor 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
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 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 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
ThrowableCollectorthat uses the suppliedPredicateto determine whether aThrowableaborted 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
ThrowableCollectorinstances. - toPredicate() - Method in interface org.junit.platform.engine.Filter
-
Return a
Predicatethat returnstrueif this filter includes the object supplied to the predicate'stestmethod. - 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.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.FilterResult
- 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. - 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 - 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. - UriSource - Interface in org.junit.platform.engine.support.descriptor
-
A
TestSourcethat can be represented as aURI.
V
- valueOf(String) - Static method in enum org.junit.platform.engine.SelectorResolutionResult.Status
-
Returns the enum constant of this type with the specified name.
- 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.SelectorResolutionResult.Status
-
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.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
-
Visit a
TestDescriptor.
All Classes All Packages