Annotation Type SkipWhenDatabaseVersion

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      EqualityCheck check
      Defines the type of equal-check that should initiate the skip on the test class or method.
      int major
      Specify the database major version; cannot be omitted.
      String reason
      Specifies the reason for skipping the method, used when logging a skipped test.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int minor
      Specify the database minor version; defaults to -1 to imply skipping minor version check.
      int patch
      Specify the database patch version; defaults to {code -1} to imply skipping patch version check.
    • Element Detail

      • major

        int major
        Specify the database major version; cannot be omitted.
      • check

        EqualityCheck check
        Defines the type of equal-check that should initiate the skip on the test class or method.
      • reason

        String reason
        Specifies the reason for skipping the method, used when logging a skipped test.
      • minor

        int minor
        Specify the database minor version; defaults to -1 to imply skipping minor version check.
        Default:
        -1
      • patch

        int patch
        Specify the database patch version; defaults to {code -1} to imply skipping patch version check.
        Returns:
        Default:
        -1