test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
changeset 48759 ffa68af7da87
parent 48654 36f58bd6269f
child 49139 771616d26ca1
equal deleted inserted replaced
48758:ba19a21d727d 48759:ffa68af7da87
   442         checkExit(Exit.OK);
   442         checkExit(Exit.OK);
   443         checkLinkOffline();
   443         checkLinkOffline();
   444     }
   444     }
   445 
   445 
   446     void checkDescription(boolean found) {
   446     void checkDescription(boolean found) {
   447         checkOutput("moduleA-summary.html", found,
   447         checkOutput("moduleA/module-summary.html", found,
   448                 "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   448                 "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   449                 + "<a name=\"module.description\">\n"
   449                 + "<a name=\"module.description\">\n"
   450                 + "<!--   -->\n"
   450                 + "<!--   -->\n"
   451                 + "</a>\n"
   451                 + "</a>\n"
   452                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   452                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   453                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
   453                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
   454         checkOutput("moduleB-summary.html", found,
   454         checkOutput("moduleB/module-summary.html", found,
   455                 "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   455                 "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   456                 + "<a name=\"module.description\">\n"
   456                 + "<a name=\"module.description\">\n"
   457                 + "<!--   -->\n"
   457                 + "<!--   -->\n"
   458                 + "</a>\n"
   458                 + "</a>\n"
   459                 + "<div class=\"block\">This is a test description for the moduleB module. Search "
   459                 + "<div class=\"block\">This is a test description for the moduleB module. Search "
   476                 + "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
   476                 + "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
   477                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   477                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   478     }
   478     }
   479 
   479 
   480     void checkNoDescription(boolean found) {
   480     void checkNoDescription(boolean found) {
   481         checkOutput("moduleA-summary.html", found,
   481         checkOutput("moduleA/module-summary.html", found,
   482                 "<div class=\"contentContainer\">\n"
   482                 "<div class=\"contentContainer\">\n"
   483                 + "<ul class=\"blockList\">\n"
   483                 + "<ul class=\"blockList\">\n"
   484                 + "<li class=\"blockList\">\n"
   484                 + "<li class=\"blockList\">\n"
   485                 + "<ul class=\"blockList\">\n"
   485                 + "<ul class=\"blockList\">\n"
   486                 + "<li class=\"blockList\">\n"
   486                 + "<li class=\"blockList\">\n"
   487                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   487                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   488         checkOutput("moduleB-summary.html", found,
   488         checkOutput("moduleB/module-summary.html", found,
   489                 "<div class=\"contentContainer\">\n"
   489                 "<div class=\"contentContainer\">\n"
   490                 + "<ul class=\"blockList\">\n"
   490                 + "<ul class=\"blockList\">\n"
   491                 + "<li class=\"blockList\">\n"
   491                 + "<li class=\"blockList\">\n"
   492                 + "<ul class=\"blockList\">\n"
   492                 + "<ul class=\"blockList\">\n"
   493                 + "<li class=\"blockList\">\n"
   493                 + "<li class=\"blockList\">\n"
   494                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   494                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   495     }
   495     }
   496 
   496 
   497     void checkHtml5Description(boolean found) {
   497     void checkHtml5Description(boolean found) {
   498         checkOutput("moduleA-summary.html", found,
   498         checkOutput("moduleA/module-summary.html", found,
   499                 "<section role=\"region\">\n"
   499                 "<section role=\"region\">\n"
   500                 + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
   500                 + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
   501                 + " This API element is subject to removal in a future version.</span>\n"
   501                 + " This API element is subject to removal in a future version.</span>\n"
   502                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
   502                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
   503                 + "</div>\n"
   503                 + "</div>\n"
   505                 + "<a id=\"module.description\">\n"
   505                 + "<a id=\"module.description\">\n"
   506                 + "<!--   -->\n"
   506                 + "<!--   -->\n"
   507                 + "</a>\n"
   507                 + "</a>\n"
   508                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   508                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   509                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
   509                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
   510         checkOutput("moduleB-summary.html", found,
   510         checkOutput("moduleB/module-summary.html", found,
   511                 "<section role=\"region\">\n"
   511                 "<section role=\"region\">\n"
   512                 + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   512                 + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
   513                 + "<a id=\"module.description\">\n"
   513                 + "<a id=\"module.description\">\n"
   514                 + "<!--   -->\n"
   514                 + "<!--   -->\n"
   515                 + "</a>\n"
   515                 + "</a>\n"
   537                 + "<table class=\"overviewSummary\">\n"
   537                 + "<table class=\"overviewSummary\">\n"
   538                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   538                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   539     }
   539     }
   540 
   540 
   541     void checkHtml5NoDescription(boolean found) {
   541     void checkHtml5NoDescription(boolean found) {
   542         checkOutput("moduleA-summary.html", found,
   542         checkOutput("moduleA/module-summary.html", found,
   543                 "<div class=\"contentContainer\">\n"
   543                 "<div class=\"contentContainer\">\n"
   544                 + "<ul class=\"blockList\">\n"
   544                 + "<ul class=\"blockList\">\n"
   545                 + "<li class=\"blockList\">\n"
   545                 + "<li class=\"blockList\">\n"
   546                 + "<ul class=\"blockList\">\n"
   546                 + "<ul class=\"blockList\">\n"
   547                 + "<li class=\"blockList\">\n"
   547                 + "<li class=\"blockList\">\n"
   548                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   548                 + "<!-- ============ PACKAGES SUMMARY =========== -->");
   549         checkOutput("moduleB-summary.html", found,
   549         checkOutput("moduleB/module-summary.html", found,
   550                 "<div class=\"contentContainer\">\n"
   550                 "<div class=\"contentContainer\">\n"
   551                 + "<ul class=\"blockList\">\n"
   551                 + "<ul class=\"blockList\">\n"
   552                 + "<li class=\"blockList\">\n"
   552                 + "<li class=\"blockList\">\n"
   553                 + "<ul class=\"blockList\">\n"
   553                 + "<ul class=\"blockList\">\n"
   554                 + "<li class=\"blockList\">\n"
   554                 + "<li class=\"blockList\">\n"
   556     }
   556     }
   557 
   557 
   558     void checkModuleLink() {
   558     void checkModuleLink() {
   559         checkOutput("overview-summary.html", true,
   559         checkOutput("overview-summary.html", true,
   560                 "<li>Module</li>");
   560                 "<li>Module</li>");
   561         checkOutput("moduleA-summary.html", true,
   561         checkOutput("moduleA/module-summary.html", true,
   562                 "<li class=\"navBarCell1Rev\">Module</li>");
   562                 "<li class=\"navBarCell1Rev\">Module</li>");
   563         checkOutput("moduleB-summary.html", true,
   563         checkOutput("moduleB/module-summary.html", true,
   564                 "<li class=\"navBarCell1Rev\">Module</li>");
   564                 "<li class=\"navBarCell1Rev\">Module</li>");
   565         checkOutput("testpkgmdlA/class-use/TestClassInModuleA.html", true,
   565         checkOutput("moduleA/testpkgmdlA/class-use/TestClassInModuleA.html", true,
   566                 "<li><a href=\"../../moduleA-summary.html\">Module</a></li>");
   566                 "<li><a href=\"../../module-summary.html\">Module</a></li>");
   567         checkOutput("testpkgmdlB/package-summary.html", true,
   567         checkOutput("moduleB/testpkgmdlB/package-summary.html", true,
   568                 "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
   568                 "<li><a href=\"../module-summary.html\">Module</a></li>");
   569         checkOutput("testpkgmdlB/TestClassInModuleB.html", true,
   569         checkOutput("moduleB/testpkgmdlB/TestClassInModuleB.html", true,
   570                 "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
   570                 "<li><a href=\"../module-summary.html\">Module</a></li>");
   571         checkOutput("testpkgmdlB/class-use/TestClassInModuleB.html", true,
   571         checkOutput("moduleB/testpkgmdlB/class-use/TestClassInModuleB.html", true,
   572                 "<li><a href=\"../../moduleB-summary.html\">Module</a></li>");
   572                 "<li><a href=\"../../module-summary.html\">Module</a></li>");
   573     }
   573     }
   574 
   574 
   575     void checkNoModuleLink() {
   575     void checkNoModuleLink() {
   576         checkOutput("testpkgnomodule/package-summary.html", true,
   576         checkOutput("testpkgnomodule/package-summary.html", true,
   577                 "<ul class=\"navList\" title=\"Navigation\">\n"
   577                 "<ul class=\"navList\" title=\"Navigation\">\n"
   583                 "<ul class=\"navList\" title=\"Navigation\">\n"
   583                 "<ul class=\"navList\" title=\"Navigation\">\n"
   584                 + "<li><a href=\"../../testpkgnomodule/package-summary.html\">Package</a></li>");
   584                 + "<li><a href=\"../../testpkgnomodule/package-summary.html\">Package</a></li>");
   585     }
   585     }
   586 
   586 
   587     void checkModuleTags() {
   587     void checkModuleTags() {
   588         checkOutput("moduletags-summary.html", true,
   588         checkOutput("moduletags/module-summary.html", true,
   589                 "Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in "
   589                 "Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in "
   590                 + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.",
   590                 + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.",
   591                 "Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#"
   591                 "Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#"
   592                 + "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.",
   592                 + "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.",
   593                 "Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.",
   593                 "Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.",
   603                 + "<dd>Just a simple module tag.</dd>",
   603                 + "<dd>Just a simple module tag.</dd>",
   604                 "<dt><span class=\"simpleTagLabel\">Version:</span></dt>\n"
   604                 "<dt><span class=\"simpleTagLabel\">Version:</span></dt>\n"
   605                 + "<dd>1.0</dd>",
   605                 + "<dd>1.0</dd>",
   606                 "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
   606                 "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
   607                 + "<dd>Bhavesh Patel</dd>");
   607                 + "<dd>Bhavesh Patel</dd>");
   608         checkOutput("testpkgmdltags/TestClassInModuleTags.html", false,
   608         checkOutput("moduletags/testpkgmdltags/TestClassInModuleTags.html", false,
   609                 "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
   609                 "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
   610                 + "<dd>Just a simple module tag.</dd>");
   610                 + "<dd>Just a simple module tag.</dd>");
   611     }
   611     }
   612 
   612 
   613     void checkOverviewSummaryModules() {
   613     void checkOverviewSummaryModules() {
   714                 + "<table class=\"overviewSummary\">\n"
   714                 + "<table class=\"overviewSummary\">\n"
   715                 + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   715                 + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   716     }
   716     }
   717 
   717 
   718     void checkModuleSummary() {
   718     void checkModuleSummary() {
   719         checkOutput("moduleA-summary.html", true,
   719         checkOutput("moduleA/module-summary.html", true,
   720                 "<ul class=\"subNavList\">\n"
   720                 "<ul class=\"subNavList\">\n"
   721                 + "<li>Module:&nbsp;</li>\n"
   721                 + "<li>Module:&nbsp;</li>\n"
   722                 + "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a "
   722                 + "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a "
   723                 + "href=\"#modules.summary\">Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">"
   723                 + "href=\"#modules.summary\">Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">"
   724                 + "Packages</a>&nbsp;|&nbsp;Services</li>\n"
   724                 + "Packages</a>&nbsp;|&nbsp;Services</li>\n"
   735                 + "<a name=\"packages.summary\">\n"
   735                 + "<a name=\"packages.summary\">\n"
   736                 + "<!--   -->\n"
   736                 + "<!--   -->\n"
   737                 + "</a>",
   737                 + "</a>",
   738                 "<tr class=\"altColor\">\n"
   738                 "<tr class=\"altColor\">\n"
   739                 + "<td class=\"colFirst\">transitive</td>\n"
   739                 + "<td class=\"colFirst\">transitive</td>\n"
   740                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   740                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n"
   741                 + "<td class=\"colLast\">\n"
   741                 + "<td class=\"colLast\">\n"
   742                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   742                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   743                 + "</td>\n"
   743                 + "</td>\n"
   744                 + "</tr>");
   744                 + "</tr>");
   745         checkOutput("moduleB-summary.html", true,
   745         checkOutput("moduleB/module-summary.html", true,
   746                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
   746                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
   747                 + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">"
   747                 + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">"
   748                 + "Services</a></li>",
   748                 + "Services</a></li>",
   749                 "<!-- ============ PACKAGES SUMMARY =========== -->\n"
   749                 "<!-- ============ PACKAGES SUMMARY =========== -->\n"
   750                 + "<a name=\"packages.summary\">\n"
   750                 + "<a name=\"packages.summary\">\n"
   783                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
   783                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
   784                 + "</tr>");
   784                 + "</tr>");
   785     }
   785     }
   786 
   786 
   787     void checkAggregatorModuleSummary() {
   787     void checkAggregatorModuleSummary() {
   788         checkOutput("moduleT-summary.html", true,
   788         checkOutput("moduleT/module-summary.html", true,
   789                 "<div class=\"header\">\n"
   789                 "<div class=\"header\">\n"
   790                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleT</h1>\n"
   790                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleT</h1>\n"
   791                 + "</div>",
   791                 + "</div>",
   792                 "<div class=\"block\">This is a test description for the moduleT module. "
   792                 "<div class=\"block\">This is a test description for the moduleT module. "
   793                 + "Search phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>. "
   793                 + "Search phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>. "
   794                 + "Make sure there are no exported packages.</div>",
   794                 + "Make sure there are no exported packages.</div>",
   795                 "<tbody>\n"
   795                 "<tbody>\n"
   796                 + "<tr class=\"altColor\">\n"
   796                 + "<tr class=\"altColor\">\n"
   797                 + "<td class=\"colFirst\">transitive</td>\n"
   797                 + "<td class=\"colFirst\">transitive</td>\n"
   798                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
   798                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleA/module-summary.html\">moduleA</a></th>\n"
   799                 + "<td class=\"colLast\">\n"
   799                 + "<td class=\"colLast\">\n"
   800                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   800                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   801                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   801                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   802                 + "</td>\n"
   802                 + "</td>\n"
   803                 + "</tr>\n"
   803                 + "</tr>\n"
   804                 + "<tr class=\"rowColor\">\n"
   804                 + "<tr class=\"rowColor\">\n"
   805                 + "<td class=\"colFirst\">transitive</td>\n"
   805                 + "<td class=\"colFirst\">transitive</td>\n"
   806                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   806                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n"
   807                 + "<td class=\"colLast\">\n"
   807                 + "<td class=\"colLast\">\n"
   808                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   808                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   809                 + "</td>\n"
   809                 + "</td>\n"
   810                 + "</tr>\n"
   810                 + "</tr>\n"
   811                 + "</tbody>");
   811                 + "</tbody>");
   812     }
   812     }
   813 
   813 
   814     void checkNegatedModuleSummary() {
   814     void checkNegatedModuleSummary() {
   815         checkOutput("moduleA-summary.html", false,
   815         checkOutput("moduleA/module-summary.html", false,
   816                 "<!-- ============ SERVICES SUMMARY =========== -->\n"
   816                 "<!-- ============ SERVICES SUMMARY =========== -->\n"
   817                 + "<a name=\"services.summary\">\n"
   817                 + "<a name=\"services.summary\">\n"
   818                 + "<!--   -->\n"
   818                 + "<!--   -->\n"
   819                 + "</a>");
   819                 + "</a>");
   820     }
   820     }
   821 
   821 
   822     void checkModuleClickThroughLinks() {
   822     void checkModuleClickThroughLinks() {
   823         checkOutput("module-overview-frame.html", true,
   823         checkOutput("module-overview-frame.html", true,
   824                 "<li><a href=\"moduleA-frame.html\" target=\"packageListFrame\" "
   824                 "<li><a href=\"moduleA/module-frame.html\" target=\"packageListFrame\" "
   825                 + "onclick=\"updateModuleFrame('moduleA-type-frame.html','moduleA-summary.html');"
   825                 + "onclick=\"updateModuleFrame('moduleA/module-type-frame.html','moduleA/module-summary.html');"
   826                 + "\">moduleA</a></li>",
   826                 + "\">moduleA</a></li>",
   827                 "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" "
   827                 "<li><a href=\"moduleB/module-frame.html\" target=\"packageListFrame\" "
   828                 + "onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');"
   828                 + "onclick=\"updateModuleFrame('moduleB/module-type-frame.html','moduleB/module-summary.html');"
   829                 + "\">moduleB</a></li>");
   829                 + "\">moduleB</a></li>");
   830         checkOutput("script.js", true,
   830         checkOutput("script.js", true,
   831                 "function updateModuleFrame(pFrame, cFrame)\n"
   831                 "function updateModuleFrame(pFrame, cFrame)\n"
   832                 + "{\n"
   832                 + "{\n"
   833                 + "    top.packageFrame.location = pFrame;\n"
   833                 + "    top.packageFrame.location = pFrame;\n"
   835                 + "}");
   835                 + "}");
   836     }
   836     }
   837 
   837 
   838     void checkModuleClickThrough(boolean found) {
   838     void checkModuleClickThrough(boolean found) {
   839         checkFiles(found,
   839         checkFiles(found,
   840                 "moduleA-type-frame.html",
   840                 "moduleA/module-type-frame.html",
   841                 "moduleB-type-frame.html");
   841                 "moduleB/module-type-frame.html");
   842     }
   842     }
   843 
   843 
   844     void checkModuleFilesAndLinks(boolean found) {
   844     void checkModuleFilesAndLinks(boolean found) {
   845         checkFileAndOutput("testpkgmdlA/package-summary.html", found,
   845         checkFileAndOutput("moduleA/testpkgmdlA/package-summary.html", found,
   846                 "<li><a href=\"../moduleA-summary.html\">Module</a></li>",
   846                 "<li><a href=\"../module-summary.html\">Module</a></li>",
   847                 "<div class=\"subTitle\"><span class=\"moduleLabelInPackage\">Module</span>&nbsp;"
   847                 "<div class=\"subTitle\"><span class=\"moduleLabelInPackage\">Module</span>&nbsp;"
   848                 + "<a href=\"../moduleA-summary.html\">moduleA</a></div>");
   848                 + "<a href=\"../module-summary.html\">moduleA</a></div>");
   849         checkFileAndOutput("testpkgmdlA/TestClassInModuleA.html", found,
   849         checkFileAndOutput("moduleA/testpkgmdlA/TestClassInModuleA.html", found,
   850                 "<li><a href=\"../moduleA-summary.html\">Module</a></li>",
   850                 "<li><a href=\"../module-summary.html\">Module</a></li>",
   851                 "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
   851                 "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
   852                 + "<a href=\"../moduleA-summary.html\">moduleA</a></div>");
   852                 + "<a href=\"../module-summary.html\">moduleA</a></div>");
   853         checkFileAndOutput("testpkgmdlB/AnnotationType.html", found,
   853         checkFileAndOutput("moduleB/testpkgmdlB/AnnotationType.html", found,
   854                 "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
   854                 "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
   855                 + "<a href=\"../moduleB-summary.html\">moduleB</a></div>",
   855                 + "<a href=\"../module-summary.html\">moduleB</a></div>",
   856                 "<div class=\"subTitle\"><span class=\"packageLabelInType\">"
   856                 "<div class=\"subTitle\"><span class=\"packageLabelInType\">"
   857                 + "Package</span>&nbsp;<a href=\"package-summary.html\">testpkgmdlB</a></div>");
   857                 + "Package</span>&nbsp;<a href=\"package-summary.html\">testpkgmdlB</a></div>");
   858         checkFiles(found,
   858         checkFiles(found,
   859                 "moduleA-frame.html",
   859                 "moduleA/module-frame.html",
   860                 "moduleA-summary.html",
   860                 "moduleA/module-summary.html",
   861                 "module-overview-frame.html");
   861                 "module-overview-frame.html");
   862     }
   862     }
   863 
   863 
   864     void checkModuleFrameFiles(boolean found) {
   864     void checkModuleFrameFiles(boolean found) {
   865         checkFiles(found,
   865         checkFiles(found,
   866                 "moduleC-frame.html",
   866                 "moduleC/module-frame.html",
   867                 "moduleC-type-frame.html",
   867                 "moduleC/module-type-frame.html",
   868                 "module-overview-frame.html");
   868                 "module-overview-frame.html");
   869         checkFiles(true,
   869         checkFiles(true,
   870                 "moduleC-summary.html",
   870                 "moduleC/module-summary.html",
   871                 "allclasses-frame.html",
   871                 "allclasses-frame.html",
   872                 "allclasses-noframe.html");
   872                 "allclasses-noframe.html");
   873     }
   873     }
   874 
   874 
   875     void checkAllModulesLink(boolean found) {
   875     void checkAllModulesLink(boolean found) {
   878     }
   878     }
   879 
   879 
   880     void checkModulesInSearch(boolean found) {
   880     void checkModulesInSearch(boolean found) {
   881         checkOutput("index-all.html", found,
   881         checkOutput("index-all.html", found,
   882                 "<dl>\n"
   882                 "<dl>\n"
   883                 + "<dt><a href=\"moduleA-summary.html\">moduleA</a> - module moduleA</dt>\n"
   883                 + "<dt><a href=\"moduleA/module-summary.html\">moduleA</a> - module moduleA</dt>\n"
   884                 + "<dd>\n"
   884                 + "<dd>\n"
   885                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   885                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   886                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   886                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   887                 + "</dd>\n"
   887                 + "</dd>\n"
   888                 + "<dt><a href=\"moduleB-summary.html\">moduleB</a> - module moduleB</dt>\n"
   888                 + "<dt><a href=\"moduleB/module-summary.html\">moduleB</a> - module moduleB</dt>\n"
   889                 + "<dd>\n"
   889                 + "<dd>\n"
   890                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   890                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   891                 + "</dd>\n"
   891                 + "</dd>\n"
   892                 + "</dl>",
   892                 + "</dl>",
   893                 "<dl>\n"
   893                 "<dl>\n"
   894                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
   894                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">"
   895                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   895                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   896                 + "<dd>with description</dd>\n"
   896                 + "<dd>with description</dd>\n"
   897                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleB-summary.html#search_word\">"
   897                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleB/module-summary.html#search_word\">"
   898                 + "search_word</a></span> - Search tag in moduleB</dt>\n"
   898                 + "search_word</a></span> - Search tag in moduleB</dt>\n"
   899                 + "<dd>&nbsp;</dd>\n"
   899                 + "<dd>&nbsp;</dd>\n"
   900                 + "</dl>");
   900                 + "</dl>");
   901         checkOutput("index-all.html", false,
   901         checkOutput("index-all.html", false,
   902                 "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
   902                 "<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">"
   903                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   903                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   904                 + "<dd>with description</dd>\n"
   904                 + "<dd>with description</dd>\n"
   905                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
   905                 + "<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">"
   906                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   906                 + "search phrase</a></span> - Search tag in moduleA</dt>\n"
   907                 + "<dd>with description</dd>");
   907                 + "<dd>with description</dd>");
   908     }
   908     }
   909 
   909 
   910     void checkModuleModeCommon() {
   910     void checkModuleModeCommon() {
   911         checkOutput("overview-summary.html", true,
   911         checkOutput("overview-summary.html", true,
   912                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
   912                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA/module-summary.html\">moduleA</a></th>\n"
   913                 + "<td class=\"colLast\">\n"
   913                 + "<td class=\"colLast\">\n"
   914                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   914                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   915                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   915                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   916                 + "</td>",
   916                 + "</td>",
   917                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   917                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB/module-summary.html\">moduleB</a></th>\n"
   918                 + "<td class=\"colLast\">\n"
   918                 + "<td class=\"colLast\">\n"
   919                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   919                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   920                 + "</td>",
   920                 + "</td>",
   921                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags-summary.html\">moduletags</a></th>\n"
   921                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags/module-summary.html\">moduletags</a></th>\n"
   922                 + "<td class=\"colLast\">\n"
   922                 + "<td class=\"colLast\">\n"
   923                 + "<div class=\"block\">This is a test description for the moduletags module.<br>\n"
   923                 + "<div class=\"block\">This is a test description for the moduletags module.<br>\n"
   924                 + " Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n"
   924                 + " Type Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n"
   925                 + " Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.<br>\n"
   925                 + " Member Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html#testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.<br>\n"
   926                 + " Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n"
   926                 + " Package Link: <a href=\"moduletags/testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n"
   927                 + "</td>");
   927                 + "</td>");
   928         checkOutput("moduleA-summary.html", true,
   928         checkOutput("moduleA/module-summary.html", true,
   929                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
   929                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
   930                 + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
   930                 + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
   931                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   931                 "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n"
   932                 + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
   932                 + "<td class=\"colLast\"><a href=\"../moduleB/testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
   933         checkOutput("moduleB-summary.html", true,
   933         checkOutput("moduleB/module-summary.html", true,
   934                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n"
   934                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n"
   935                 + "<td class=\"colLast\">\n"
   935                 + "<td class=\"colLast\">\n"
   936                 + "<div class=\"block\">With a test description for uses.</div>\n</td>\n");
   936                 + "<div class=\"block\">With a test description for uses.</div>\n</td>\n");
   937         checkOutput("moduletags-summary.html", true,
   937         checkOutput("moduletags/module-summary.html", true,
   938                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">Modules"
   938                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">Modules"
   939                 + "</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
   939                 + "</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
   940                 "<table class=\"requiresSummary\" summary=\"Indirect Requires table, listing modules, and an explanation\">\n"
   940                 "<table class=\"requiresSummary\" summary=\"Indirect Requires table, listing modules, and an explanation\">\n"
   941                 + "<caption><span>Indirect Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   941                 + "<caption><span>Indirect Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   942                 "<td class=\"colFirst\">transitive</td>\n"
   942                 "<td class=\"colFirst\">transitive</td>\n"
   943                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   943                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n"
   944                 + "<td class=\"colLast\">\n"
   944                 + "<td class=\"colLast\">\n"
   945                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   945                 + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
   946                 + "</td>",
   946                 + "</td>",
   947                 "<table class=\"packagesSummary\" summary=\"Indirect Exports table, listing modules, and packages\">\n"
   947                 "<table class=\"packagesSummary\" summary=\"Indirect Exports table, listing modules, and packages\">\n"
   948                 + "<caption><span>Indirect Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   948                 + "<caption><span>Indirect Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   949                 "<td class=\"colFirst\">transitive static</td>\n"
   949                 "<td class=\"colFirst\">transitive static</td>\n"
   950                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
   950                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleA/module-summary.html\">moduleA</a></th>\n"
   951                 + "<td class=\"colLast\">\n"
   951                 + "<td class=\"colLast\">\n"
   952                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   952                 + "<div class=\"block\">This is a test description for the moduleA module with a Search "
   953                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   953                 + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
   954                 + "</td>",
   954                 + "</td>",
   955                 "<table class=\"requiresSummary\" summary=\"Requires table, listing modules, and an explanation\">\n"
   955                 "<table class=\"requiresSummary\" summary=\"Requires table, listing modules, and an explanation\">\n"
   968                 + "<caption><span>Indirect Opens</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
   968                 + "<caption><span>Indirect Opens</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
   969                 + "<tr>\n"
   969                 + "<tr>\n"
   970                 + "<th class=\"colFirst\" scope=\"col\">From</th>\n"
   970                 + "<th class=\"colFirst\" scope=\"col\">From</th>\n"
   971                 + "<th class=\"colLast\" scope=\"col\">Packages</th>\n"
   971                 + "<th class=\"colLast\" scope=\"col\">Packages</th>\n"
   972                 + "</tr>\n",
   972                 + "</tr>\n",
   973                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
   973                 "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n"
   974                 + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
   974                 + "<td class=\"colLast\"><a href=\"../moduleB/testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
   975     }
   975     }
   976 
   976 
   977     void checkModuleModeApi(boolean found) {
   977     void checkModuleModeApi(boolean found) {
   978         checkOutput("moduleA-summary.html", found,
   978         checkOutput("moduleA/module-summary.html", found,
   979                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
   979                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
   980                 + "<td class=\"colLast\">&nbsp;</td>");
   980                 + "<td class=\"colLast\">&nbsp;</td>");
   981         checkOutput("moduleB-summary.html", found,
   981         checkOutput("moduleB/module-summary.html", found,
   982                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
   982                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
   983                 + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
   983                 + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
   984                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
   984                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
   985                 + "<td class=\"colLast\">&nbsp;</td>",
   985                 + "<td class=\"colLast\">&nbsp;</td>",
   986                 "<table class=\"packagesSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
   986                 "<table class=\"packagesSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
   994                 + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
   994                 + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
   995                 + "<td class=\"colLast\">&nbsp;</td>\n"
   995                 + "<td class=\"colLast\">&nbsp;</td>\n"
   996                 + "</tr>\n"
   996                 + "</tr>\n"
   997                 + "</tbody>\n"
   997                 + "</tbody>\n"
   998                 + "</table>");
   998                 + "</table>");
   999         checkOutput("moduletags-summary.html", true,
   999         checkOutput("moduletags/module-summary.html", true,
  1000                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
  1000                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
  1001                 + "<td class=\"colLast\">&nbsp;</td>");
  1001                 + "<td class=\"colLast\">&nbsp;</td>");
  1002     }
  1002     }
  1003 
  1003 
  1004     void checkModuleModeAll(boolean found) {
  1004     void checkModuleModeAll(boolean found) {
  1005         checkOutput("moduleA-summary.html", found,
  1005         checkOutput("moduleA/module-summary.html", found,
  1006                 "<td class=\"colFirst\"> </td>\n"
  1006                 "<td class=\"colFirst\"> </td>\n"
  1007                 + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n"
  1007                 + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n"
  1008                 + "<td class=\"colLast\">&nbsp;</td>",
  1008                 + "<td class=\"colLast\">&nbsp;</td>",
  1009                 "<td class=\"colFirst\"> </td>\n"
  1009                 "<td class=\"colFirst\"> </td>\n"
  1010                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n"
  1010                 + "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleC/module-summary.html\">moduleC</a></th>\n"
  1011                 + "<td class=\"colLast\">\n"
  1011                 + "<td class=\"colLast\">\n"
  1012                 + "<div class=\"block\">This is a test description for the moduleC module.</div>\n"
  1012                 + "<div class=\"block\">This is a test description for the moduleC module.</div>\n"
  1013                 + "</td>",
  1013                 + "</td>",
  1014                 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n"
  1014                 "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleC/module-summary.html\">moduleC</a></th>\n"
  1015                 + "<td class=\"colLast\"><a href=\"testpkgmdlC/package-summary.html\">testpkgmdlC</a></td>",
  1015                 + "<td class=\"colLast\"><a href=\"../moduleC/testpkgmdlC/package-summary.html\">testpkgmdlC</a></td>",
  1016                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
  1016                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
  1017                 + "<td class=\"colSecond\">All Modules</td>\n"
  1017                 + "<td class=\"colSecond\">All Modules</td>\n"
  1018                 + "<td class=\"colLast\">&nbsp;</td>",
  1018                 + "<td class=\"colLast\">&nbsp;</td>",
  1019                 "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span>"
  1019                 "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span>"
  1020                 + "<span id=\"t1\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(1);\">Exports</a></span>"
  1020                 + "<span id=\"t1\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(1);\">Exports</a></span>"
  1021                 + "<span class=\"tabEnd\">&nbsp;</span></span><span id=\"t3\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(4);\">"
  1021                 + "<span class=\"tabEnd\">&nbsp;</span></span><span id=\"t3\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(4);\">"
  1022                 + "Concealed</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>",
  1022                 + "Concealed</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>",
  1023                 "<th class=\"colFirst\" scope=\"row\"><a href=\"concealedpkgmdlA/package-summary.html\">concealedpkgmdlA</a></th>\n"
  1023                 "<th class=\"colFirst\" scope=\"row\"><a href=\"concealedpkgmdlA/package-summary.html\">concealedpkgmdlA</a></th>\n"
  1024                 + "<td class=\"colSecond\">None</td>\n"
  1024                 + "<td class=\"colSecond\">None</td>\n"
  1025                 + "<td class=\"colLast\">&nbsp;</td>");
  1025                 + "<td class=\"colLast\">&nbsp;</td>");
  1026         checkOutput("moduleB-summary.html", found,
  1026         checkOutput("moduleB/module-summary.html", found,
  1027                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
  1027                 "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
  1028                 + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
  1028                 + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
  1029                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
  1029                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
  1030                 + "<td class=\"colSecond\">None</td>\n"
  1030                 + "<td class=\"colSecond\">None</td>\n"
  1031                 + "<td class=\"colSecond\">All Modules</td>\n"
  1031                 + "<td class=\"colSecond\">All Modules</td>\n"
  1042                 + "<td class=\"colLast\">&nbsp;<br>(<span class=\"implementationLabel\">Implementation(s):</span>&nbsp;<a href=\"testpkgmdlB/TestClassInModuleB.html\" "
  1042                 + "<td class=\"colLast\">&nbsp;<br>(<span class=\"implementationLabel\">Implementation(s):</span>&nbsp;<a href=\"testpkgmdlB/TestClassInModuleB.html\" "
  1043                 + "title=\"class in testpkgmdlB\">TestClassInModuleB</a>)</td>",
  1043                 + "title=\"class in testpkgmdlB\">TestClassInModuleB</a>)</td>",
  1044                 "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t1\" class=\"tableTab\"><span>"
  1044                 "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t1\" class=\"tableTab\"><span>"
  1045                 + "<a href=\"javascript:showPkgs(1);\">Exports</a></span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t2\" class=\"tableTab\"><span>"
  1045                 + "<a href=\"javascript:showPkgs(1);\">Exports</a></span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t2\" class=\"tableTab\"><span>"
  1046                 + "<a href=\"javascript:showPkgs(2);\">Opens</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>");
  1046                 + "<a href=\"javascript:showPkgs(2);\">Opens</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>");
  1047         checkOutput("moduleC-summary.html", found,
  1047         checkOutput("moduleC/module-summary.html", found,
  1048                 "<caption><span>Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
  1048                 "<caption><span>Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
  1049                 + "<tr>\n"
  1049                 + "<tr>\n"
  1050                 + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
  1050                 + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
  1051                 + "<th class=\"colSecond\" scope=\"col\">Exported To Modules</th>\n"
  1051                 + "<th class=\"colSecond\" scope=\"col\">Exported To Modules</th>\n"
  1052                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
  1052                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
  1053                 + "</tr>");
  1053                 + "</tr>");
  1054         checkOutput("moduletags-summary.html", true,
  1054         checkOutput("moduletags/module-summary.html", true,
  1055                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
  1055                 "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
  1056                 + "<td class=\"colLast\">&nbsp;</td>");
  1056                 + "<td class=\"colLast\">&nbsp;</td>");
  1057     }
  1057     }
  1058 
  1058 
  1059     void checkModuleDeprecation(boolean found) {
  1059     void checkModuleDeprecation(boolean found) {
  1060         checkOutput("moduleA-summary.html", found,
  1060         checkOutput("moduleA/module-summary.html", found,
  1061                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
  1061                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
  1062                 + " This API element is subject to removal in a future version.</span>\n"
  1062                 + " This API element is subject to removal in a future version.</span>\n"
  1063                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
  1063                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
  1064                 + "</div>");
  1064                 + "</div>");
  1065         checkOutput("deprecated-list.html", found,
  1065         checkOutput("deprecated-list.html", found,
  1066                 "<ul>\n"
  1066                 "<ul>\n"
  1067                 + "<li><a href=\"#forRemoval\">For Removal</a></li>\n"
  1067                 + "<li><a href=\"#forRemoval\">For Removal</a></li>\n"
  1068                 + "<li><a href=\"#module\">Modules</a></li>\n"
  1068                 + "<li><a href=\"#module\">Modules</a></li>\n"
  1069                 + "</ul>",
  1069                 + "</ul>",
  1070                 "<tr class=\"altColor\">\n"
  1070                 "<tr class=\"altColor\">\n"
  1071                 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
  1071                 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"moduleA/module-summary.html\">moduleA</a></th>\n"
  1072                 + "<td class=\"colLast\">\n"
  1072                 + "<td class=\"colLast\">\n"
  1073                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
  1073                 + "<div class=\"deprecationComment\">This module is deprecated.</div>\n"
  1074                 + "</td>\n"
  1074                 + "</td>\n"
  1075                 + "</tr>");
  1075                 + "</tr>");
  1076         checkOutput("moduleB-summary.html", !found,
  1076         checkOutput("moduleB/module-summary.html", !found,
  1077                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
  1077                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
  1078                 + "<div class=\"deprecationComment\">This module is deprecated using just the javadoc tag.</div>\n");
  1078                 + "<div class=\"deprecationComment\">This module is deprecated using just the javadoc tag.</div>\n");
  1079         checkOutput("moduletags-summary.html", found,
  1079         checkOutput("moduletags/module-summary.html", found,
  1080                 "<p>@Deprecated\n"
  1080                 "<p>@Deprecated\n"
  1081                 + "</p>",
  1081                 + "</p>",
  1082                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span></div>");
  1082                 "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span></div>");
  1083     }
  1083     }
  1084 
  1084 
  1085     void checkModuleAnnotation() {
  1085     void checkModuleAnnotation() {
  1086         checkOutput("moduleB-summary.html", true,
  1086         checkOutput("moduleB/module-summary.html", true,
  1087                 "<p><a href=\"testpkgmdlB/AnnotationType.html\" title=\"annotation in testpkgmdlB\">@AnnotationType</a>(<a href=\"testpkgmdlB/AnnotationType.html#optional--\">optional</a>=\"Module Annotation\",\n"
  1087                 "<p><a href=\"testpkgmdlB/AnnotationType.html\" title=\"annotation in testpkgmdlB\">@AnnotationType</a>(<a href=\"testpkgmdlB/AnnotationType.html#optional--\">optional</a>=\"Module Annotation\",\n"
  1088                 + "                <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n"
  1088                 + "                <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n"
  1089                 + "</p>");
  1089                 + "</p>");
  1090         checkOutput("moduleB-summary.html", false,
  1090         checkOutput("moduleB/module-summary.html", false,
  1091                 "@AnnotationTypeUndocumented");
  1091                 "@AnnotationTypeUndocumented");
  1092     }
  1092     }
  1093 
  1093 
  1094     void checkOverviewFrame(boolean found) {
  1094     void checkOverviewFrame(boolean found) {
  1095         checkOutput("index.html", !found,
  1095         checkOutput("index.html", !found,
  1097         checkOutput("index.html", found,
  1097         checkOutput("index.html", found,
  1098                 "<iframe src=\"module-overview-frame.html\" name=\"packageListFrame\" title=\"All Modules\"></iframe>");
  1098                 "<iframe src=\"module-overview-frame.html\" name=\"packageListFrame\" title=\"All Modules\"></iframe>");
  1099     }
  1099     }
  1100 
  1100 
  1101     void checkModuleSummaryNoExported(boolean found) {
  1101     void checkModuleSummaryNoExported(boolean found) {
  1102         checkOutput("moduleNoExport-summary.html", found,
  1102         checkOutput("moduleNoExport/module-summary.html", found,
  1103                 "<!-- ============ PACKAGES SUMMARY =========== -->\n"
  1103                 "<!-- ============ PACKAGES SUMMARY =========== -->\n"
  1104                 + "<a name=\"packages.summary\">\n"
  1104                 + "<a name=\"packages.summary\">\n"
  1105                 + "<!--   -->\n"
  1105                 + "<!--   -->\n"
  1106                 + "</a>",
  1106                 + "</a>",
  1107                 "<caption><span>Concealed</span><span class=\"tabEnd\">&nbsp;</span></caption>");
  1107                 "<caption><span>Concealed</span><span class=\"tabEnd\">&nbsp;</span></caption>");
  1192                 "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
  1192                 "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
  1193                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
  1193                 + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
  1194     }
  1194     }
  1195 
  1195 
  1196     void checkModuleName(boolean found) {
  1196     void checkModuleName(boolean found) {
  1197         checkOutput("test.moduleFullName-summary.html", found,
  1197         checkOutput("test.moduleFullName/module-summary.html", found,
  1198                 "<div class=\"header\">\n"
  1198                 "<div class=\"header\">\n"
  1199                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;test.moduleFullName</h1>\n"
  1199                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;test.moduleFullName</h1>\n"
  1200                 + "</div>");
  1200                 + "</div>");
  1201         checkOutput("index-all.html", found,
  1201         checkOutput("index-all.html", found,
  1202                 "<h2 class=\"title\">T</h2>\n"
  1202                 "<h2 class=\"title\">T</h2>\n"
  1203                 + "<dl>\n"
  1203                 + "<dl>\n"
  1204                 + "<dt><a href=\"test.moduleFullName-summary.html\">test.moduleFullName</a> - module test.moduleFullName</dt>\n"
  1204                 + "<dt><a href=\"test.moduleFullName/module-summary.html\">test.moduleFullName</a> - module test.moduleFullName</dt>\n"
  1205                 + "<dd>\n"
  1205                 + "<dd>\n"
  1206                 + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
  1206                 + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
  1207                 + "</dd>");
  1207                 + "</dd>");
  1208         checkOutput("module-overview-frame.html", found,
  1208         checkOutput("module-overview-frame.html", found,
  1209                 "<h2 title=\"Modules\">Modules</h2>\n"
  1209                 "<h2 title=\"Modules\">Modules</h2>\n"
  1210                 + "<ul title=\"Modules\">\n"
  1210                 + "<ul title=\"Modules\">\n"
  1211                 + "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');\">moduleB</a></li>\n"
  1211                 + "<li><a href=\"moduleB/module-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('moduleB/module-type-frame.html','moduleB/module-summary.html');\">moduleB</a></li>\n"
  1212                 + "<li><a href=\"test.moduleFullName-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('test.moduleFullName-type-frame.html','test.moduleFullName-summary.html');\">test.moduleFullName</a></li>\n"
  1212                 + "<li><a href=\"test.moduleFullName/module-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('test.moduleFullName/module-type-frame.html','test.moduleFullName/module-summary.html');\">test.moduleFullName</a></li>\n"
  1213                 + "</ul>");
  1213                 + "</ul>");
  1214         checkOutput("test.moduleFullName-summary.html", !found,
  1214         checkOutput("test.moduleFullName/module-summary.html", !found,
  1215                 "<div class=\"header\">\n"
  1215                 "<div class=\"header\">\n"
  1216                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleFullName</h1>\n"
  1216                 + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleFullName</h1>\n"
  1217                 + "</div>");
  1217                 + "</div>");
  1218         checkOutput("index-all.html", !found,
  1218         checkOutput("index-all.html", !found,
  1219                 "<dl>\n"
  1219                 "<dl>\n"
  1220                 + "<dt><a href=\"test.moduleFullName-summary.html\">moduleFullName</a> - module moduleFullName</dt>\n"
  1220                 + "<dt><a href=\"test.moduleFullName/module-summary.html\">moduleFullName</a> - module moduleFullName</dt>\n"
  1221                 + "<dd>\n"
  1221                 + "<dd>\n"
  1222                 + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
  1222                 + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
  1223                 + "</dd>\n"
  1223                 + "</dd>\n"
  1224                 + "</dl>");
  1224                 + "</dl>");
  1225     }
  1225     }
  1226 
  1226 
  1227     void checkLinkOffline() {
  1227     void checkLinkOffline() {
  1228         checkOutput("testpkg3mdlB/package-summary.html", true,
  1228         checkOutput("moduleB/testpkg3mdlB/package-summary.html", true,
  1229                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true\" "
  1229                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true\" "
  1230                 + "title=\"class or interface in java.lang\" class=\"externalLink\"><code>Link to String Class</code></a>");
  1230                 + "title=\"class or interface in java.lang\" class=\"externalLink\"><code>Link to String Class</code></a>");
  1231         checkOutput("testpkg3mdlB/package-summary.html", true,
  1231         checkOutput("moduleB/testpkg3mdlB/package-summary.html", true,
  1232                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java/lang/package-summary.html?is-external=true\" "
  1232                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java/lang/package-summary.html?is-external=true\" "
  1233                 + "class=\"externalLink\"><code>Link to java.lang package</code></a>");
  1233                 + "class=\"externalLink\"><code>Link to java.lang package</code></a>");
  1234         checkOutput("testpkg3mdlB/package-summary.html", true,
  1234         checkOutput("moduleB/testpkg3mdlB/package-summary.html", true,
  1235                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java.base-summary.html?is-external=true\" "
  1235                 "<a href=\"https://docs.oracle.com/javase/9/docs/api/java.base/module-summary.html?is-external=true\" "
  1236                 + "class=\"externalLink\"><code>Link to java.base module</code></a>");
  1236                 + "class=\"externalLink\"><code>Link to java.base module</code></a>");
  1237 }
  1237 }
  1238 }
  1238 }