Package org.robolectric
Annotation Type ParameterizedRobolectricTestRunner.Parameters
- Enclosing class:
- ParameterizedRobolectricTestRunner
@Retention(RUNTIME)
@Target(METHOD)
public static @interface ParameterizedRobolectricTestRunner.Parameters
Annotation for a method which provides parameters to be injected into the test class
constructor by
Parameterized
-
Optional Element Summary
-
Element Details
-
name
String nameOptional pattern to derive the test's name from the parameters. Use numbers in braces to refer to the parameters or the additional data as follows:{index} - the current parameter index {0} - the first parameter value {1} - the second parameter value etc...
Default value is "{index}" for compatibility with previous JUnit versions.
- Returns:
MessageFormat
pattern string, except the index placeholder.- See Also:
- Default:
- "{index}"
-