注释类型 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 by Parameters. By using directly this annotation, the test class constructor isn't needed. Index range must start at 0. Default value is 0.
    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      intvalue
      Method that returns the index of the parameter in the array returned by the method annotated by Parameters.
    • 元素详细资料

      • value

        int value
        Method that returns the index of the parameter in the array returned by the method annotated by Parameters. Index range must start at 0. Default value is 0.
        返回:
        the index of the parameter.
        默认值:
        0