Annotation Interface Assertion


@Target(METHOD) @Retention(RUNTIME) @Test public @interface Assertion
Test metadata to track what assertion from GitHub is being tested, and the strategy used to test that assertion. Aggregates the @Test annotation from Junit
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Identifies where the assertion comes from consisting of two components 1.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A longer description of the assertion being made to keep method names concise
  • Element Details

    • id

      String id
      Identifies where the assertion comes from consisting of two components 1. JAVADOC, SPEC, or GIT - Identifies the source document 2. Unique ID - A unique ID for further specification The Unique ID for JAVADOC and SPEC is a legacy artifact from the TCK Platform and might map to a specific line number or document section, however, a meaningful link cannot be guaranteed. The Unique ID for GIT will map to an issue or pull request in the Jakarta Concurrency GitHub repository https://github.com/jakartaee/concurrency
    • strategy

      String strategy
      A longer description of the assertion being made to keep method names concise
      Default:
      ""