RFR: JDK-8273154: Provide a JavadocTester method for non-overlapping, unordered output matching [v2]

Jonathan Gibbons jjg at openjdk.java.net
Wed Oct 20 17:06:08 UTC 2021


On Wed, 20 Oct 2021 00:03:11 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java line 923:
>> 
>>> 921:      * Configuration can be done with a series of chained method calls.
>>> 922:      * Checks can be specified as either literal strings or regular expressions.
>>> 923:      */
>> 
>> Suggestion:
>> 
>>     /**
>>      * A flexible tool for checking the content of generated files and output streams.
>>      *
>>      * Configure with a series of chained method calls, specifying target strings
>>      * as either literal strings or regular expressions.
>>      */
>
> I prefer to keep `checker` instead of `tool`.   I'll consider the others.

I prefer the two separate, independent sentences, instead of the proposed imperative form.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5743


More information about the javadoc-dev mailing list