TestModules.java revision 3831:209b0eab0e1f
18097Sjkh/* 28097Sjkh * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 38097Sjkh * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 48097Sjkh * 58097Sjkh * This code is free software; you can redistribute it and/or modify it 68097Sjkh * under the terms of the GNU General Public License version 2 only, as 750479Speter * published by the Free Software Foundation. 88097Sjkh * 98097Sjkh * This code is distributed in the hope that it will be useful, but WITHOUT 108097Sjkh * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 118097Sjkh * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 128097Sjkh * version 2 for more details (a copy is included in the LICENSE file that 138097Sjkh * accompanied this code). 148097Sjkh * 158097Sjkh * You should have received a copy of the GNU General Public License version 168881Srgrimes * 2 along with this work; if not, write to the Free Software Foundation, 178881Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 188097Sjkh * 198097Sjkh * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 208097Sjkh * or visit www.oracle.com if you need additional information or have any 218097Sjkh * questions. 228097Sjkh */ 238097Sjkh 248097Sjkh/* 258097Sjkh * @test 268097Sjkh * @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363 8168766 8168688 8162674 8160196 278097Sjkh * @summary Test modules support in javadoc. 288097Sjkh * @author bpatel 298097Sjkh * @library ../lib 308097Sjkh * @modules jdk.javadoc/jdk.javadoc.internal.tool 318097Sjkh * @build JavadocTester 328097Sjkh * @run main TestModules 338097Sjkh */ 348097Sjkhpublic class TestModules extends JavadocTester { 358097Sjkh 368097Sjkh public static void main(String... args) throws Exception { 378097Sjkh TestModules tester = new TestModules(); 3812661Speter tester.runTests(); 398347Sjkh } 408347Sjkh 418751Sjkh /** 428347Sjkh * Test generated module pages for HTML 4. 438641Sjkh */ 4412661Speter @Test 4512661Speter void testHtml4() { 4612661Speter javadoc("-d", "out", "-use", 4724597Sjkh "--module-source-path", testSrc, 4824597Sjkh "--module", "moduleA,moduleB", 4912661Speter "testpkgmdlA", "testpkgmdlB"); 5010882Speter checkExit(Exit.OK); 5141311Sjkh checkDescription(true); 528347Sjkh checkNoDescription(false); 5350917Sjkh checkOverviewSummaryModules(); 548097Sjkh checkModuleLink(); 5512661Speter checkModuleClickThroughLinks(); 5621010Sjkh checkModuleClickThrough(true); 578281Sjkh checkModuleFilesAndLinks(true); 5812661Speter checkModulesInSearch(true); 598549Sjkh checkOverviewFrame(true); 6015451Sjkh } 6115451Sjkh 6217362Sjkh /** 6317368Sjkh * Test generated module pages for HTML 5. 648702Sjkh */ 658702Sjkh @Test 6612661Speter void testHtml5() { 678702Sjkh javadoc("-d", "out-html5", "-html5", "-use", 6817362Sjkh "--module-source-path", testSrc, 698702Sjkh "--module", "moduleA,moduleB", 708702Sjkh "testpkgmdlA", "testpkgmdlB"); 7126717Sjkh checkExit(Exit.OK); 7226717Sjkh checkHtml5Description(true); 7326717Sjkh checkHtml5NoDescription(false); 7426717Sjkh checkHtml5OverviewSummaryModules(); 7512661Speter checkModuleLink(); 7617362Sjkh checkModuleClickThroughLinks(); 7717027Sjkh checkModuleClickThrough(true); 7817362Sjkh checkModuleFilesAndLinks(true); 7917027Sjkh checkModulesInSearch(true); 8017027Sjkh checkOverviewFrame(true); 8117027Sjkh } 828702Sjkh 838702Sjkh /** 848702Sjkh * Test generated module pages for HTML 4 with -nocomment option. 858702Sjkh */ 868702Sjkh @Test 878702Sjkh void testHtml4NoComment() { 888702Sjkh javadoc("-d", "out-nocomment", "-nocomment", "-use", 898702Sjkh "--module-source-path", testSrc, 908702Sjkh "--module", "moduleA,moduleB", 918702Sjkh "testpkgmdlA", "testpkgmdlB"); 928702Sjkh checkExit(Exit.OK); 938702Sjkh checkDescription(false); 9414793Sjoerg checkNoDescription(true); 9537735Sjkh checkModuleLink(); 969202Srgrimes checkModuleFilesAndLinks(true); 9717368Sjkh checkOverviewFrame(true); 9817368Sjkh } 9917368Sjkh 1009202Srgrimes /** 1019202Srgrimes * Test generated module pages for HTML 5 with -nocomment option. 10217027Sjkh */ 10317027Sjkh @Test 10417027Sjkh void testHtml5NoComment() { 10517027Sjkh javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use", 10617027Sjkh "--module-source-path", testSrc, 1079202Srgrimes "--module", "moduleA,moduleB", 10814793Sjoerg "testpkgmdlA", "testpkgmdlB"); 1099202Srgrimes checkExit(Exit.OK); 11017368Sjkh checkHtml5Description(false); 11117368Sjkh checkHtml5NoDescription(true); 11217368Sjkh checkModuleLink(); 1139202Srgrimes checkModuleFilesAndLinks(true); 1149202Srgrimes checkOverviewFrame(true); 11517027Sjkh } 11617027Sjkh 11717027Sjkh /** 11817027Sjkh * Test generated pages, in an unnamed module, for HTML 4. 11917027Sjkh */ 1209202Srgrimes @Test 12117362Sjkh void testHtml4UnnamedModule() { 12217362Sjkh javadoc("-d", "out-nomodule", "-use", 12317368Sjkh "-sourcepath", testSrc, 12417368Sjkh "testpkgnomodule", "testpkgnomodule1"); 12517368Sjkh checkExit(Exit.OK); 12617362Sjkh checkOverviewSummaryPackages(); 12717362Sjkh checkModuleClickThrough(false); 12817362Sjkh checkModuleFilesAndLinks(false); 12917362Sjkh checkModulesInSearch(false); 13017362Sjkh checkOverviewFrame(false); 13117362Sjkh } 13217362Sjkh 13317362Sjkh /** 1348702Sjkh * Test generated pages, in an unnamed module, for HTML 5. 1358702Sjkh */ 1368702Sjkh @Test 1378702Sjkh void testHtml5UnnamedModule() { 1388702Sjkh javadoc("-d", "out-html5-nomodule", "-html5", "-use", 1398702Sjkh "-sourcepath", testSrc, 1408705Sjkh "testpkgnomodule", "testpkgnomodule1"); 1418702Sjkh checkExit(Exit.OK); 14213421Sjkh checkHtml5OverviewSummaryPackages(); 14313421Sjkh checkModuleFilesAndLinks(false); 1448702Sjkh checkModulesInSearch(false); 1458702Sjkh checkOverviewFrame(false); 1468702Sjkh } 1478702Sjkh 1488702Sjkh /** 1498702Sjkh * Test generated module pages with javadoc tags. 1508702Sjkh */ 15112661Speter @Test 1528702Sjkh void testJDTagsInModules() { 15312661Speter javadoc("-d", "out-mdltags", "-author", "-version", 15412661Speter "-tag", "regular:a:Regular Tag:", 1558702Sjkh "-tag", "moduletag:s:Module Tag:", 1568702Sjkh "--module-source-path", testSrc, 1578702Sjkh "--module", "moduletags,moduleB", 1588702Sjkh "testpkgmdltags", "testpkgmdlB"); 1598702Sjkh checkExit(Exit.OK); 1608702Sjkh checkModuleTags(); 1618702Sjkh } 16217027Sjkh 16312661Speter /** 16417027Sjkh * Test generated module summary page. 16517027Sjkh */ 16617362Sjkh @Test 16717027Sjkh void testModuleSummary() { 16817368Sjkh javadoc("-d", "out-moduleSummary", "-use", 16912661Speter "--module-source-path", testSrc, 17012661Speter "--module", "moduleA,moduleB", 17112661Speter "testpkgmdlA", "testpkgmdlB", "moduleB/testpkg2mdlB"); 1728702Sjkh checkExit(Exit.OK); 17317368Sjkh checkModuleSummary(); 17412661Speter checkNegatedModuleSummary(); 17512661Speter } 17612661Speter 1778702Sjkh /** 17812661Speter * Test generated module pages and pages with link to modules. 1798702Sjkh */ 1808702Sjkh @Test 18112661Speter void testModuleFilesAndLinks() { 1828636Sjkh javadoc("-d", "out-modulelinks", 1838589Sjkh "--module-source-path", testSrc, 1848636Sjkh "--module", "moduleA", 18541162Sjkh "testpkgmdlA"); 1868589Sjkh checkExit(Exit.OK); 1878636Sjkh checkModuleFilesAndLinks(true); 18815242Sjkh checkNegatedOverviewFrame(); 1898636Sjkh } 19012661Speter 19115439Sjkh /** 19215439Sjkh * Test generated module pages for a deprecated module. 19315242Sjkh */ 1948677Sjkh @Test 19512661Speter void testModuleDeprecation() { 19612661Speter javadoc("-d", "out-moduledepr", 19743685Sjkh "-tag", "regular:a:Regular Tag:", 1988677Sjkh "-tag", "moduletag:s:Module Tag:", 1998677Sjkh "--module-source-path", testSrc, 20017404Sjkh "--module", "moduleA,moduleB,moduletags", 20137735Sjkh "testpkgmdlA", "testpkgmdlB", "testpkgmdltags"); 20237735Sjkh checkExit(Exit.OK); 20337735Sjkh checkModuleDeprecation(true); 20437735Sjkh } 20537735Sjkh 20637735Sjkh /** 20737735Sjkh * Test annotations on modules. 20854587Sjkh */ 2098556Sjkh @Test 21015419Sjkh void testModuleAnnotation() { 2119202Srgrimes javadoc("-d", "out-moduleanno", 21215242Sjkh "--module-source-path", testSrc, 2139202Srgrimes "--module", "moduleA,moduleB", 21410882Speter "testpkgmdlA", "testpkgmdlB"); 21512661Speter checkExit(Exit.OK); 21634466Sjkh checkModuleAnnotation(); 21734466Sjkh } 21815242Sjkh 2199202Srgrimes /** 22010882Speter * Test module summary pages in "api" mode. 22112661Speter */ 22234466Sjkh @Test 22334466Sjkh void testApiMode() { 22415242Sjkh javadoc("-d", "out-api", "-use", "--show-module-contents=api", "-author", "-version", 22512661Speter "-tag", "regular:a:Regular Tag:", 22612661Speter "-tag", "moduletag:s:Module Tag:", 2278663Sphk "--module-source-path", testSrc, 22843685Sjkh "--module", "moduleA,moduleB,moduleC,moduletags", 22912661Speter "testpkgmdlA", "moduleA/concealedpkgmdlA", "testpkgmdlB", "testpkg2mdlB", "testpkgmdlC", "testpkgmdltags"); 23041162Sjkh checkExit(Exit.OK); 23141162Sjkh checkModuleModeCommon(); 23241162Sjkh checkModuleModeApi(true); 23341162Sjkh checkModuleModeAll(false); 23441162Sjkh } 23541162Sjkh 23614765Sjkh /** 23714765Sjkh * Test module summary pages in "all" mode. 23814765Sjkh */ 23912661Speter @Test 24041162Sjkh void testAllMode() { 24112661Speter javadoc("-d", "out-all", "-use", "--show-module-contents=all", "-author", "-version", 2428751Sjkh "-tag", "regular:a:Regular Tag:", 24312661Speter "-tag", "moduletag:s:Module Tag:", 24421010Sjkh "--module-source-path", testSrc, 24521010Sjkh "--module", "moduleA,moduleB,moduleC,moduletags", 24621010Sjkh "testpkgmdlA", "moduleA/concealedpkgmdlA", "testpkgmdlB", "testpkg2mdlB", "testpkgmdlC", "testpkgmdltags"); 24721010Sjkh checkExit(Exit.OK); 24821010Sjkh checkModuleModeCommon(); 24921010Sjkh checkModuleModeApi(false); 25021010Sjkh checkModuleModeAll(true); 25115242Sjkh } 25212661Speter 25321010Sjkh void checkDescription(boolean found) { 25421010Sjkh checkOutput("moduleA-summary.html", found, 25521600Sjkh "<!-- ============ MODULE DESCRIPTION =========== -->\n" 25621600Sjkh + "<a name=\"module.description\">\n" 25721600Sjkh + "<!-- -->\n" 25843685Sjkh + "</a>\n" 25921010Sjkh + "<div class=\"block\">This is a test description for the moduleA module. Search " 26021010Sjkh + "phrase <a id=\"searchphrase\">search phrase</a>.</div>"); 26121010Sjkh checkOutput("moduleB-summary.html", found, 26221010Sjkh "<!-- ============ MODULE DESCRIPTION =========== -->\n" 26344029Sjkh + "<a name=\"module.description\">\n" 26421372Sjkh + "<!-- -->\n" 26521010Sjkh + "</a>\n" 26644029Sjkh + "<div class=\"block\">This is a test description for the moduleB module. Search " 26721372Sjkh + "word <a id=\"search_word\">search_word</a> with no description.</div>"); 26821010Sjkh } 26921010Sjkh 27021600Sjkh void checkNoDescription(boolean found) { 27121600Sjkh checkOutput("moduleA-summary.html", found, 27221010Sjkh "<div class=\"contentContainer\">\n" 27321010Sjkh + "<ul class=\"blockList\">\n" 27422032Sjkh + "<li class=\"blockList\">\n" 27521010Sjkh + "<ul class=\"blockList\">\n" 27621010Sjkh + "<li class=\"blockList\">\n" 27722032Sjkh + "<!-- ============ MODULES SUMMARY =========== -->"); 27821010Sjkh checkOutput("moduleB-summary.html", found, 27923977Smpp "<div class=\"contentContainer\">\n" 28021010Sjkh + "<ul class=\"blockList\">\n" 28121010Sjkh + "<li class=\"blockList\">\n" 28221010Sjkh + "<ul class=\"blockList\">\n" 28321010Sjkh + "<li class=\"blockList\">\n" 28421010Sjkh + "<!-- ============ PACKAGES SUMMARY =========== -->"); 28521372Sjkh } 28621010Sjkh 28721010Sjkh void checkHtml5Description(boolean found) { 28821010Sjkh checkOutput("moduleA-summary.html", found, 28921010Sjkh "<section role=\"region\">\n" 29021010Sjkh + "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:" 29121010Sjkh + " This API element is subject to removal in a future version. </span>\n" 29221010Sjkh + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n" 29321010Sjkh + "</div>\n" 29421010Sjkh + "<!-- ============ MODULE DESCRIPTION =========== -->\n" 29521010Sjkh + "<a id=\"module.description\">\n" 29621010Sjkh + "<!-- -->\n" 29721010Sjkh + "</a>\n" 29821010Sjkh + "<div class=\"block\">This is a test description for the moduleA module. Search " 29921010Sjkh + "phrase <a id=\"searchphrase\">search phrase</a>.</div>"); 30021010Sjkh checkOutput("moduleB-summary.html", found, 30121372Sjkh "<section role=\"region\">\n" 30221010Sjkh + "<!-- ============ MODULE DESCRIPTION =========== -->\n" 30321010Sjkh + "<a id=\"module.description\">\n" 30421010Sjkh + "<!-- -->\n" 30544656Sjkh + "</a>\n" 30644656Sjkh + "<div class=\"block\">This is a test description for the moduleB module. Search " 30757323Sjkh + "word <a id=\"search_word\">search_word</a> with no description.</div>"); 30844656Sjkh } 30944656Sjkh 31044656Sjkh void checkHtml5NoDescription(boolean found) { 31144656Sjkh checkOutput("moduleA-summary.html", found, 31244656Sjkh "<div class=\"contentContainer\">\n" 31344656Sjkh + "<ul class=\"blockList\">\n" 31421372Sjkh + "<li class=\"blockList\">\n" 31521010Sjkh + "<ul class=\"blockList\">\n" 31621010Sjkh + "<li class=\"blockList\">\n" 31744656Sjkh + "<!-- ============ MODULES SUMMARY =========== -->"); 31844656Sjkh checkOutput("moduleB-summary.html", found, 31944656Sjkh "<div class=\"contentContainer\">\n" 32021010Sjkh + "<ul class=\"blockList\">\n" 32144029Sjkh + "<li class=\"blockList\">\n" 32244029Sjkh + "<ul class=\"blockList\">\n" 32315242Sjkh + "<li class=\"blockList\">\n" 32415242Sjkh + "<!-- ============ PACKAGES SUMMARY =========== -->"); 32515242Sjkh } 32615242Sjkh 32715242Sjkh void checkModuleLink() { 32815242Sjkh checkOutput("overview-summary.html", true, 32912661Speter "<li>Module</li>"); 33044029Sjkh checkOutput("moduleA-summary.html", true, 33112661Speter "<li class=\"navBarCell1Rev\">Module</li>"); 33221600Sjkh checkOutput("moduleB-summary.html", true, 33321600Sjkh "<li class=\"navBarCell1Rev\">Module</li>"); 33421600Sjkh checkOutput("testpkgmdlA/class-use/TestClassInModuleA.html", true, 33537735Sjkh "<li><a href=\"../../moduleA-summary.html\">Module</a></li>"); 33644029Sjkh checkOutput("testpkgmdlB/package-summary.html", true, 33737735Sjkh "<li><a href=\"../moduleB-summary.html\">Module</a></li>"); 33837735Sjkh checkOutput("testpkgmdlB/TestClassInModuleB.html", true, 33937735Sjkh "<li><a href=\"../moduleB-summary.html\">Module</a></li>"); 34037735Sjkh checkOutput("testpkgmdlB/class-use/TestClassInModuleB.html", true, 34137735Sjkh "<li><a href=\"../../moduleB-summary.html\">Module</a></li>"); 34237735Sjkh } 34337735Sjkh 34444029Sjkh void checkNoModuleLink() { 34544029Sjkh checkOutput("testpkgnomodule/package-summary.html", true, 34644029Sjkh "<ul class=\"navList\" title=\"Navigation\">\n" 34737735Sjkh + "<li><a href=\"../testpkgnomodule/package-summary.html\">Package</a></li>"); 34844029Sjkh checkOutput("testpkgnomodule/TestClassNoModule.html", true, 34944029Sjkh "<ul class=\"navList\" title=\"Navigation\">\n" 35012661Speter + "<li><a href=\"../testpkgnomodule/package-summary.html\">Package</a></li>"); 35140299Sjkh checkOutput("testpkgnomodule/class-use/TestClassNoModule.html", true, 35240273Sjkh "<ul class=\"navList\" title=\"Navigation\">\n" 35340299Sjkh + "<li><a href=\"../../testpkgnomodule/package-summary.html\">Package</a></li>"); 35440273Sjkh } 35540273Sjkh 35641558Sjkh void checkModuleTags() { 35741558Sjkh checkOutput("moduletags-summary.html", true, 35812661Speter "Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in " 35914670Sjkh + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.", 36012661Speter "Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#" 36121010Sjkh + "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.", 36244029Sjkh "Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.", 36321010Sjkh "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n" 36421010Sjkh + "<dd>JDK 9</dd>", 36521010Sjkh "<dt><span class=\"seeLabel\">See Also:</span></dt>\n" 36621010Sjkh + "<dd>\"Test see tag\", \n" 36721010Sjkh + "<a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>" 36821010Sjkh + "TestClassInModuleTags</code></a></dd>", 36921010Sjkh "<dt><span class=\"simpleTagLabel\">Regular Tag:</span></dt>\n" 37021010Sjkh + "<dd>Just a regular simple tag.</dd>", 37121010Sjkh "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n" 37221010Sjkh + "<dd>Just a simple module tag.</dd>", 37321010Sjkh "<dt><span class=\"simpleTagLabel\">Version:</span></dt>\n" 37421010Sjkh + "<dd>1.0</dd>", 37521010Sjkh "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n" 37614670Sjkh + "<dd>Bhavesh Patel</dd>"); 37717005Sjkh checkOutput("testpkgmdltags/TestClassInModuleTags.html", false, 37812661Speter "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n" 37912661Speter + "<dd>Just a simple module tag.</dd>"); 38012661Speter } 3818825Sjkh 38212661Speter void checkOverviewSummaryModules() { 38319819Sjoerg checkOutput("overview-summary.html", true, 38419819Sjoerg "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n" 38519819Sjoerg + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>\n" 38619571Sjoerg + "<tr>\n" 38717005Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 38812661Speter + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 38919571Sjoerg + "</tr>"); 39019571Sjoerg checkOutput("overview-summary.html", false, 39119571Sjoerg "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n" 39219571Sjoerg + "<caption><span>Packages</span><span class=\"tabEnd\"> </span></caption>\n" 39312661Speter + "<tr>\n" 39412661Speter + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 39512661Speter + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 39620915Sjkh + "</tr>"); 39712661Speter } 39820915Sjkh 39912661Speter void checkOverviewSummaryPackages() { 40020915Sjkh checkOutput("overview-summary.html", false, 40120915Sjkh "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n" 40220915Sjkh + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>\n" 40320915Sjkh + "<tr>\n" 40420915Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 40520915Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 40620915Sjkh + "</tr>"); 40720915Sjkh checkOutput("overview-summary.html", true, 40820915Sjkh "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n" 40920915Sjkh + "<caption><span>Packages</span><span class=\"tabEnd\"> </span></caption>\n" 41020915Sjkh + "<tr>\n" 41112661Speter + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 41212661Speter + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 41312661Speter + "</tr>"); 41412661Speter } 41512661Speter 41612661Speter void checkHtml5OverviewSummaryModules() { 41712661Speter checkOutput("overview-summary.html", true, 41812661Speter "<table class=\"overviewSummary\">\n" 41921010Sjkh + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>\n" 42021010Sjkh + "<tr>\n" 42121010Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 42219571Sjoerg + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 42319571Sjoerg + "</tr>"); 4248751Sjkh checkOutput("overview-summary.html", false, 42512661Speter "<table class=\"overviewSummary\">\n" 42621010Sjkh + "<caption><span>Packages</span><span class=\"tabEnd\"> </span></caption>\n" 4278751Sjkh + "<tr>\n" 42820915Sjkh + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 42954808Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 43020915Sjkh + "</tr>"); 43120915Sjkh } 43220915Sjkh 43312661Speter void checkHtml5OverviewSummaryPackages() { 43420915Sjkh checkOutput("overview-summary.html", false, 43512661Speter "<table class=\"overviewSummary\">\n" 4368636Sjkh + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>\n" 43721010Sjkh + "<tr>\n" 43821010Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 43910882Speter + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 44015091Sjkh + "</tr>"); 44110882Speter checkOutput("overview-summary.html", true, 44215451Sjkh "<table class=\"overviewSummary\">\n" 44315451Sjkh + "<caption><span>Packages</span><span class=\"tabEnd\"> </span></caption>\n" 44454587Sjkh + "<tr>\n" 44543685Sjkh + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 44642386Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 44715451Sjkh + "</tr>"); 44815451Sjkh } 44942386Sjkh 45010882Speter void checkModuleSummary() { 45115451Sjkh checkOutput("moduleA-summary.html", true, 45215451Sjkh "<ul class=\"subNavList\">\n" 45312661Speter + "<li>Module: </li>\n" 45415451Sjkh + "<li><a href=\"#module.description\">Description</a> | <a " 45515451Sjkh + "href=\"#modules.summary\">Modules</a> | <a href=\"#packages.summary\">" 45615788Sjkh + "Packages</a> | Services</li>\n" 45715451Sjkh + "</ul>", 45815451Sjkh "<!-- ============ MODULES SUMMARY =========== -->\n" 45954587Sjkh + "<a name=\"modules.summary\">\n" 46012661Speter + "<!-- -->\n" 46112661Speter + "</a>", 46257315Sjkh "<tr class=\"altColor\" id=\"i0\">\n" 46312661Speter + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n" 46457315Sjkh + "<td class=\"colLast\"> </td>\n" 46512661Speter + "</tr>", 46630345Sjkh "<!-- ============ PACKAGES SUMMARY =========== -->\n" 46730345Sjkh + "<a name=\"packages.summary\">\n" 46815451Sjkh + "<!-- -->\n" 46957315Sjkh + "</a>", 47054587Sjkh "<tr class=\"altColor\">\n" 47142386Sjkh + "<td class=\"colFirst\">transitive</td>\n" 47212661Speter + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 47312661Speter + "<td class=\"colLast\">\n" 47426277Sjkh + "<div class=\"block\">This is a test description for the moduleB module.</div>\n" 47512661Speter + "</td>\n" 47612661Speter + "</tr>"); 47712661Speter checkOutput("moduleB-summary.html", true, 47812661Speter "<li><a href=\"#module.description\">Description</a> | Modules | " 47930345Sjkh + "<a href=\"#packages.summary\">Packages</a> | <a href=\"#services.summary\">" 48015419Sjkh + "Services</a></li>", 48115242Sjkh "<!-- ============ PACKAGES SUMMARY =========== -->\n" 48230345Sjkh + "<a name=\"packages.summary\">\n" 48330345Sjkh + "<!-- -->\n" 48430345Sjkh + "</a>", 48530345Sjkh "<tr class=\"altColor\" id=\"i0\">\n" 48630345Sjkh + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" 48730345Sjkh + "<td class=\"colLast\"> </td>\n" 48830345Sjkh + "</tr>", 48942386Sjkh "<!-- ============ PACKAGES SUMMARY =========== -->\n" 49030345Sjkh + "<a name=\"packages.summary\">\n" 49142386Sjkh + "<!-- -->\n" 49254619Sjkh + "</a>", 49342386Sjkh "<!-- ============ SERVICES SUMMARY =========== -->\n" 49442386Sjkh + "<a name=\"services.summary\">\n" 49542386Sjkh + "<!-- -->\n" 49642386Sjkh + "</a>", 49742386Sjkh "<tr class=\"altColor\">\n" 49842386Sjkh + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" 49954619Sjkh + "<td class=\"colLast\">With a test description for uses. </td>\n" 50012661Speter + "</tr>", 50112661Speter "<tr class=\"altColor\">\n" 50212661Speter + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterface2InModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterface2InModuleB</a></th>\n" 50312661Speter + "<td class=\"colLast\"> </td>\n" 50412661Speter + "</tr>", 50542386Sjkh "<caption><span>Opened Packages</span><span class=\"tabEnd\"> </span></caption>\n" 50612661Speter + "<tr>\n" 50715419Sjkh + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 50815242Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 50912661Speter + "</tr>", 51015451Sjkh "<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" 51154810Sjkh + "<tr>\n" 51215451Sjkh + "<th class=\"colFirst\" scope=\"col\">Type</th>\n" 51315451Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 51415451Sjkh + "</tr>", 51515451Sjkh "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" 51615451Sjkh + "<tr>\n" 51754587Sjkh + "<th class=\"colFirst\" scope=\"col\">Type</th>\n" 51812661Speter + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 51915451Sjkh + "</tr>"); 52018650Sjkh } 52154810Sjkh 52218552Sjkh void checkNegatedModuleSummary() { 52315451Sjkh checkOutput("moduleA-summary.html", false, 52415451Sjkh "<!-- ============ SERVICES SUMMARY =========== -->\n" 52515465Sjkh + "<a name=\"services.summary\">\n" 52615451Sjkh + "<!-- -->\n" 52715451Sjkh + "</a>"); 52818650Sjkh } 52915451Sjkh 53024548Sjkh void checkModuleClickThroughLinks() { 53154587Sjkh checkOutput("module-overview-frame.html", true, 53215451Sjkh "<li><a href=\"moduleA-frame.html\" target=\"packageListFrame\" " 53350780Sjkh + "onclick=\"updateModuleFrame('moduleA-type-frame.html','moduleA-summary.html');" 53422842Sjkh + "\">moduleA</a></li>", 53522842Sjkh "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" " 53615451Sjkh + "onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');" 53754810Sjkh + "\">moduleB</a></li>"); 53815451Sjkh checkOutput("script.js", true, 53915451Sjkh "function updateModuleFrame(pFrame, cFrame)\n" 54057323Sjkh + "{\n" 54115451Sjkh + " top.packageFrame.location = pFrame;\n" 54243685Sjkh + " top.classFrame.location = cFrame;\n" 54315451Sjkh + "}"); 54457334Sjkh } 54557323Sjkh 54615451Sjkh void checkModuleClickThrough(boolean found) { 54715451Sjkh checkFiles(found, 54815451Sjkh "moduleA-type-frame.html", 54915451Sjkh "moduleB-type-frame.html"); 55015451Sjkh } 55154810Sjkh 55215451Sjkh void checkModuleFilesAndLinks(boolean found) { 55343685Sjkh checkOutput("testpkgmdlA/package-summary.html", found, 55415451Sjkh "<li><a href=\"../moduleA-summary.html\">Module</a></li>", 55554587Sjkh "<div class=\"subTitle\"><span class=\"moduleLabelInClass\">Module</span> " 55616887Sjkh + "<a href=\"../moduleA-summary.html\">moduleA</a></div>"); 55715451Sjkh checkOutput("testpkgmdlA/TestClassInModuleA.html", found, 55854810Sjkh "<li><a href=\"../moduleA-summary.html\">Module</a></li>", 55954587Sjkh "<div class=\"subTitle\"><span class=\"moduleLabelInClass\">Module</span> " 56022816Sjkh + "<a href=\"../moduleA-summary.html\">moduleA</a></div>"); 56115451Sjkh checkFiles(found, 56248626Sjkh "moduleA-frame.html", 56354810Sjkh "moduleA-summary.html", 56448624Sjkh "module-overview-frame.html"); 56548624Sjkh } 56648626Sjkh 56748624Sjkh void checkModulesInSearch(boolean found) { 56854810Sjkh checkOutput("index-all.html", found, 56954587Sjkh "<dl>\n" 57016887Sjkh + "<dt><a href=\"moduleA-summary.html\">moduleA</a> - module moduleA</dt>\n" 57115451Sjkh + "<dd>\n" 57223529Sjkh + "<div class=\"block\">This is a test description for the moduleA module.</div>\n" 57343811Sjkh + "</dd>\n" 57423529Sjkh + "<dt><a href=\"moduleB-summary.html\">moduleB</a> - module moduleB</dt>\n" 57523529Sjkh + "<dd>\n" 57615451Sjkh + "<div class=\"block\">This is a test description for the moduleB module.</div>\n" 57754810Sjkh + "</dd>\n" 57815451Sjkh + "</dl>", 57948624Sjkh "<dl>\n" 58015451Sjkh + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">" 58115451Sjkh + "search phrase</a></span> - Search tag in moduleA</dt>\n" 58254810Sjkh + "<dd>with description</dd>\n" 58357315Sjkh + "<dt><span class=\"searchTagLink\"><a href=\"moduleB-summary.html#search_word\">" 58422529Sjkh + "search_word</a></span> - Search tag in moduleB</dt>\n" 58551396Sjkh + "<dd> </dd>\n" 58648624Sjkh + "</dl>"); 58751396Sjkh} 58815451Sjkh 58921701Sjkh void checkModuleModeCommon() { 59021701Sjkh checkOutput("overview-summary.html", true, 59121701Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n" 59221701Sjkh + "<td class=\"colLast\">\n" 59348624Sjkh + "<div class=\"block\">This is a test description for the moduleA module.</div>\n" 59421701Sjkh + "</td>", 59524548Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 59624548Sjkh + "<td class=\"colLast\">\n" 59754587Sjkh + "<div class=\"block\">This is a test description for the moduleB module.</div>\n" 59854587Sjkh + "</td>", 59921701Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags-summary.html\">moduletags</a></th>\n" 60015451Sjkh + "<td class=\"colLast\">\n" 60115451Sjkh + "<div class=\"block\">This is a test description for the moduleA module.<br>\n" 60215788Sjkh + " Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n" 60354810Sjkh + " Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.<br>\n" 60415451Sjkh + " Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n" 60554587Sjkh + "</td>"); 60610882Speter checkOutput("moduleA-summary.html", true, 60710882Speter "<li><a href=\"#module.description\">Description</a> | <a href=\"#modules.summary\">" 60815788Sjkh + "Modules</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", 60915788Sjkh "<td class=\"colFirst\">transitive</td>\n" 61015788Sjkh + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 61115788Sjkh + "<td class=\"colLast\">\n" 61215788Sjkh + "<div class=\"block\">This is a test description for the moduleB module.</div>\n" 61315788Sjkh + "</td>", 61415788Sjkh "<table class=\"packagesSummary\" summary=\"Additional Exported Packages table, listing modules, and packages\">\n" 61515788Sjkh + "<caption><span>Additional Exported Packages</span><span class=\"tabEnd\"> </span></caption>", 61615788Sjkh "<table class=\"packagesSummary\" summary=\"Additional Opened Packages table, listing modules, and packages\">\n" 61715788Sjkh + "<caption><span>Additional Opened Packages</span><span class=\"tabEnd\"> </span></caption>\n" 61815788Sjkh + "<tr>\n" 61915788Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 62015788Sjkh + "<th class=\"colLast\" scope=\"col\">Packages</th>\n" 62115788Sjkh + "</tr>\n" 62215788Sjkh + "<tbody>\n" 62315788Sjkh + "<tr class=\"altColor\">\n" 62415788Sjkh + "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 62515788Sjkh + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n" 6268677Sjkh + "</tr>\n" 62715788Sjkh + "</tbody>\n" 62810882Speter + "</table>"); 62915788Sjkh checkOutput("moduleB-summary.html", true, 63015788Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" 63115788Sjkh + "<td class=\"colLast\">With a test description for uses. </td>"); 63215788Sjkh checkOutput("moduletags-summary.html", true, 63315788Sjkh "<li><a href=\"#module.description\">Description</a> | <a href=\"#modules.summary\">Modules" 6348677Sjkh + "</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", 6358636Sjkh "<table class=\"requiresSummary\" summary=\"Additional Modules Required table, listing modules, and an explanation\">\n" 63615091Sjkh + "<caption><span>Additional Modules Required</span><span class=\"tabEnd\"> </span></caption>", 6378636Sjkh "<td class=\"colFirst\">transitive</td>\n" 6389202Srgrimes + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 63921971Sjkh + "<td class=\"colLast\">\n" 6408810Sjkh + "<div class=\"block\">This is a test description for the moduleB module.</div>\n" 64154587Sjkh + "</td>", 64225473Spst "<table class=\"packagesSummary\" summary=\"Additional Exported Packages table, listing modules, and packages\">\n" 64325473Spst + "<caption><span>Additional Exported Packages</span><span class=\"tabEnd\"> </span></caption>", 64425473Spst "<td class=\"colFirst\">transitive static</td>\n" 64525473Spst + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n" 64621976Sjkh + "<td class=\"colLast\">\n" 64754587Sjkh + "<div class=\"block\">This is a test description for the moduleA module.</div>\n" 64812661Speter + "</td>", 64923500Sjkh "<table class=\"requiresSummary\" summary=\"Requires table, listing modules, and an explanation\">\n" 65054587Sjkh + "<caption><span>Requires</span><span class=\"tabEnd\"> </span></caption>\n" 65121710Sjkh + "<tr>\n" 65221971Sjkh + "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n" 65321971Sjkh + "<th class=\"colSecond\" scope=\"col\">Module</th>\n" 65421971Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>", 65521971Sjkh "<table class=\"requiresSummary\" summary=\"Additional Modules Required table, listing modules, and an explanation\">\n" 65641162Sjkh + "<caption><span>Additional Modules Required</span><span class=\"tabEnd\"> </span></caption>\n" 65741162Sjkh + "<tr>\n" 65841162Sjkh + "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n" 65910882Speter + "<th class=\"colSecond\" scope=\"col\">Module</th>\n" 66021976Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>", 66121976Sjkh "<table class=\"packagesSummary\" summary=\"Additional Opened Packages table, listing modules, and packages\">\n" 66221976Sjkh + "<caption><span>Additional Opened Packages</span><span class=\"tabEnd\"> </span></caption>\n" 66321976Sjkh + "<tr>\n" 66423500Sjkh + "<th class=\"colFirst\" scope=\"col\">Module</th>\n" 66523500Sjkh + "<th class=\"colLast\" scope=\"col\">Packages</th>\n" 66654587Sjkh + "</tr>\n" 66721976Sjkh + "<tbody>\n" 66821976Sjkh + "<tr class=\"altColor\">\n" 66921976Sjkh + "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" 67021976Sjkh + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n" 67154587Sjkh + "</tr>\n" 67221976Sjkh + "</tbody>\n" 67321976Sjkh + "</table>"); 67441162Sjkh } 67515451Sjkh 67641162Sjkh void checkModuleModeApi(boolean found) { 67734466Sjkh checkOutput("moduleA-summary.html", found, 67834466Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n" 67934466Sjkh + "<td class=\"colLast\"> </td>"); 68043685Sjkh checkOutput("moduleB-summary.html", found, 68126764Sjkh "<li><a href=\"#module.description\">Description</a> | Modules | " 68254587Sjkh + "<a href=\"#packages.summary\">Packages</a> | <a href=\"#services.summary\">Services</a></li>", 68312661Speter "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" 6848837Sjkh + "<td class=\"colLast\"> </td>", 68515451Sjkh "<table class=\"packagesSummary\" summary=\"Packages table, listing packages, and an explanation\">\n" 68615451Sjkh + "<caption><span>Opened Packages</span><span class=\"tabEnd\"> </span></caption>\n" 68715451Sjkh + "<tr>\n" 68815451Sjkh + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 68915451Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 69054587Sjkh + "</tr>\n" 69116887Sjkh + "<tbody>\n" 69243811Sjkh + "<tr class=\"altColor\" id=\"i0\">\n" 69325992Sjkh + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" 69415451Sjkh + "<td class=\"colLast\"> </td>\n" 69515451Sjkh + "</tr>\n" 69612661Speter + "</tbody>\n" 69741162Sjkh + "</table>"); 69812661Speter checkOutput("moduletags-summary.html", found, 69912661Speter "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n" 70046637Sjkh + "<td class=\"colLast\"> </td>"); 70112661Speter } 70253664Sjkh 70353694Sjkh void checkModuleModeAll(boolean found) { 70412661Speter checkOutput("moduleA-summary.html", found, 70541162Sjkh "<td class=\"colFirst\"> </td>\n" 70641162Sjkh + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n" 70741162Sjkh + "<td class=\"colLast\"> </td>", 70841162Sjkh "<td class=\"colFirst\"> </td>\n" 70947983Smarkm + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n" 71047983Smarkm + "<td class=\"colLast\">\n" 71147983Smarkm + "<div class=\"block\">This is a test description for the moduleC module.</div>\n" 71241162Sjkh + "</td>", 71341162Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n" 71441162Sjkh + "<td class=\"colLast\"><a href=\"testpkgmdlC/package-summary.html\">testpkgmdlC</a></td>", 71543392Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n" 71642898Sjkh + "<td class=\"colSecond\">All Modules</td>\n" 71746637Sjkh + "<td class=\"colLast\"> </td>", 71846637Sjkh "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\"> </span></span>" 71954473Sjkh + "<span id=\"t1\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(1);\">Exported Packages</a></span>" 72046637Sjkh + "<span class=\"tabEnd\"> </span></span><span id=\"t3\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(4);\">" 72146637Sjkh + "Concealed Packages</a></span><span class=\"tabEnd\"> </span></span></caption>", 72243685Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"concealedpkgmdlA/package-summary.html\">concealedpkgmdlA</a></th>\n" 72343685Sjkh + "<td class=\"colSecond\">None</td>\n" 72453664Sjkh + "<td class=\"colLast\"> </td>"); 72553664Sjkh checkOutput("moduleB-summary.html", found, 72653664Sjkh "<li><a href=\"#module.description\">Description</a> | <a href=\"#modules.summary\">" 72753664Sjkh + "Modules</a> | <a href=\"#packages.summary\">Packages</a> | <a href=\"#services.summary\">Services</a></li>", 72853664Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" 72953664Sjkh + "<td class=\"colSecond\">All Modules</td>\n" 73053664Sjkh + "<td class=\"colLast\"> </td>", 73153664Sjkh "<td class=\"colFirst\"> </td>\n" 73243392Sjkh + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n" 73341162Sjkh + "<td class=\"colLast\"> </td>", 73441162Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClass2InModuleB.html\" title=\"class in testpkgmdlB\">TestClass2InModuleB</a></th>\n" 73541162Sjkh + "<td class=\"colLast\"> </td>", 73641162Sjkh "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterface2InModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterface2InModuleB</a></th>\n" 73741162Sjkh + "<td class=\"colLast\"> <br>(<span class=\"implementationLabel\">Implementation(s):</span> <a href=\"testpkgmdlB/TestClass2InModuleB.html\" " 73815242Sjkh + "title=\"class in testpkgmdlB\">TestClass2InModuleB</a>)</td>", 73912661Speter "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterfaceInModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterfaceInModuleB</a></th>\n" 74012661Speter + "<td class=\"colLast\"> <br>(<span class=\"implementationLabel\">Implementation(s):</span> <a href=\"testpkgmdlB/TestClassInModuleB.html\" " 74141162Sjkh + "title=\"class in testpkgmdlB\">TestClassInModuleB</a>)</td>", 74241162Sjkh "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\"> </span></span><span id=\"t1\" class=\"tableTab\"><span>" 74354808Sjkh + "<a href=\"javascript:showPkgs(1);\">Exported Packages</a></span><span class=\"tabEnd\"> </span></span><span id=\"t2\" class=\"tableTab\"><span>" 7449202Srgrimes + "<a href=\"javascript:showPkgs(2);\">Opened Packages</a></span><span class=\"tabEnd\"> </span></span></caption>"); 74512661Speter checkOutput("moduleC-summary.html", found, 7469202Srgrimes "<caption><span>Exported Packages</span><span class=\"tabEnd\"> </span></caption>\n" 74754808Sjkh + "<tr>\n" 74812661Speter + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" 74912661Speter + "<th class=\"colSecond\" scope=\"col\">Module</th>\n" 75054808Sjkh + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 7519202Srgrimes + "</tr>"); 7529202Srgrimes checkOutput("moduletags-summary.html", found, 7539202Srgrimes "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n" 7549202Srgrimes + "<td class=\"colSecond\">All Modules</td>\n" 75512661Speter + "<td class=\"colLast\"> </td>"); 7569202Srgrimes } 7579202Srgrimes 7589202Srgrimes void checkModuleDeprecation(boolean found) { 7599202Srgrimes checkOutput("moduleA-summary.html", found, 76041162Sjkh "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:" 76112661Speter + " This API element is subject to removal in a future version. </span>\n" 76212661Speter + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n" 7639202Srgrimes + "</div>"); 7649202Srgrimes checkOutput("deprecated-list.html", found, 7659202Srgrimes "<ul>\n" 7669202Srgrimes + "<li><a href=\"#forRemoval\">Deprecated For Removal</a></li>\n" 76754808Sjkh + "<li><a href=\"#module\">Deprecated Modules</a></li>\n" 7689202Srgrimes + "</ul>", 76912661Speter "<tr class=\"altColor\">\n" 7709202Srgrimes + "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n" 77154808Sjkh + "<td class=\"colLast\">\n" 77212661Speter + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n" 7739202Srgrimes + "</td>\n" 7749202Srgrimes + "</tr>"); 7759202Srgrimes checkOutput("moduleB-summary.html", !found, 77641162Sjkh "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>\n" 77712661Speter + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated using just the javadoc tag.</span></div>"); 77812661Speter checkOutput("moduletags-summary.html", found, 77941162Sjkh "<p>@Deprecated\n" 78012661Speter + "</p>", 78117005Sjkh "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span></div>"); 78212661Speter } 78341162Sjkh 78427451Sjkh void checkModuleAnnotation() { 78527460Sjkh checkOutput("moduleB-summary.html", true, 78627451Sjkh "<p><a href=\"testpkgmdlB/AnnotationType.html\" title=\"annotation in testpkgmdlB\">@AnnotationType</a>(<a href=\"testpkgmdlB/AnnotationType.html#optional--\">optional</a>=\"Module Annotation\",\n" 78741162Sjkh + " <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n" 78827630Sjkh + "</p>"); 78927630Sjkh checkOutput("moduleB-summary.html", false, 79027630Sjkh "@AnnotationTypeUndocumented"); 79112661Speter} 79212661Speter 79312661Speter void checkOverviewFrame(boolean found) { 79412661Speter checkOutput("index.html", !found, 79541162Sjkh "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>"); 79641162Sjkh checkOutput("index.html", found, 79710882Speter "<iframe src=\"module-overview-frame.html\" name=\"packageListFrame\" title=\"All Modules\"></iframe>"); 79854808Sjkh} 7998208Sjkh 8008208Sjkh void checkNegatedOverviewFrame() { 80156244Sobrien checkOutput("index.html", false, 80256244Sobrien "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>"); 80356244Sobrien checkOutput("index.html", false, 80456244Sobrien "<iframe src=\"module-overview-frame.html\" name=\"packageListFrame\" title=\"All Modules\"></iframe>"); 80556244Sobrien } 80656244Sobrien} 80756244Sobrien