Annotation Type TCKTest


  • @Target(METHOD)
    @Documented
    @Retention(RUNTIME)
    public @interface TCKTest
    The TCKTest annotation is used to generate a report of the TCK coverage.

    Required Attributes: versions, assertions, specRefs
    Optional Attributes: apiRefs, issueRefs, strategy, notes
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] assertions
      The behaviors being tested
      SpecRef[] specRefs
      References to the Jakarta Batch sections that specify the behavior being tested
      String[] versions
      The versions of the TCK that the test was updated for.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      APIRef[] apiRefs
      References to the Jakarta Batch APIs being tested
      String[] issueRefs
      URLs referencing bugs the test was added for
      String[] notes
      Other comments about the TCKTest
      String strategy
      The strategy used to test the assertions
    • Element Detail

      • versions

        String[] versions
        The versions of the TCK that the test was updated for.

        versions[0] should contain the first version of the TCK that included this test.

        List of valid values:
        • 1.0
      • assertions

        String[] assertions
        The behaviors being tested
      • specRefs

        SpecRef[] specRefs
        References to the Jakarta Batch sections that specify the behavior being tested
      • apiRefs

        APIRef[] apiRefs
        References to the Jakarta Batch APIs being tested
        Default:
        {}
      • issueRefs

        String[] issueRefs
        URLs referencing bugs the test was added for
        Default:
        {}
      • strategy

        String strategy
        The strategy used to test the assertions
        Default:
        ""
      • notes

        String[] notes
        Other comments about the TCKTest
        Default:
        {}