A B C D E F G H I J L M N O P R S T U V W
F
- fail() - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test without a failure message.
- 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
messageas well as the underlyingcause. - 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
TestExecutionResultfor a failed execution of a test or container with the suppliedthrowable. - 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
- FileSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a file so thatTestEnginescan discover tests or containers based on files in the file system. - FileSource - Class in org.junit.platform.engine.support.descriptor
-
File based
TestSourcewith an optional position. - FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
-
File system based
TestSource. - filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
- Filter<T> - Interface in org.junit.platform.engine
-
A
Filtercan be applied to determine if an object should be included or excluded in a result set. - Filterable - Interface in org.junit.jupiter.engine.descriptor
-
Filterableis implemented byTestDescriptorsthat 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(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
filtersto the request. - findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath
rootthat match the specifiedclassFilterandclassNameFilterpredicates. - 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
moduleNamethat match the specifiedclassFilterandclassNameFilterpredicates. - 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
basePackageNamethat match the specifiedclassFilterandclassNameFilterpredicates. - 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>, 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
annotationTypeand match the specifiedpredicate, using top-down search semantics within the type hierarchy. - 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
annotationTypeand match the specifiedpredicate. - 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
annotationTypethat is either present or meta-present on theParameterfor this context. - findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of
annotationTypethat is either directly present, meta-present, or indirectly present on the suppliedelement. - 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
annotationTypethat is either present or meta-present on the supplied optionalelement. - 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>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all fields of the supplied class or interface that match the specified
predicate. - findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Methodof 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
Methodof 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 given class that conform 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
publicfields of the supplied class or interface that are of the specifiedfieldTypeand annotated or meta-annotated with the specifiedannotationType. - 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
annotationTypethat are either present or meta-present on theParameterfor this context. - findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all repeatable annotations of
annotationTypethat are either present, indirectly present, or meta-present on the suppliedAnnotatedElement. - findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- FIXED - org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Uses the mandatory "fixed.parallelism" configuration parameter as desired parallelism.
- FLAT - org.junit.platform.console.options.Details
-
Test plan execution details are rendered in a flat, line-by-line mode.
- floats() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
floatvalues 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
LoggingListenerwhich delegates to the suppliedBiConsumerfor consumption of logging messages. - forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
-
Create an engine's unique ID from its
engineIdusing the default format. - forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorServicebased on the suppliedConfigurationParameters. - from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlinenumber and an undefined column number. - from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlineandcolumnnumbers. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Create a new
DirectorySourceusing the supplied directory. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
-
Create a new
FileSourceusing the suppliedfile. - from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
- from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the suppliedjavaClass. - from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
- from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the supplied JavaPackage. - from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the suppliedmethod. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourceusing the supplied classpath resource name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied className. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the suppliedpackageName. - from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a key-value pair. - from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the supplied class and method name. - from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the supplied class and method name. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourceusing the supplied classpath resource name andFilePosition. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied className andfilePosition. - from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Create a new
UriSourceusing the suppliedURI. - from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Create a new
CompositeTestSourcebased on the supplied collection ofsources. - from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
-
Construct a new
TestPlanfrom the supplied collection ofTestDescriptors. - from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a map of key-value pairs. - from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
-
Factory for creating a new
TestIdentifierfrom aTestDescriptor. - fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create an optional
FilePositionby parsing the suppliedquerystring. - FunctionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Functions,Predicates, etc.