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

Provide a JavadocTester method for non-overlapping, unordered output matching

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: tools

      Description

      Here's a use case. Consider errors being reported out of order with respect to the their source lines. Consider also that the test doesn't want to hardcode those line numbers and wants to make sure that the errors are found at least once.

      The functionality described in the above use case is somewhat similar to that of java.util.Collection#containsAll. I don't think any of methods such as checkOutput, checkUnique, or prospective checkOrder(...Output...) would do.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: