Index
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
- AfterParameterizedClassInvocation - Annotation Interface in org.junit.jupiter.params
-
@AfterParameterizedClassInvocationis used to signal that the annotated method should be executed before each invocation of the current@ParameterizedClass. - aggregateArguments(ArgumentsAccessor, Class, AnnotatedElementContext, int) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
-
Aggregate the arguments contained in the supplied
accessorinto a single object. - aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- aggregateArguments(ArgumentsAccessor, FieldContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
-
Aggregate the arguments contained in the supplied
accessorinto a single object. - aggregateArguments(ArgumentsAccessor, FieldContext) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- AggregateWith - Annotation Interface in org.junit.jupiter.params.aggregator
-
@AggregateWithis an annotation that allows one to specify anArgumentsAggregator. - allowZeroInvocations() - Element in annotation interface org.junit.jupiter.params.ParameterizedClass
-
Configure whether zero invocations are allowed for this parameterized class.
- allowZeroInvocations() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Configure whether zero invocations are allowed for this parameterized test.
- AnnotationBasedArgumentConverter<A> - Class in org.junit.jupiter.params.converter
-
AnnotationBasedArgumentConverteris an abstract base class forArgumentConverterimplementations 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> - Class in org.junit.jupiter.params.provider
-
AnnotationBasedArgumentsProvideris an abstract base class forArgumentsProviderimplementations 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> - 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. - ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for either
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDERorParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDER, depending on whether the current set of arguments was created viaargumentSet():{argumentSetNameOrArgumentsWithNames}. - ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.
- ARGUMENT_SET_NAME_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the name of the argument set for the current invocation of a
@ParameterizedTestmethod:{argumentSetName}. - ARGUMENT_SET_NAME_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDERinstead. - ArgumentAccessException - Exception Class 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 class org.junit.jupiter.params.aggregator.ArgumentAccessException
- ArgumentAccessException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
- Argument Conversion - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- Argument Conversion - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- ArgumentConversionException - Exception Class 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 class org.junit.jupiter.params.converter.ArgumentConversionException
- ArgumentConversionException(String, Throwable) - Constructor for exception class 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. - argumentCountValidation() - Element in annotation interface org.junit.jupiter.params.ParameterizedClass
-
Configure how the number of arguments provided by an
ArgumentsSourceare validated. - argumentCountValidation() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Configure how the number of arguments provided by an
ArgumentsSourceare validated. - ArgumentCountValidationMode - Enum Class in org.junit.jupiter.params
-
Enumeration of argument count validation modes for
@ParameterizedClassand@ParameterizedTest. - 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 class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the complete, comma-separated arguments list of the current invocation of a
@ParameterizedTestmethod:{arguments} - ARGUMENTS_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDERinstead. - ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the complete, comma-separated named arguments list of the current invocation of a
@ParameterizedTestmethod:{argumentsWithNames} - ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead. - Arguments.ArgumentSet - Class in org.junit.jupiter.params.provider
- 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 Class in org.junit.jupiter.params.aggregator
-
ArgumentsAggregationExceptionis an exception thrown by anArgumentsAggregatorwhen an error occurs while aggregating arguments. - ArgumentsAggregationException(String) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- ArgumentsAggregationException(String, Throwable) - Constructor for exception class 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. - argumentSet(String, Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
- ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvideris responsible for providing a stream of arguments to be passed to a@ParameterizedClassor@ParameterizedTest. - Arguments Providers and Sources - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- Arguments Providers and Sources - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- ArgumentsSource - Annotation Interface in org.junit.jupiter.params.provider
-
@ArgumentsSourceis a repeatable annotation that is used to register arguments providers for the annotated class or method. - ArgumentsSources - Annotation Interface in org.junit.jupiter.params.provider
-
@ArgumentsSourcesis a simple container for one or moreArgumentsSourceannotations. - autoCloseArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedClass
-
Configure whether all arguments of the parameterized class that implement
AutoCloseablewill be closed after their corresponding invocation. - autoCloseArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Configure whether all arguments of the parameterized test that implement
AutoCloseablewill be closed after their corresponding invocation.
B
- BeforeParameterizedClassInvocation - Annotation Interface in org.junit.jupiter.params
-
@BeforeParameterizedClassInvocationis used to signal that the annotated method should be executed before each invocation of the current@ParameterizedClass. - booleans() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
booleanvalues to use as sources of arguments; must not be empty. - bytes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
bytevalues to use as sources of arguments; must not be empty.
C
- chars() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
charvalues to use as sources of arguments; must not be empty. - classes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
Classvalues to use as sources of arguments; must not be empty. - Composed Annotations - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- Composed Annotations - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- Composition - Section in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
- Composition - Section in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Constructor Injection - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- convert(S) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
-
Convert the supplied
sourceobject of typeSinto an object of typeT. - convert(Object, Class) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
-
Convert the supplied
sourceobject into the suppliedtargetType. - convert(Object, Class, A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
-
Convert the supplied
sourceobject into the suppliedtargetType, based on metadata in the provided annotation. - convert(Object, Class, ClassLoader) - 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
sourceobject according to the suppliedcontext. - 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(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
- convert(Object, FieldContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
-
Convert the supplied
sourceobject according to the suppliedcontext. - convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
- convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
- ConvertWith - Annotation Interface in org.junit.jupiter.params.converter
-
@ConvertWithis an annotation that allows one to specify an explicitArgumentConverter. - create(int, ClassLoader, Object[]) - Static method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- CsvFileSource - Annotation Interface in org.junit.jupiter.params.provider
-
@CsvFileSourceis a repeatableArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()orCsvFileSource.files(). - CsvFileSources - Annotation Interface in org.junit.jupiter.params.provider
-
@CsvFileSourcesis a simple container for one or moreCsvFileSourceannotations. - CsvParsingException - Exception Class in org.junit.jupiter.params.provider
-
Thrown if an error is encountered while parsing CSV input.
- CsvParsingException(String) - Constructor for exception class org.junit.jupiter.params.provider.CsvParsingException
- CsvParsingException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.provider.CsvParsingException
- CsvSource - Annotation Interface in org.junit.jupiter.params.provider
-
@CsvSourceis a repeatableArgumentsSourcewhich reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()attribute orCsvSource.textBlock()attribute. - CsvSources - Annotation Interface in org.junit.jupiter.params.provider
-
@CsvSourcesis a simple container for one or moreCsvSourceannotations.
D
- DEFAULT - Enum constant in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Use the default validation mode.
- DEFAULT_DISPLAY_NAME - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Default display name pattern for the current invocation of a
@ParameterizedTestmethod: "[{index}] {argumentSetNameOrArgumentsWithNames}" - DEFAULT_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.DEFAULT_DISPLAY_NAMEinstead. - 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. - 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 class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the display name of a
@ParameterizedTestmethod:{displayName} - DISPLAY_NAME_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDERinstead. - doubles() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
doublevalues to use as sources of arguments; must not be empty.
E
- EmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@EmptySourceis anArgumentsSourcewhich provides a single empty argument to the annotated@ParameterizedClassor@ParameterizedTest. - 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.Mode - Enum Class in org.junit.jupiter.params.provider
-
Enumeration of modes for selecting enum constants by name.
- EnumSources - Annotation Interface in org.junit.jupiter.params.provider
-
@EnumSourcesis a simple container for one or moreEnumSourceannotations. - Example - Section in org.junit.jupiter.params.provider.CsvFileSource.useHeadersInDisplayName()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.textBlock()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.useHeadersInDisplayName()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.value()
- Examples - Section in annotation interface org.junit.jupiter.params.provider.FieldSource
- Examples - Section in annotation interface org.junit.jupiter.params.provider.MethodSource
- 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
- FieldContext - Interface in org.junit.jupiter.params.support
-
FieldContextencapsulates the context in which an@Parameter-annotatedFieldis declared in a@ParameterizedClass. - Field injection - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- Field or Constructor Injection - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- FieldSource - Annotation Interface in org.junit.jupiter.params.provider
-
@FieldSourceis a repeatableArgumentsSourcewhich provides access to values of fields of the class in which this annotation is declared or from static fields in external classes referenced by fully qualified field name. - FieldSources - Annotation Interface in org.junit.jupiter.params.provider
-
@FieldSourcesis a simple container for one or moreFieldSourceannotations. - 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
floatvalues to use as sources of arguments; must not be empty. - Formal Parameter List - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- from() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The starting enum constant of the range to be included.
G
- get() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
- 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) - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
-
Returns the indexed parameter declaration for the supplied index, if available; never
null. - get(int, Class) - 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) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- get(ExtensionContext) - Static method in interface org.junit.jupiter.params.ParameterInfo
-
Returns the closest
ParameterInfoinstance for the suppliedExtensionContext; potentiallynull. - get(ExtensionContext) - Static method in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ParameterInfo.get(ExtensionContext)instead - getAll() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
-
Returns all indexed parameter declarations; never
null, sorted by index. - getAnnotatedElement() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
-
Returns the
AnnotatedElementthat declares the parameter; nevernull. - getArguments() - Method in interface org.junit.jupiter.params.ParameterInfo
-
Returns the accessor to the arguments of the current invocation.
- 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
- getDeclarations() - Method in interface org.junit.jupiter.params.ParameterInfo
-
Returns the declarations of all indexed parameters.
- 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
- getField() - Method in interface org.junit.jupiter.params.support.FieldContext
-
Returns the field for this context; never
null. - getFirst() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
-
Returns the first indexed parameter declaration, if available; never
null. - 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
- getName() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
-
Get the name of this
ArgumentSet. - getName() - Method in class org.junit.jupiter.params.support.ParameterNameAndArgument
-
Get the customized name of the parameter.
- getParameterIndex() - Method in interface org.junit.jupiter.params.support.FieldContext
-
Returns the index of the parameter.
- getParameterIndex() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
-
Returns the index of the parameter.
- getParameterName() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
-
Returns the name of the parameter, if available; never
nullbut potentially empty. - getParameterType() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
-
Returns the type of the parameter; never
null. - getPayload() - Method in class org.junit.jupiter.params.support.ParameterNameAndArgument
-
Get the argument for the parameter.
- 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
- getSourceElement() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
-
Returns the source element of all parameter declarations.
- getSourceElementDescription() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
-
Returns a human-readable description of the source element.
- 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 class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the current invocation index of a
@ParameterizedTestmethod (1-based):{index} - INDEX_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.INDEX_PLACEHOLDERinstead. - Inheritance - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- Inheritance - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.ArgumentsSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.ArgumentsSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.CsvFileSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.CsvFileSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.CsvSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.CsvSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.EmptySource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.EnumSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.EnumSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.FieldSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.FieldSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.MethodSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.MethodSources
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.NullAndEmptySource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.NullSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.ValueSource
- Inheritance - Section in annotation interface org.junit.jupiter.params.provider.ValueSources
- Inheritance and Execution Order - Section in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
- Inheritance and Execution Order - Section in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- injectArguments() - Element in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
-
Whether the arguments of the parameterized test class should be injected into the annotated method (defaults to
true). - injectArguments() - Element in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
-
Whether the arguments of the parameterized test class should be injected into the annotated method (defaults to
true). - INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- ints() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
intvalues to use as sources of arguments; must not be empty.
J
- JavaTimeConversionPattern - Annotation Interface in org.junit.jupiter.params.converter
-
@JavaTimeConversionPatternis an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedClassor@ParameterizedTest.
K
- KEY - Static variable in interface org.junit.jupiter.params.ParameterInfo
-
The key for retrieving the
ParameterInfoinstance from theStore. - KEY - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ParameterInfo.KEYinstead
L
- Lifecycle Methods - Section in annotation interface org.junit.jupiter.params.ParameterizedClass
- longs() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
longvalues 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.
- Method Arguments - Section in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
- Method Arguments - Section in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Method Signatures - Section in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
- Method Signatures - Section in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- MethodSource - Annotation Interface in org.junit.jupiter.params.provider
-
@MethodSourceis a repeatableArgumentsSourcewhich 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. - MethodSources - Annotation Interface in org.junit.jupiter.params.provider
-
@MethodSourcesis a simple container for one or moreMethodSourceannotations. - 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.ParameterizedClass
-
The display name to be used for individual invocations of the parameterized class; never blank or consisting solely of whitespace.
- 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.
- NAMESPACE - Static variable in interface org.junit.jupiter.params.ParameterInfo
-
The
ExtensionContext.Namespacefor accessing theStoreforParameterInfo. - NAMESPACE - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ParameterInfo.NAMESPACEinstead - NONE - Enum constant in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Use the "none" argument count validation mode.
- nullable() - Element in annotation interface org.junit.jupiter.params.converter.JavaTimeConversionPattern
-
Whether
nullargument values are allowed. - NullAndEmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@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
-
@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedClassor@ParameterizedTest. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
nullreferences. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
nullreferences. - 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
Argumentsbased on the suppliedarguments. - org.junit.jupiter.params - module org.junit.jupiter.params
-
JUnit Jupiter extension for parameterized tests.
- 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
- Parameter - Annotation Interface in org.junit.jupiter.params
-
@Parameteris used to signal that a field in a@ParameterizedClassconstitutes a parameter and marks it for field injection. - ParameterDeclaration - Interface in org.junit.jupiter.params.support
-
ParameterDeclarationencapsulates the declaration of an indexed@ParameterizedClassor@ParameterizedTestparameter. - ParameterDeclarations - Interface in org.junit.jupiter.params.support
-
ParameterDeclarationsencapsulates the combined declarations of all indexed@ParameterizedClassor@ParameterizedTestparameters. - ParameterInfo - Interface in org.junit.jupiter.params
-
ParameterInfois used to provide information about the current invocation of a parameterized class or test. - ParameterInfo - Interface in org.junit.jupiter.params.support
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ParameterInfoinstead - ParameterizedClass - Annotation Interface in org.junit.jupiter.params
-
@ParameterizedClassis used to signal that the annotated class is a parameterized test class. - ParameterizedInvocationConstants - Class in org.junit.jupiter.params
-
Constants for the use with the
@ParameterizedClassand@ParameterizedTestannotations. - ParameterizedTest - Annotation Interface in org.junit.jupiter.params
-
@ParameterizedTestis used to signal that the annotated method is a parameterized test method. - ParameterNameAndArgument - Class in org.junit.jupiter.params.support
-
Customized parameter name and its associated argument value.
- ParameterNameAndArgument(String, Object) - Constructor for class org.junit.jupiter.params.support.ParameterNameAndArgument
- provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
-
Deprecated.Please implement
ArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext)instead. - provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
-
Deprecated.Please implement
AnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext, Annotation)instead. - provideArguments(ParameterDeclarations, ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideArguments(ParameterDeclarations, ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
- provideArguments(ParameterDeclarations, ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
-
The returned
Streamwill beproperly closedby the default implementation ofAnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext), making it safe to use a resource such asFiles.lines().
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.
- quoteTextArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedClass
-
Configure whether to enclose text-based argument values in quotes within display names.
- quoteTextArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Configure whether to enclose text-based argument values in quotes within display names.
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
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 that only need to know the target type and do not need access to theParameterContextto perform the conversion. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
- SimpleArgumentsAggregator - Class in org.junit.jupiter.params.aggregator
-
SimpleArgumentsAggregatoris an abstract base class forArgumentsAggregatorimplementations that do not need to distinguish between fields and method/constructor parameters. - SimpleArgumentsAggregator() - Constructor for class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- 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
- STRICT - Enum constant in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Use the strict argument count validation mode.
- strings() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
Stringvalues to use as sources of arguments; must not be empty. - Supported Parameter Types - Section in annotation interface org.junit.jupiter.params.provider.EmptySource
- Supported placeholders - Section in org.junit.jupiter.params.ParameterizedClass.name()
- Supported placeholders - Section in org.junit.jupiter.params.ParameterizedTest.name()
T
- Test Execution Order - Section in annotation interface org.junit.jupiter.params.ParameterizedTest
- 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.
- to() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The ending enum constant of the range to be included.
- 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
- toString() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
-
Return the
nameof thisArgumentSet. - toString() - Method in class org.junit.jupiter.params.support.ParameterNameAndArgument
- TypedArgumentConverter<S,
T> - Class in org.junit.jupiter.params.converter -
TypedArgumentConverteris an abstract base class forArgumentConverterimplementations that always convert objects of a given source type into a given target type. - TypedArgumentConverter(Class, Class) - Constructor for class org.junit.jupiter.params.converter.TypedArgumentConverter
-
Create a new
TypedArgumentConverter.
U
- UNSET_INDEX - Static variable in annotation interface org.junit.jupiter.params.Parameter
-
Constant that indicates that the index of the parameter is unset.
- 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
ArgumentConverterto 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.Parameter
-
Returns the index of the parameter in the list of parameters.
- value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSource
-
The type of
ArgumentsProviderto be used. - value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSources
-
An array of one or more
@ArgumentsSourceannotations. - value() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSources
-
An array of one or more
@CsvFileSourceannotations. - 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.CsvSources
-
An array of one or more
@CsvSourceannotations. - 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.EnumSources
-
An array of one or more
@EnumSourceannotations. - value() - Element in annotation interface org.junit.jupiter.params.provider.FieldSource
-
The names of fields within the test class or in external classes to use as sources for arguments.
- value() - Element in annotation interface org.junit.jupiter.params.provider.FieldSources
-
An array of one or more
@FieldSourceannotations. - 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.
- value() - Element in annotation interface org.junit.jupiter.params.provider.MethodSources
-
An array of one or more
@MethodSourceannotations. - value() - Element in annotation interface org.junit.jupiter.params.provider.ValueSources
-
An array of one or more
@ValueSourceannotations. - valueOf(String) - Static method in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Returns the enum constant of this class with the specified name.
- 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.ArgumentCountValidationMode
-
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.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
- ValueSources - Annotation Interface in org.junit.jupiter.params.provider
-
@ValueSourcesis a simple container for one or moreValueSourceannotations.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.