Annotation Type CartesianTest.Values
- Enclosing class:
CartesianTest
@Retention(RUNTIME)
@Target({PARAMETER,ANNOTATION_TYPE})
@CartesianArgumentsSource(CartesianValueArgumentsProvider.class)
public static @interface CartesianTest.Values
Parameter annotation to be used with
CartesianTest for providing simple values.- Since:
- 1.5.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean[]Thebooleanvalues to use as sources of arguments; must not be empty.byte[]Thebytevalues to use as sources of arguments; must not be empty.char[]Thecharvalues to use as sources of arguments; must not be empty.Class<?>[]TheClassvalues to use as sources of arguments; must not be empty.double[]Thedoublevalues to use as sources of arguments; must not be empty.float[]Thefloatvalues to use as sources of arguments; must not be empty.int[]Theintvalues to use as sources of arguments; must not be empty.long[]Thelongvalues to use as sources of arguments; must not be empty.short[]Theshortvalues to use as sources of arguments; must not be empty.String[]TheStringvalues to use as sources of arguments; must not be empty.
-
Element Details
-
shorts
short[] shortsTheshortvalues to use as sources of arguments; must not be empty.- Default:
{}
-
bytes
byte[] bytesThebytevalues to use as sources of arguments; must not be empty.- Default:
{}
-
ints
int[] intsTheintvalues to use as sources of arguments; must not be empty.- Default:
{}
-
longs
long[] longsThelongvalues to use as sources of arguments; must not be empty.- Default:
{}
-
floats
float[] floatsThefloatvalues to use as sources of arguments; must not be empty.- Default:
{}
-
doubles
double[] doublesThedoublevalues to use as sources of arguments; must not be empty.- Default:
{}
-
chars
char[] charsThecharvalues to use as sources of arguments; must not be empty.- Default:
{}
-
booleans
boolean[] booleansThebooleanvalues to use as sources of arguments; must not be empty.- Default:
{}
-
strings
-
classes
-