Annotation Interface FailureExpected


@Retention(RUNTIME) @Target({METHOD,TYPE}) @Deprecated(forRemoval=true) public @interface FailureExpected
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit 5 and FailureExpected instead.
Annotation used to mark a test as an expected failure.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    The key of a JIRA issue which covers this expected failure.
  • 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.
    A message explaining the reason for the expected failure.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Field Details

    • VALIDATE_FAILURE_EXPECTED

      static final String VALIDATE_FAILURE_EXPECTED
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Element Details

    • jiraKey

      String jiraKey
      Deprecated, for removal: This API element is subject to removal in a future version.
      The key of a JIRA issue which covers this expected failure.
      Returns:
      The jira issue key
    • message

      String message
      Deprecated, for removal: This API element is subject to removal in a future version.
      A message explaining the reason for the expected failure. Optional.
      Returns:
      The reason
      Default:
      ""