Class Arguments.ArgumentSet

java.lang.Object
org.junit.jupiter.params.provider.Arguments.ArgumentSet
All Implemented Interfaces:
Arguments
Enclosing interface:
Arguments

@API(status=EXPERIMENTAL, since="5.11") public static final class Arguments.ArgumentSet extends Object implements Arguments
Specialization of Arguments that associates a name with a set of arguments.
Since:
5.11
See Also:
  • Method Details

    • getName

      public String getName()
      Get the name of this ArgumentSet.
      Returns:
      the name of this ArgumentSet; never null or blank
    • get

      public Object[] get()
      Description copied from interface: Arguments
      Get the arguments used for an invocation of the @ParameterizedTest method.
      Specified by:
      get in interface Arguments
      Returns:
      the arguments; never null
    • toString

      public String toString()
      Return the name of this ArgumentSet.
      Overrides:
      toString in class Object
      Returns:
      the name of this ArgumentSet