junit-platform-engine
A B C D E F G H I M N O P R S T U V 

A

aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Obtain 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 visitor to the subtree starting with this descriptor.
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.
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.
apply(T) - Method in interface org.junit.platform.engine.Filter
Apply this filter to the supplied object.

B

before(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the before behavior of this node.
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.

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.
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
Java class based TestSource with an optional position.
clone() - Method in class org.junit.platform.engine.UniqueId
 
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.
CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
Name of the JUnit Platform configuration file: "junit-platform.properties".
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 contains any tests.
create(String) - Static method in class org.junit.platform.engine.TestTag
Create a TestTag from the supplied name.
createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the initial execution context for executing the supplied request.

D

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.
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.
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.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.TestTag
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
 
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.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
Execute the test.
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 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(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
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.

F

failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Obtain 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 has 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.
forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
Create an engine's unique ID from its engineId using the default format.
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 javaClass.
from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied javaClass and filePosition.
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 className.
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 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 and method name.
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 className and filePosition.
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.

G

get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the configuration parameter stored under the specified key.
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.
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 declaring Class name of this source.
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.
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.
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.
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.
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.
getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
Get an unmodifiable copy of the map of key-value pairs to be published.
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.
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.
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.
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 Java source file for the associated Java 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 why execution of the context should be skipped, if available.
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.
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.
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.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.TestTag
 
hashCode() - Method in class org.junit.platform.engine.UniqueId
 
hashCode() - Method in class org.junit.platform.engine.UniqueId.Segment
 
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
 

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.
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
 
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

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
Java 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.SkipResult - Class in org.junit.platform.engine.support.hierarchical
The result of determining whether the execution of a given context should be skipped.

O

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.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.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.
parse(String) - Static method in class org.junit.platform.engine.UniqueId
Parse a UniqueId from the supplied string representation using the default format.
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

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.
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, e.g.: 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.
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

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.
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 encapsulates the execution of a single test wrapped in an SingleTestExecutor.Executable.
SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
 
SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
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.
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: "^.*Tests?$" which matches against class names ending in Test or Tests (in any package).
successful() - Static method in class org.junit.platform.engine.TestExecutionResult
Obtain 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
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.
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.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.
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.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.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 
Skip navigation links
junit-platform-engine