注释类型 Parameterized.Parameter
@Retention(RUNTIME) @Target(FIELD) public static @interface Parameterized.Parameter
Annotation for fields of the test class which will be initialized by the method annotated byParameters
. By using directly this annotation, the test class constructor isn't needed. Index range must start at 0. Default value is 0.
可选元素概要
可选元素 修饰符和类型 可选元素 说明 int
value
Method that returns the index of the parameter in the array returned by the method annotated byParameters
.
元素详细资料
value
int value
Method that returns the index of the parameter in the array returned by the method annotated byParameters
. Index range must start at 0. Default value is 0.- 返回:
- the index of the parameter.
- 默认值:
- 0