Top Description Constructors Methods
org.junit.jupiter.params.aggregator

public abstract Class SimpleArgumentsAggregator

extends Object
implements ArgumentsAggregator
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.params.aggregator.ArgumentsAggregator
Annotations
@API
status:EXPERIMENTAL
since:6.0
Static Imports
org.apiguardian.api.API.Status.EXPERIMENTAL

SimpleArgumentsAggregator is an abstract base class for ArgumentsAggregator implementations that do not need to distinguish between fields and method/constructor parameters.
Since
5.0
See Also
ArgumentsAggregator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable Object
aggregateArguments(ArgumentsAccessor accessor, ParameterContext context)

Implements org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Aggregate the arguments contained in the supplied accessor into a single object.

public @Nullable Object
aggregateArguments(ArgumentsAccessor accessor, FieldContext context)

Overrides default org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Aggregate the arguments contained in the supplied accessor into a single object.

protected abstract @Nullable Object
aggregateArguments(ArgumentsAccessor accessor, Class<?> targetType, AnnotatedElementContext context, int parameterIndex)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SimpleArgumentsAggregatorback to summary
public SimpleArgumentsAggregator()

Method Detail

aggregateArgumentsback to summary
public @Nullable Object aggregateArguments(ArgumentsAccessor accessor, ParameterContext context) throws ArgumentsAggregationException

Implements org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Doc from org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Aggregate the arguments contained in the supplied accessor into a single object.

Annotations
@Override
Exceptions
ArgumentsAggregationException:
if an error occurs during the aggregation
aggregateArgumentsback to summary
public @Nullable Object aggregateArguments(ArgumentsAccessor accessor, FieldContext context) throws ArgumentsAggregationException

Overrides default org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Doc from org.junit.jupiter.params.aggregator.ArgumentsAggregator.aggregateArguments.

Aggregate the arguments contained in the supplied accessor into a single object.

Annotations
@Override
Exceptions
ArgumentsAggregationException:
if an error occurs during the aggregation
aggregateArgumentsback to summary
protected abstract @Nullable Object aggregateArguments(ArgumentsAccessor accessor, Class<?> targetType, AnnotatedElementContext context, int parameterIndex) throws ArgumentsAggregationException