test/jdk/javadoc/doclet/testXOption/TestXOption.java

Print this page

        

*** 60,73 **** private void checkOutput(boolean expectFound) { // TODO: It's an ugly hidden side-effect of the current doclet API // that the -X output from the tool and the -X output from the doclet // come out on different streams! // When we clean up the doclet API, this should be rationalized. ! checkOutput(Output.NOTICE, expectFound, "-Xmaxerrs ", "-Xmaxwarns "); ! checkOutput(Output.STDOUT, expectFound, "-Xdocrootparent ", "-Xdoclint ", "-Xdoclint:"); } } --- 60,73 ---- private void checkOutput(boolean expectFound) { // TODO: It's an ugly hidden side-effect of the current doclet API // that the -X output from the tool and the -X output from the doclet // come out on different streams! // When we clean up the doclet API, this should be rationalized. ! checkOutput(Output.OUT, expectFound, "-Xmaxerrs ", "-Xmaxwarns "); ! checkOutput(Output.OUT, expectFound, "-Xdocrootparent ", "-Xdoclint ", "-Xdoclint:"); } }