24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363 |
26 * @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363 |
27 * 8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218 |
27 * 8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218 |
28 * 8175823 8166306 8178043 8181622 8183511 8169819 8074407 8183037 8191464 |
28 * 8175823 8166306 8178043 8181622 8183511 8169819 8074407 8183037 8191464 |
29 8164407 |
29 8164407 8192007 |
30 * @summary Test modules support in javadoc. |
30 * @summary Test modules support in javadoc. |
31 * @author bpatel |
31 * @author bpatel |
32 * @library ../lib |
32 * @library ../lib |
33 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
33 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
34 * @build JavadocTester |
34 * @build JavadocTester |
762 + "<a name=\"services.summary\">\n" |
762 + "<a name=\"services.summary\">\n" |
763 + "<!-- -->\n" |
763 + "<!-- -->\n" |
764 + "</a>", |
764 + "</a>", |
765 "<tr class=\"altColor\">\n" |
765 "<tr class=\"altColor\">\n" |
766 + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" |
766 + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" |
767 + "<td class=\"colLast\">With a test description for uses. </td>\n" |
767 + "<td class=\"colLast\">\n" |
|
768 + "<div class=\"block\">With a test description for uses.</div>\n</td>\n" |
768 + "</tr>", |
769 + "</tr>", |
769 "<caption><span>Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
770 "<caption><span>Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
770 + "<tr>\n" |
771 + "<tr>\n" |
771 + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
772 + "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
772 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
773 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
929 + "Modules</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", |
930 + "Modules</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", |
930 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" |
931 "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n" |
931 + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n"); |
932 + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n"); |
932 checkOutput("moduleB-summary.html", true, |
933 checkOutput("moduleB-summary.html", true, |
933 "<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" |
934 + "<td class=\"colLast\">With a test description for uses. </td>"); |
935 + "<td class=\"colLast\">\n" |
|
936 + "<div class=\"block\">With a test description for uses.</div>\n</td>\n"); |
935 checkOutput("moduletags-summary.html", true, |
937 checkOutput("moduletags-summary.html", true, |
936 "<li><a href=\"#module.description\">Description</a> | <a href=\"#modules.summary\">Modules" |
938 "<li><a href=\"#module.description\">Description</a> | <a href=\"#modules.summary\">Modules" |
937 + "</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", |
939 + "</a> | <a href=\"#packages.summary\">Packages</a> | Services</li>", |
938 "<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" |
939 + "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>", |
941 + "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>", |