< prev index next >
test/langtools/jdk/javadoc/doclet/testHelpOption/TestHelpOption.java
Print this page
rev 48243 : 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
*** 22,32 ****
*/
/*
* @test
* @bug 4934778 4777599 6553182 8146427 8146475 8175055 8185371
! * @summary Make sure that -help, -helpfile and -nohelp options work correctly.
* @author jamieh
* @library ../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
* @build JavadocTester TestHelpOption
* @run main TestHelpOption
--- 22,32 ----
*/
/*
* @test
* @bug 4934778 4777599 6553182 8146427 8146475 8175055 8185371
! * @summary Make sure that --help, -helpfile and -nohelp options work correctly.
* @author jamieh
* @library ../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
* @build JavadocTester TestHelpOption
* @run main TestHelpOption
*** 64,74 ****
@Test
void testWithOption() {
javadoc("-d", "out1",
"-sourcepath", testSrc,
! "-help",
testSrc("Sample.java"));
checkExit(Exit.OK);
checkOutput(true);
}
--- 64,74 ----
@Test
void testWithOption() {
javadoc("-d", "out1",
"-sourcepath", testSrc,
! "--help",
testSrc("Sample.java"));
checkExit(Exit.OK);
checkOutput(true);
}
< prev index next >