- 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
-
- FileSource - Class in org.junit.platform.engine.support.descriptor
-
- FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
-
- 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.
- 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
-
- getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
- 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
-
- 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
-
- 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
-
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
- 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
-
- 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
-
- 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
-
- getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
-
Get the selected URI.
- getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
- getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
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.
- 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() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
- 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.