RFR: JDK-8194955: Warn when default HTML version is used
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri Jan 12 18:06:17 UTC 2018
On 1/12/18 7:01 AM, Kumar Srinivasan wrote:
>
> TestHtmlWarning.java:
> I think that test should either create discrete directories for its output
> or the test should delete all of its output, upon completion.
> Running output comparators may yield false positives, as the execution
> sequence of sub-tests is not deterministic.
Kumar,
The test does create separate output directories.
54 void testHtml4() {
55 javadoc("-d", "out-4",
64 void testHtml5() {
65 javadoc("-d", "out-5",
74 void testDefault() {
75 javadoc("-d", "out-default",
Furthermore, in this test, the output checks are on the output stream
produced by javadoc, and not on any files, and so the output directory
is somewhat irrelevant.
-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20180112/8284428d/attachment.html>
More information about the javadoc-dev
mailing list