--- a/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Tue Sep 18 21:46:17 2018 -0700
+++ b/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Wed Sep 19 12:14:53 2018 +0530
@@ -24,7 +24,7 @@
/*
* @test
* @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 8196202
- * 8202624
+ * 8202624 8210047
* @summary Test the version of HTML generated by the javadoc tool.
* @author bpatel
* @library ../lib
@@ -106,14 +106,17 @@
"<nav role=\"navigation\" class=\"indexNav\">\n"
+ "<ul>\n"
+ "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>",
- "<main role=\"main\" class=\"indexContainer\">\n"
+ "<main role=\"main\">\n"
+ + "<div class=\"indexContainer\">\n"
+ "<h2 title=\"Packages\">Packages</h2>");
// Test for allclasses-frame page
checkOutput("allclasses-frame.html", true,
"<!DOCTYPE HTML>",
"<meta name=\"dc.created\"",
- "<main role=\"main\" class=\"indexContainer\">\n"
+ "<main role=\"main\">\n"
+ + "<h1 class=\"bar\">All Classes</h1>\n"
+ + "<div class=\"indexContainer\">\n"
+ "<ul>\n"
+ "<li>");
@@ -636,14 +639,14 @@
"<div class=\"indexNav\">\n"
+ "<ul>\n"
+ "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>",
- "<div class=\"indexContainer\">\n"
+ "<main class=\"indexContainer\">\n"
+ "<h2 title=\"Packages\">Packages</h2>");
// Negated test for allclasses-frame page
checkOutput("allclasses-frame.html", false,
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
"<meta name=\"date\"",
- "<div class=\"indexContainer\">\n"
+ "<main class=\"indexContainer\">\n"
+ "<ul>\n"
+ "<li>");