A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

F

fail() - Static method in class org.junit.jupiter.api.Assertions
Fail the test without a failure message.
fail(String) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given failure message.
fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given failure message as well as the underlying cause.
fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given underlying cause.
fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the failure message retrieved from the given messageSupplier.
failed() - Method in enum org.junit.platform.console.options.Theme
 
failed() - Method in class org.junit.platform.testkit.engine.Events
Get the failed Events contained in this Events object.
failed() - Method in class org.junit.platform.testkit.engine.Executions
Get the failed Executions contained in this Executions object.
failed(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected failed events.
failed(Throwable) - Static method in class org.junit.platform.engine.SelectorResolutionResult
Create a SelectorResolutionResult for a failed selector resolution.
failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for a failed execution of a test or container with the supplied throwable.
failed(Throwable) - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
Create a EngineDiscoveryResult for a failed test discovery.
FAILED - org.junit.platform.engine.SelectorResolutionResult.Status
Indicates that the TestEngine has encountered an error while resolving the selector.
FAILED - org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container failed.
FAILED - org.junit.platform.launcher.EngineDiscoveryResult.Status
Indicates that test discovery has failed.
failure(Exception) - Static method in class org.junit.platform.commons.function.Try
Convert the supplied exception into a failed Try.
FilePosition - Class in org.junit.platform.engine.discovery
Position inside a file represented by line and column numbers.
FilePosition - Class in org.junit.platform.engine.support.descriptor
Position inside a file represented by line and column numbers.
files() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
The CSV files to use as the sources of arguments; must not be empty unless CsvFileSource.resources() is non-empty.
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(Predicate<? super Event>) - Method in class org.junit.platform.testkit.engine.Events
Shortcut for events.stream().filter(predicate).
filter(Predicate<? super Execution>) - Method in class org.junit.platform.testkit.engine.Executions
Shortcut for executions.stream().filter(predicate).
filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
 
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.
Filterable - Interface in org.junit.jupiter.engine.descriptor
Filterable is implemented by TestDescriptors that may register dynamic tests during execution and support selective test execution.
FilterResult - Class in org.junit.platform.engine
The result of applying a Filter.
filters(DiscoveryFilter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Deprecated.
filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied filters to the request.
filters(Filter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Add all of the supplied filters.
findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied classpath root that match the specified classFilter and classNameFilter predicates.
findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied moduleName that match the specified classFilter and classNameFilter predicates.
findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ModuleUtils
Find all classes for the given module name.
findAllClassesInModule(String, ClassFilter) - 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 in the supplied basePackageName that match the specified classFilter and classNameFilter predicates.
findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllNonSystemBootModuleNames() - Static method in class org.junit.platform.commons.util.ModuleUtils
Find all non-system boot modules names.
findAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate, using top-down search semantics within the type hierarchy.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate, using the supplied hierarchy traversal mode.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Object, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
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(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
Find the first annotation of annotationType that is either present or meta-present on the Parameter for this context.
findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
Find the first annotation of annotationType that is either present or meta-present on the Method for this descriptor.
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(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the first annotation of annotationType that is either present or meta-present on the supplied optional element.
findAnnotation(Optional<? extends 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.
findConstructors(Class<?>, Predicate<Constructor<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Find all constructors in the supplied class that match the supplied predicate.
findFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all fields of the supplied class or interface that match the specified predicate.
findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findInstance(Class<T>) - Method in interface org.junit.jupiter.api.extension.TestInstances
Find the first test instance that is an instance of the supplied required type, checking from innermost to outermost.
findInstance(Class<T>) - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
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, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
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, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
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>, 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>, 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 within the supplied class, or inherited by the supplied class, that conform to the supplied 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 declared to be of the specified fieldType and are 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(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
Find all repeatable annotations of annotationType that are either present or meta-present on the Parameter for this context.
findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
Find all repeatable annotations of annotationType that are either present or meta-present on the Method for this descriptor.
findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all repeatable annotations of the supplied 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
 
findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all repeatable annotations of the supplied annotationType that are either present, indirectly present, or meta-present on the supplied optional element.
findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findTestSource(Description) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
 
finished() - Method in class org.junit.platform.testkit.engine.Events
Get the finished Events contained in this Events object.
finished() - Method in class org.junit.platform.testkit.engine.Executions
Get the finished Executions contained in this Executions object.
finished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected finished events.
finished(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its payload is an instance of TestExecutionResult that matches the supplied Condition.
finished(TestDescriptor, Instant, Instant, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Execution
Create a new instance of an Execution that finished with the provided TestExecutionResult.
FINISHED - org.junit.platform.testkit.engine.EventType
Signals that the execution of a TestDescriptor has finished, regardless of the outcome.
finishedSuccessfully() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of SUCCESSFUL.
finishedWithFailure() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of FAILED.
finishedWithFailure(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of FAILED as well as a cause that matches all of the supplied Conditions.
FIXED - org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Uses the mandatory "fixed.parallelism" configuration parameter as the desired parallelism.
FLAT - org.junit.platform.console.options.Details
Test plan execution details are rendered in a flat, line-by-line mode.
FlightRecordingListener - Class in org.junit.platform.jfr
A TestExecutionListener that generates Java Flight Recorder events.
FlightRecordingListener() - Constructor for class org.junit.platform.jfr.FlightRecordingListener
 
FlightRecordingListener.UniqueId - Annotation Type in org.junit.platform.jfr
 
floats() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
The float values to use as sources of arguments; must not be empty.
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.
ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A ForkJoinPool-based executor service that executes test tasks with the configured parallelism.
ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ConfigurationParameters.
ForkJoinPoolHierarchicalTestExecutorService(ParallelExecutionConfiguration) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ParallelExecutionConfiguration.
from(int) - Static method in class org.junit.platform.engine.discovery.FilePosition
Create a new FilePosition using the supplied line number and an undefined column number.
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.discovery.FilePosition
Create a new FilePosition using the supplied line and column numbers.
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 class.
from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class and method.
from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class and file position.
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 class name.
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 name and method name.
from(String, String, Class<?>...) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using 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 MethodSource using 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 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 class name and file position.
from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource from the supplied URI.
from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
Create a new UriSource using the supplied URI.
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(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.
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(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.
fromConfigurationParameter(String, String) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
 
fromQuery(String) - Static method in class org.junit.platform.engine.discovery.FilePosition
Create an optional FilePosition by parsing the supplied query string.
fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create an optional FilePosition by parsing the supplied query string.
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 
All Classes All Packages