A C D E G I J M O P S V
A
- AnnotationConsumer<A extends java.lang.annotation.Annotation> - Interface in org.junit.jupiter.params.support
-
@AnnotationConsumer
is a@FunctionalInterface
for consuming annotations. - AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializer
is an internal helper class for initializingAnnotationConsumers
. - ArgumentConversionException - Exception in org.junit.jupiter.params.converter
-
ArgumentConversionException
is an exception that can occur when an object is converted to another object by an implementation of anorg.junit.jupiter.params.converter.ArgumentConverter
. - ArgumentConversionException(String) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
- ArgumentConversionException(String, Throwable) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
- ArgumentConverter - Interface in org.junit.jupiter.params.converter
-
ArgumentConverter
is an abstraction that allows an input object to be converted to an instance of a different class. - Arguments - Interface in org.junit.jupiter.params.provider
-
Arguments
is an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTest
method. - ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvider
is responsible for providing a stream of arguments to be passed to a@ParameterizedTest
method. - ArgumentsSource - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSource
is a repeatable annotation that is used to register argument providers for the annotated test method. - ArgumentsSources - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSources
is a simple container for one or moreArgumentsSource
annotations.
C
- convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
-
Convert the supplied
source
object into to the suppliedtargetType
. - convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
-
Convert the supplied
source
object according to the suppliedcontext
. - convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
- ConvertWith - Annotation Type in org.junit.jupiter.params.converter
-
@ConvertWith
is an annotation that allows one to specify an explicitArgumentConverter
. - CsvFileSource - Annotation Type in org.junit.jupiter.params.provider
-
@CsvFileSource
is anArgumentsSource
which is used to load comma-separated value (CSV) files from one or more classpath resources. - CsvSource - Annotation Type in org.junit.jupiter.params.provider
-
@CsvSource
is anArgumentsSource
which reads comma-separated values (CSV) from itsCsvSource.value()
attribute.
D
- DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
-
DefaultArgumentConverter
is the default implementation of theArgumentConverter
API.
E
- EnumSource - Annotation Type in org.junit.jupiter.params.provider
- EnumSource.Mode - Enum in org.junit.jupiter.params.provider
-
Enumeration of modes for selecting enum constants by name.
- EXCLUDE - org.junit.jupiter.params.provider.EnumSource.Mode
-
Select all declared enum constants except those supplied via the
EnumSource.names()
attribute.
G
- get() - Method in interface org.junit.jupiter.params.provider.Arguments
-
Get the arguments used for an invocation of the
@ParameterizedTest
method.
I
- INCLUDE - org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names are supplied via the
EnumSource.names()
attribute. - initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
J
- JavaTimeConversionPattern - Annotation Type in org.junit.jupiter.params.converter
-
@JavaTimeConversionPattern
is an annotation that allows a date/time conversion pattern to be specified on a method parameter of a@ParameterizedTest
method.
M
- MATCH_ALL - org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match all patterns supplied via the
EnumSource.names()
attribute. - MATCH_ANY - org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match any pattern supplied via the
EnumSource.names()
attribute. - MethodSource - Annotation Type in org.junit.jupiter.params.provider
-
@MethodSource
is anArgumentsSource
which provides access to values returned by factory methods of the class in which this annotation is declared.
O
- of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Arguments
based on the suppliedarguments
. - org.junit.jupiter.params - package org.junit.jupiter.params
-
JUnit Jupiter extension for parameterized tests.
- org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
-
ArgumentConverter
implementations and their correspondingConvertWith
annotations. - org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
ArgumentsProvider
implementations and their correspondingArgumentsSource
annotations. - org.junit.jupiter.params.support - package org.junit.jupiter.params.support
-
Support classes for building providers and converters for arguments.
P
- ParameterizedTest - Annotation Type in org.junit.jupiter.params
-
@ParameterizedTest
is used to signal that the annotated method is a parameterized test method. - provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
S
- SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
-
SimpleArgumentConverter
is an abstract base class forArgumentConverter
implementations. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
V
- valueOf(String) - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueSource - Annotation Type in org.junit.jupiter.params.provider
-
@ValueSource
is anArgumentsSource
which provides access to an array of literal values.