注释类型 Parameterized.Parameters

    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      Stringname
      Optional pattern to derive the test's name from the parameters.
    • 元素详细资料

      • name

        String name
        Optional 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.

        返回:
        MessageFormat pattern string, except the index placeholder.
        另请参阅:
        MessageFormat
        默认值:
        "{index}"