--- a/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java Wed Jun 06 08:37:19 2018 +0530
+++ b/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java Wed Jun 06 09:07:38 2018 +0530
@@ -26,7 +26,7 @@
* @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363
* 8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218
* 8175823 8166306 8178043 8181622 8183511 8169819 8074407 8183037 8191464
- 8164407 8192007 8182765 8196200 8196201 8196202
+ 8164407 8192007 8182765 8196200 8196201 8196202 8196202
* @summary Test modules support in javadoc.
* @author bpatel
* @library ../lib
@@ -1574,23 +1574,13 @@
}
void checkGroupOptionSingleModule() {
- checkOutput("overview-summary.html", true,
- "<div class=\"contentContainer\">\n"
- + "<table class=\"overviewSummary\">\n"
- + "<caption><span>Module Group B</span><span class=\"tabEnd\"> </span></caption>");
- checkOutput("overview-summary.html", false,
- "<table class=\"overviewSummary\">\n"
- + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>");
+ checkOutput("index.html", true,
+ "window.location.replace('moduleB/module-summary.html')");
}
void checkGroupOptionSingleModule_html4() {
- checkOutput("overview-summary.html", true,
- "<div class=\"contentContainer\">\n"
- + "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
- + "<caption><span>Module Group B</span><span class=\"tabEnd\"> </span></caption>");
- checkOutput("overview-summary.html", false,
- "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
- + "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>");
+ checkOutput("index.html", true,
+ "window.location.replace('moduleB/module-summary.html')");
}
void checkModuleName(boolean found) {