Annotation Interface RequiresDialect


Indicates that the annotated test class/method should only be run when the indicated Dialect is being used.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Dialect>
    The Dialect class to match.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Comment describing the reason why the dialect is required.
    int
     
    boolean
    Should subtypes of value() be matched?
    int
     
    int
     
  • Element Details

    • value

      Class<? extends Dialect> value
      The Dialect class to match.
    • matchSubTypes

      boolean matchSubTypes
      Should subtypes of value() be matched?
      Default:
      true
    • majorVersion

      int majorVersion
      Default:
      -1
    • minorVersion

      int minorVersion
      Default:
      -1
    • microVersion

      int microVersion
      Default:
      -1
    • comment

      String comment
      Comment describing the reason why the dialect is required.
      Returns:
      The comment
      Default:
      ""