Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278176

write tests to validate snippets in java.compiler and jdk.javadoc API

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      One of the goals of providing snippets was to make it possible or at least easier to write tests to validate snippets, using existing test frameworks (such as jtreg), possibly assisted by library code to assist with common operations, such as locating snippets by `element` and `id`, and parsing or compiling snippets.

      We should demonstrate the ability by providing tests for recently added new snippets.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: