Skip navigation links
JUnit 5
A B C D E F G H I J L M N O P R S T U V W 

F

fail(String) - Static method in class org.junit.jupiter.api.Assertions
Fails a test with the given failure message.
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(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.
FilePosition(int, int) - Constructor for class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line and column.
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.
FileSource(File) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file.
FileSource(File, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file and filePosition.
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.
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(Path, 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.util.ReflectionUtils
 
findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.MethodSortOrder) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
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
Find the first annotation of annotationType that is either present or meta-present on the supplied element.
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.util.ReflectionUtils
 
findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findMethods(Class<?>, Predicate<Method>, ReflectionUtils.MethodSortOrder) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find all repeatable annotations of annotationType that are either present, indirectly present, or meta-present on the supplied AnnotatedElement.
findRuleAnnotatedMembers(Object) - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
 
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(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.
from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.
FunctionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Functions, Predicates, etc.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
JUnit 5