Interface RepeatUtils.TestMethod

Enclosing class:
RepeatUtils

public static interface RepeatUtils.TestMethod
A generic test method descriptor. To be implemented by various testing frameworks.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Annotation>
    T
    getAnnotation(@NotNull Class<T> annotationClass)
    Get an annotation of a given class for this test method.
  • Method Details

    • getAnnotation

      @Nullable <T extends Annotation> T getAnnotation(@NotNull @NotNull Class<T> annotationClass)
      Get an annotation of a given class for this test method. If the test method is not annotated, the annotation may be obtained from the test class.

      Should return null if the annotation is not present.