AnnotationBasedArgumentsProvider is an abstract base class for
ArgumentsProvider implementations that also need to consume an
annotation in order to provide the arguments.
org.junit.jupiter.params.ParameterizedClass , org.junit.jupiter.params.ParameterizedTest , org.junit.jupiter.params.provider.ArgumentsSource , org.junit.jupiter.params.provider.Arguments , org.junit.jupiter.params.provider.ArgumentsProvider , org.junit.jupiter.params.support.AnnotationConsumer
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | accept(A annotation)
Implements java. Performs this operation on the given argument. |
| public Stream | provideArguments(ParameterDeclarations parameters, ExtensionContext context)
Overrides default org. Provide a |
| protected Stream | Returns: a stream of arguments; nevernullthe current extension context; never context, A nullthe annotation to process; never annotation)null
Deprecated
since 5.13. Please implement
provideArguments(ParameterDeclarations, ExtensionContext, Annotation)
instead.
Provide a |
| protected Stream | provideArguments(ParameterDeclarations parameters, ExtensionContext context, A annotation)
The returned |
| annotations | back to summary |
|---|---|
| private final List<A> annotations | |
| AnnotationBasedArgumentsProvider | back to summary |
|---|---|
| public AnnotationBasedArgumentsProvider() | |
| accept | back to summary |
|---|---|
| public final void accept(A annotation) Implements java. Doc from java. Performs this operation on the given argument.
| |
| provideArguments | back to summary |
|---|---|
| public Stream Overrides default org. Doc from org. Provide a
| |
| provideArguments | back to summary |
|---|---|
| protected Stream Deprecated since 5.13. Please implement
Provide a
| |
| provideArguments | back to summary |
|---|---|
| protected Stream The returned | |