Annotation Interface PrefixGameTestTemplate


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface PrefixGameTestTemplate
When used on a class, this sets the default state for whether to prefix any contained game test templates with the simple class name or not.

When used on a method, this defines whether the specific method should be prefixed with the simple class name or not.

If this annotation cannot be found on a game test method or its containing class, the default behavior is to prefix the class name.

Method annotations override any class annotations.

另请参阅:
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
    Whether to prefix the game test template with the containing class' simple name.
  • 元素详细资料

    • value

      boolean value
      Whether to prefix the game test template with the containing class' simple name. For example, true in a class named "MyTest" would result in "mytest.structure" while false would result in "structure".

      Only applies to methods annotated with GameTest.

      默认值:
      true