Annotation Interface RequiresDialect


Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit 5 and RequiresDialect instead.
Annotation used to indicate that a test should be run only when run against the indicated dialects.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Dialect>
    Deprecated, for removal: This API element is subject to removal in a future version.
    The dialects against which to run the test
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Comment describing the reason why the dialect is required.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The key of a JIRA issue which relates this this restriction
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
  • Element Details

    • value

      Class<? extends Dialect> value
      Deprecated, for removal: This API element is subject to removal in a future version.
      The dialects against which to run the test
      Returns:
      The dialects
    • strictMatching

      boolean strictMatching
      Deprecated, for removal: This API element is subject to removal in a future version.
      Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
      Returns:
      Should strict matching be used?
      Default:
      false
    • comment

      String comment
      Deprecated, for removal: This API element is subject to removal in a future version.
      Comment describing the reason why the dialect is required.
      Returns:
      The comment
      Default:
      ""
    • jiraKey

      String jiraKey
      Deprecated, for removal: This API element is subject to removal in a future version.
      The key of a JIRA issue which relates this this restriction
      Returns:
      The jira issue key
      Default:
      ""