< prev index next >
langtools/test/jdk/javadoc/doclet/testModules/TestModules.java
Print this page
*** 40,51 ****
}
@Test
void test1() {
javadoc("-d", "out", "-use",
! "-modulesourcepath", testSrc,
! "-addmods", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(true);
testNoDescription(false);
testOverviewSummaryModules();
--- 40,51 ----
}
@Test
void test1() {
javadoc("-d", "out", "-use",
! "--module-source-path", testSrc,
! "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(true);
testNoDescription(false);
testOverviewSummaryModules();
*** 55,66 ****
}
@Test
void test2() {
javadoc("-d", "out-html5", "-html5", "-use",
! "-modulesourcepath", testSrc,
! "-addmods", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(true);
testHtml5NoDescription(false);
testHtml5OverviewSummaryModules();
--- 55,66 ----
}
@Test
void test2() {
javadoc("-d", "out-html5", "-html5", "-use",
! "--module-source-path", testSrc,
! "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(true);
testHtml5NoDescription(false);
testHtml5OverviewSummaryModules();
*** 70,93 ****
}
@Test
void test3() {
javadoc("-d", "out-nocomment", "-nocomment", "-use",
! "-modulesourcepath", testSrc,
! "-addmods", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(false);
testNoDescription(true);
testModuleLink();
}
@Test
void test4() {
javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
! "-modulesourcepath", testSrc,
! "-addmods", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(false);
testHtml5NoDescription(true);
testModuleLink();
--- 70,93 ----
}
@Test
void test3() {
javadoc("-d", "out-nocomment", "-nocomment", "-use",
! "--module-source-path", testSrc,
! "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(false);
testNoDescription(true);
testModuleLink();
}
@Test
void test4() {
javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
! "--module-source-path", testSrc,
! "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(false);
testHtml5NoDescription(true);
testModuleLink();
*** 106,117 ****
@Test
void test6() {
javadoc("-d", "out-mdltags", "-author", "-version",
"-tag", "regular:a:Regular Tag:",
"-tag", "moduletag:s:Module Tag:",
! "-modulesourcepath", testSrc,
! "-addmods", "moduletags,module2",
"testpkgmdltags", "testpkgmdl2");
checkExit(Exit.OK);
testModuleTags();
}
--- 106,117 ----
@Test
void test6() {
javadoc("-d", "out-mdltags", "-author", "-version",
"-tag", "regular:a:Regular Tag:",
"-tag", "moduletag:s:Module Tag:",
! "--module-source-path", testSrc,
! "--add-modules", "moduletags,module2",
"testpkgmdltags", "testpkgmdl2");
checkExit(Exit.OK);
testModuleTags();
}
< prev index next >