RFR: 8270836: Foolproof JavadocTester.checkOutput [v2]
Pavel Rappo
prappo at openjdk.java.net
Fri Jul 16 14:44:24 UTC 2021
> When searching output for multiple strings it is easy to misexpress your intent, which could make a failing test pass. Such cases can be caught and reported to the programmer.
>
> For example, for this search to succeed it is sufficient for the output to consist only of the `"error: bad"` string:
>
>
> checkOutput(..., "error:", "error: bad", ...)
Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:
Improve the test
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4811/files
- new: https://git.openjdk.java.net/jdk/pull/4811/files/e620477d..4a3e4cce
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4811&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4811&range=00-01
Stats: 56 lines in 1 file changed: 40 ins; 0 del; 16 mod
Patch: https://git.openjdk.java.net/jdk/pull/4811.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4811/head:pull/4811
PR: https://git.openjdk.java.net/jdk/pull/4811
More information about the javadoc-dev
mailing list