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

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

XMLWordPrintable

        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.

              jjg Jonathan Gibbons
              prappo Pavel Rappo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: