Index

A B C D E F G I J L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
accept(A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
Aggregate the arguments contained in the supplied accessor into a single object.
AggregateWith - Annotation Interface in org.junit.jupiter.params.aggregator
@AggregateWith is an annotation that allows one to specify an ArgumentsAggregator.
AnnotationBasedArgumentConverter<A extends Annotation> - Class in org.junit.jupiter.params.converter
AnnotationBasedArgumentConverter is an abstract base class for ArgumentConverter implementations that also need to consume an annotation in order to perform the conversion.
AnnotationBasedArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
AnnotationBasedArgumentsProvider<A extends Annotation> - Class in org.junit.jupiter.params.provider
AnnotationBasedArgumentsProvider is an abstract base class for ArgumentsProvider implementations that also need to consume an annotation in order to provide the arguments.
AnnotationBasedArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
AnnotationConsumer<A extends Annotation> - Interface in org.junit.jupiter.params.support
AnnotationConsumer is a functional interface for consuming annotations.
AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
AnnotationConsumerInitializer is an internal helper class for initializing AnnotationConsumers.
ArgumentAccessException - Exception in org.junit.jupiter.params.aggregator
ArgumentAccessException is an exception thrown by an ArgumentsAccessor if an error occurs while accessing or converting an argument.
ArgumentAccessException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
 
ArgumentAccessException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
 
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 an 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(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
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.
ARGUMENTS_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
Placeholder for the complete, comma-separated arguments list of the current invocation of a @ParameterizedTest method: {arguments}
ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
Placeholder for the complete, comma-separated named arguments list of the current invocation of a @ParameterizedTest method: {argumentsWithNames}
ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
ArgumentsAccessor defines the public API for accessing arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method.
ArgumentsAggregationException - Exception in org.junit.jupiter.params.aggregator
ArgumentsAggregationException is an exception thrown by an ArgumentsAggregator when an error occurs while aggregating arguments.
ArgumentsAggregationException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregationException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregator - Interface in org.junit.jupiter.params.aggregator
ArgumentsAggregator is an abstraction for the aggregation of arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method into a single object.
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 Interface 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 Interface in org.junit.jupiter.params.provider
@ArgumentsSources is a simple container for one or more ArgumentsSource annotations.
autoCloseArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
Configure whether all arguments of the parameterized test that implement AutoCloseable will be closed after @AfterEach methods and AfterEachCallback extensions have been called for the current parameterized test invocation.

B

booleans() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The boolean values to use as sources of arguments; must not be empty.
bytes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The byte values to use as sources of arguments; must not be empty.

C

chars() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The char values to use as sources of arguments; must not be empty.
classes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The Class values to use as sources of arguments; must not be empty.
convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
Convert the supplied source object into the supplied targetType.
convert(Object, Class<?>, A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
Convert the supplied source object into the supplied targetType, based on metadata in the provided annotation.
convert(Object, Class<?>, ParameterContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
Convert the supplied source object according to the supplied context.
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
 
convert(S) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
Convert the supplied source object of type S into an object of type T.
ConvertWith - Annotation Interface in org.junit.jupiter.params.converter
@ConvertWith is an annotation that allows one to specify an explicit ArgumentConverter.
CsvFileSource - Annotation Interface in org.junit.jupiter.params.provider
@CsvFileSource is an ArgumentsSource which is used to load comma-separated value (CSV) files from one or more classpath CsvFileSource.resources() or CsvFileSource.files().
CsvParsingException - Exception in org.junit.jupiter.params.provider
Thrown if an error is encountered while parsing CSV input.
CsvParsingException(String) - Constructor for exception org.junit.jupiter.params.provider.CsvParsingException
 
CsvParsingException(String, Throwable) - Constructor for exception org.junit.jupiter.params.provider.CsvParsingException
 
CsvSource - Annotation Interface in org.junit.jupiter.params.provider
@CsvSource is an ArgumentsSource which reads comma-separated values (CSV) from one or more CSV records supplied via the CsvSource.value() attribute or CsvSource.textBlock() attribute.

D

DEFAULT_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
Default display name pattern for the current invocation of a @ParameterizedTest method: "[{index}] {argumentsWithNames}"
DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
DefaultArgumentConverter is the default implementation of the ArgumentConverter API.
DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
Default implementation of the ArgumentsAccessor API.
DefaultArgumentsAccessor(ParameterContext, int, Object...) - Constructor for class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
delimiter() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The column delimiter character to use when reading the CSV files.
delimiter() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The column delimiter character to use when reading the records.
delimiterString() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The column delimiter string to use when reading the CSV files.
delimiterString() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The column delimiter string to use when reading the records.
DISPLAY_NAME_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
Placeholder for the display name of a @ParameterizedTest method: {displayName}
doubles() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The double values to use as sources of arguments; must not be empty.

E

EmptySource - Annotation Interface in org.junit.jupiter.params.provider
@EmptySource is an ArgumentsSource which provides a single empty argument to the annotated @ParameterizedTest method.
emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The empty value to use when reading the CSV files.
emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The empty value to use when reading the records.
encoding() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The encoding to use when reading the CSV files; must be a valid charset.
EnumSource - Annotation Interface in org.junit.jupiter.params.provider
@EnumSource is an ArgumentsSource for constants of an Enum.
EnumSource.Mode - Enum Class in org.junit.jupiter.params.provider
Enumeration of modes for selecting enum constants by name.
EXCLUDE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Select all declared enum constants except those supplied via the EnumSource.names() attribute.

F

files() - Element in annotation interface 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.
floats() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The float values to use as sources of arguments; must not be empty.

G

get() - Method in interface org.junit.jupiter.params.provider.Arguments
Get the arguments used for an invocation of the @ParameterizedTest method.
get(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an Object.
get(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
get(int, Class<T>) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an instance of the required type.
get(int, Class<T>) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getBoolean(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Boolean, performing automatic type conversion as necessary.
getBoolean(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getByte(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Byte, performing automatic type conversion as necessary.
getByte(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getCharacter(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Character, performing automatic type conversion as necessary.
getCharacter(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Double, performing automatic type conversion as necessary.
getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getFloat(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Float, performing automatic type conversion as necessary.
getFloat(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getInteger(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Integer, performing automatic type conversion as necessary.
getInteger(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getInvocationIndex() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the index of the current test invocation.
getInvocationIndex() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Long, performing automatic type conversion as necessary.
getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Short, performing automatic type conversion as necessary.
getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getString(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a String, performing automatic type conversion as necessary.
getString(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 

I

ignoreLeadingAndTrailingWhitespace() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
ignoreLeadingAndTrailingWhitespace() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
INCLUDE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names are supplied via the EnumSource.names() attribute.
INDEX_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
Placeholder for the current invocation index of a @ParameterizedTest method (1-based): {index}
initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
 
INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
ints() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The int values to use as sources of arguments; must not be empty.

J

JavaTimeConversionPattern - Annotation Interface in org.junit.jupiter.params.converter
@JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a parameter of a @ParameterizedTest method.

L

lineSeparator() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The line separator to use when reading the CSV files; must consist of 1 or 2 characters, typically "\r", "\n", or "\r\n".
longs() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The long values to use as sources of arguments; must not be empty.

M

MATCH_ALL - Enum constant in enum class 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 - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names match any pattern supplied via the EnumSource.names() attribute.
MATCH_NONE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names match none of the patterns supplied via the EnumSource.names() attribute.
maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The maximum number of characters allowed per CSV column.
maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The maximum number of characters allowed per CSV column.
MethodSource - Annotation Interface in org.junit.jupiter.params.provider
@MethodSource is an ArgumentsSource which provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name.
mode() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
The enum constant selection mode.

N

name() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
names() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.
NullAndEmptySource - Annotation Interface in org.junit.jupiter.params.provider
@NullAndEmptySource is a composed annotation that combines the functionality of @NullSource and @EmptySource.
NullEnum - Enum Class in org.junit.jupiter.params.provider
Dummy enum class used as default value for optional attributes of annotations.
NullSource - Annotation Interface in org.junit.jupiter.params.provider
@NullSource is an ArgumentsSource which provides a single null argument to the annotated @ParameterizedTest method.
nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
A list of strings that should be interpreted as null references.
nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
A list of strings that should be interpreted as null references.
numLinesToSkip() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The number of lines to skip when reading the CSV files.

O

of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
org.junit.jupiter.params - package org.junit.jupiter.params
JUnit Jupiter extension for parameterized tests.
org.junit.jupiter.params.aggregator - package org.junit.jupiter.params.aggregator
The ArgumentsAggregator and ArgumentsAccessor interfaces and the AggregateWith annotation.
org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
ArgumentConverter implementations and the corresponding @ConvertWith annotation.
org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
ArgumentsProvider implementations and their corresponding ArgumentsSource annotations.
org.junit.jupiter.params.support - package org.junit.jupiter.params.support
Support classes for building providers and converters for arguments.

P

ParameterizedTest - Annotation Interface in org.junit.jupiter.params
@ParameterizedTest is used to signal that the annotated method is a parameterized test method.
provideArguments(ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
Provide a Stream of Arguments to be passed to a @ParameterizedTest method.
provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
Provide a Stream of Arguments — based on metadata in the provided annotation — to be passed to a @ParameterizedTest method.

Q

quoteCharacter() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The quote character to use for quoted strings.
quoteCharacter() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The quote character to use for quoted strings.

R

resources() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The CSV classpath resources to use as the sources of arguments; must not be empty unless CsvFileSource.files() is non-empty.

S

shorts() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The short values to use as sources of arguments; must not be empty.
SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
SimpleArgumentConverter is an abstract base class for ArgumentConverter implementations that only need to know the target type and do not need access to the ParameterContext to perform the conversion.
SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
size() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the number of arguments in this accessor.
size() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
strings() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
The String values to use as sources of arguments; must not be empty.

T

textBlock() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The CSV records to use as the source of arguments, supplied as a single text block; must not be empty.
toArray() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an array.
toArray() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toList() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an immutable list.
toList() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
TypedArgumentConverter<S,T> - Class in org.junit.jupiter.params.converter
TypedArgumentConverter is an abstract base class for ArgumentConverter implementations that always convert objects of a given source type into a given target type.
TypedArgumentConverter(Class<S>, Class<T>) - Constructor for class org.junit.jupiter.params.converter.TypedArgumentConverter
Create a new TypedArgumentConverter.

U

useHeadersInDisplayName() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
Configures whether the first CSV record should be treated as header names for columns.
useHeadersInDisplayName() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
Configures whether the first CSV record should be treated as header names for columns.

V

value() - Element in annotation interface org.junit.jupiter.params.aggregator.AggregateWith
 
value() - Element in annotation interface org.junit.jupiter.params.converter.ConvertWith
The type of ArgumentConverter to use.
value() - Element in annotation interface org.junit.jupiter.params.converter.JavaTimeConversionPattern
The date/time conversion pattern.
value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSource
The type of ArgumentsProvider to be used.
value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSources
An array of one or more @ArgumentsSource annotations.
value() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
The CSV records to use as the source of arguments; must not be empty.
value() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
The enum type that serves as the source of the enum constants.
value() - Element in annotation interface org.junit.jupiter.params.provider.MethodSource
The names of factory methods within the test class or in external classes to use as sources for arguments.
valueOf(String) - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.junit.jupiter.params.provider.NullEnum
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.junit.jupiter.params.provider.NullEnum
Returns an array containing the constants of this enum class, in the order they are declared.
ValueSource - Annotation Interface in org.junit.jupiter.params.provider
@ValueSource is an ArgumentsSource which provides access to an array of literal values.
A B C D E F G I J L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form