class MethodArgumentsProvider extends java.lang.Object implements ArgumentsProvider, AnnotationConsumer<MethodSource>
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
methodNames |
Constructor and Description |
---|
MethodArgumentsProvider() |
Modifier and Type | Method and Description |
---|---|
void |
accept(MethodSource annotation) |
java.util.stream.Stream<Arguments> |
provideArguments(ExtensionContext context)
|
private static Arguments |
toArguments(java.lang.Object item) |
public void accept(MethodSource annotation)
accept
in interface java.util.function.Consumer<MethodSource>
public java.util.stream.Stream<Arguments> provideArguments(ExtensionContext context)
ArgumentsProvider
provideArguments
in interface ArgumentsProvider
context
- the current extension context; never null
null
private static Arguments toArguments(java.lang.Object item)