A B C D E F G I J L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
-
Aggregate the arguments contained in the supplied
accessorinto a single object. - AggregateWith - Annotation Type in org.junit.jupiter.params.aggregator
-
@AggregateWithis an annotation that allows one to specify anArgumentsAggregator. - AnnotationConsumer<A extends java.lang.annotation.Annotation> - Interface in org.junit.jupiter.params.support
-
AnnotationConsumeris a functional interface for consuming annotations. - AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializeris an internal helper class for initializingAnnotationConsumers. - ArgumentAccessException - Exception in org.junit.jupiter.params.aggregator
-
ArgumentAccessExceptionis an exception thrown by anArgumentsAccessorif 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
-
ArgumentConversionExceptionis an exception that can occur when an object is converted to another object by an implementation of anArgumentConverter. - 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
-
ArgumentConverteris 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
Argumentsbased on the suppliedarguments. - Arguments - Interface in org.junit.jupiter.params.provider
-
Argumentsis an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTestmethod. - ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the complete, comma-separated arguments list of the current invocation of a
@ParameterizedTestmethod:{arguments} - ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the complete, comma-separated named arguments list of the current invocation of a
@ParameterizedTestmethod:{argumentsWithNames} - ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAccessordefines the public API for accessing arguments provided by anArgumentsProviderfor a single invocation of a@ParameterizedTestmethod. - ArgumentsAggregationException - Exception in org.junit.jupiter.params.aggregator
-
ArgumentsAggregationExceptionis an exception thrown by anArgumentsAggregatorwhen 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
-
ArgumentsAggregatoris an abstraction for the aggregation of arguments provided by anArgumentsProviderfor a single invocation of a@ParameterizedTestmethod into a single object. - ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvideris responsible for providing a stream of arguments to be passed to a@ParameterizedTestmethod. - ArgumentsSource - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSourceis a repeatable annotation that is used to register argument providers for the annotated test method. - ArgumentsSources - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSourcesis a simple container for one or moreArgumentsSourceannotations.
B
- booleans() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
booleanvalues to use as sources of arguments; must not be empty. - bytes() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
bytevalues to use as sources of arguments; must not be empty.
C
- chars() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
charvalues to use as sources of arguments; must not be empty. - classes() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
Classvalues to use as sources of arguments; must not be empty. - 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
sourceobject into to the suppliedtargetType. - convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
-
Convert the supplied
sourceobject 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
-
@ConvertWithis an annotation that allows one to specify an explicitArgumentConverter. - CsvFileSource - Annotation Type in org.junit.jupiter.params.provider
-
@CsvFileSourceis anArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpathresources. - 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 Type in org.junit.jupiter.params.provider
-
@CsvSourceis anArgumentsSourcewhich reads comma-separated values (CSV) from one or more supplied CSV lines.
D
- DEFAULT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Default display name pattern for the current invocation of a
@ParameterizedTestmethod: "[{index}] {argumentsWithNames}" - DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
-
DefaultArgumentConverteris the default implementation of theArgumentConverterAPI. - DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
-
Default implementation of the
ArgumentsAccessorAPI. - DefaultArgumentsAccessor(Object...) - Constructor for class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- delimiter() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter character to use when reading the CSV files.
- delimiter() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The column delimiter character to use when reading the lines.
- delimiterString() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter string to use when reading the CSV files.
- delimiterString() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The column delimiter string to use when reading the lines.
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the display name of a
@ParameterizedTestmethod:{displayName} - doubles() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
doublevalues to use as sources of arguments; must not be empty.
E
- EmptySource - Annotation Type in org.junit.jupiter.params.provider
-
@EmptySourceis anArgumentsSourcewhich provides a single empty argument to the annotated@ParameterizedTestmethod. - emptyValue() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The empty value to use when reading the CSV files.
- emptyValue() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The empty value to use when reading the lines.
- encoding() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The encoding to use when reading the CSV files; must be a valid charset.
- 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.
F
- floats() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
floatvalues 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
@ParameterizedTestmethod. - 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
- 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
- INCLUDE - 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 type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the current invocation index of a
@ParameterizedTestmethod (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() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
intvalues to use as sources of arguments; must not be empty.
J
- JavaTimeConversionPattern - Annotation Type in org.junit.jupiter.params.converter
-
@JavaTimeConversionPatternis an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedTestmethod.
L
- lineSeparator() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The line separator to use when reading the CSV files; must consist of 1 or 2 characters.
- longs() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
longvalues to use as sources of arguments; must not be empty.
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
-
@MethodSourceis anArgumentsSourcewhich 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() - Method in annotation type org.junit.jupiter.params.provider.EnumSource
-
The enum constant selection mode.
N
- name() - Method in annotation type 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() - Method in annotation type 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 Type in org.junit.jupiter.params.provider
-
@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@EmptySource. - NullEnum - Enum in org.junit.jupiter.params.provider
-
Dummy enum class used as default value for optional attributes of annotations.
- NullSource - Annotation Type in org.junit.jupiter.params.provider
-
@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedTestmethod. - nullValues() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
nullreferences. - nullValues() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
nullreferences. - numLinesToSkip() - Method in annotation type 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
Argumentsbased on the suppliedarguments. - 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
- org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
-
ArgumentConverterimplementations and the corresponding@ConvertWithannotation. - org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
ArgumentsProviderimplementations and their correspondingArgumentsSourceannotations. - 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
-
@ParameterizedTestis used to signal that the annotated method is a parameterized test method. - provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
R
- resources() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The CSV classpath resources to use as the sources of arguments; must not be empty.
S
- shorts() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
shortvalues to use as sources of arguments; must not be empty. - SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
-
SimpleArgumentConverteris an abstract base class forArgumentConverterimplementations. - 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() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
Stringvalues to use as sources of arguments; must not be empty.
T
- 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
V
- value() - Method in annotation type org.junit.jupiter.params.aggregator.AggregateWith
- value() - Method in annotation type org.junit.jupiter.params.converter.ConvertWith
-
The type of
ArgumentConverterto use. - value() - Method in annotation type org.junit.jupiter.params.converter.JavaTimeConversionPattern
-
The date/time conversion pattern.
- value() - Method in annotation type org.junit.jupiter.params.provider.ArgumentsSource
-
The type of
ArgumentsProviderto be used. - value() - Method in annotation type org.junit.jupiter.params.provider.ArgumentsSources
-
An array of one or more
@ArgumentsSourceannotations. - value() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The CSV lines to use as the source of arguments; must not be empty.
- value() - Method in annotation type org.junit.jupiter.params.provider.EnumSource
-
The enum type that serves as the source of the enum constants.
- value() - Method in annotation type 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 org.junit.jupiter.params.provider.EnumSource.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junit.jupiter.params.provider.NullEnum
-
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.
- values() - Static method in enum org.junit.jupiter.params.provider.NullEnum
-
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
-
@ValueSourceis anArgumentsSourcewhich provides access to an array of literal values.
All Classes All Packages