Annotation Type RequiresDialectFeature


  • @Inherited
    @Retention(RUNTIME)
    @Target({TYPE,METHOD,ANNOTATION_TYPE})
    @Repeatable(RequiresDialectFeatureGroup.class)
    @ExtendWith(DialectFilterExtension.class)
    public @interface RequiresDialectFeature
    Annotation used to indicate that a test should be run only when the current dialect supports the specified feature.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends DialectFeatureCheck> feature  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comment
      Comment describing the reason why the feature is required.
      java.lang.String jiraKey
      The key of a JIRA issue which relates this this feature requirement.
      boolean reverse  
    • Element Detail

      • feature

        java.lang.Class<? extends DialectFeatureCheck> feature
        Returns:
        Class which checks the necessary dialect feature
      • reverse

        boolean reverse
        Returns:
        Whether the decision of feature() is reversed
        Default:
        false
      • comment

        java.lang.String comment
        Comment describing the reason why the feature is required.
        Returns:
        The comment
        Default:
        ""
      • jiraKey

        java.lang.String jiraKey
        The key of a JIRA issue which relates this this feature requirement.
        Returns:
        The jira issue key
        Default:
        ""