- fail(String) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure message
.
- fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure message
as well
as the underlying cause
.
- fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given underlying cause
.
- fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the failure message retrieved from the
given messageSupplier
.
- failed() - Method in enum org.junit.platform.console.options.Theme
-
- 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
.
- 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.
- filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
-
- FilterResult - Class in org.junit.platform.engine
-
The result of applying a
Filter
.
- filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied filters
to the request.
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all
classes of the supplied
root
URI that match the specified
classTester
and
classNameFilter
predicates.
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all
classes of the supplied
basePackageName
that match the specified
classTester
and
classNameFilter
predicates.
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all
methods of the supplied class or interface
that are annotated or
meta-annotated with the specified
annotationType
.
- findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of annotationType
that is either
directly present, meta-present, or indirectly
present on the supplied element
.
- findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find the first annotation of annotationType
that is either
present or meta-present on the supplied optional
element
.
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- 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.
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Method
of the supplied class or interface that
meets the specified criteria, beginning with the specified class or
interface and traversing up the type hierarchy until such a method is
found or the type hierarchy is exhausted.
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Method
of the supplied class or interface that
meets the specified criteria, beginning with the specified class or
interface and traversing up the type hierarchy until such a method is
found or the type hierarchy is exhausted.
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all
methods of the supplied class or interface
that match the specified
predicate
.
- findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all
methods of the supplied class or interface
that match the specified
predicate
, using top-down search semantics
within the type hierarchy.
- findMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes of the given class conforming to the given predicate.
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all
public
fields of the supplied class
or interface that are of the specified
fieldType
and annotated
or
meta-annotated with the specified
annotationType
.
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all
repeatable annotations of
annotationType
that are either
present,
indirectly
present, or
meta-present on the supplied
AnnotatedElement
.
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- forBiConsumer(BiConsumer<Throwable, Supplier<String>>) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
-
Create a
LoggingListener
which delegates to the supplied
BiConsumer
for consumption of logging messages.
- forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
-
Create an engine's unique ID from its engineId
using the default
format.
- forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
-
Create a
LoggingListener
which delegates to a
Logger
using a log level of
FINE
.
- forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
-
Create a
LoggingListener
which delegates to a
Logger
using the supplied
log level.
- 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.
- 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) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new ClasspathResourceSource
using the supplied classpath
resource 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) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new ClassSource
using the supplied
className.
- 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(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
-
- 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(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Create a new
DirectorySource
using the supplied
directory.
- 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.FileSource
-
Create a new
FileSource
using the supplied
file
.
- from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
-
- 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(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSource
using the supplied
method
.
- from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSource
using the supplied Java
Package
.
- from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new PackageSource
using the supplied packageName
.
- from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
-
- from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
-
- FunctionUtils - Class in org.junit.platform.commons.util
-