< prev index next >

test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java

Print this page

        

@@ -121,11 +121,12 @@
                 //Make sure "Specified By" does not appear on class documentation when
                 //the method is a static method in the interface.
                 "<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n");
 
         checkOutput("pkg/ClassWithStaticMembers.html", true,
-                "<h3><a id=\"f\">f</a></h3>\n"
+                "<section class=\"detail\" id=\"f\">\n"
+                + "<h3>f</h3>\n"
                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
                 + "<span class=\"returnType\">int</span>&nbsp;<span class=\"memberName\">f</span></div>\n"
                 + "<div class=\"block\">A hider field</div>",
 
                 "<td class=\"colFirst\"><code>static void</code></td>\n"

@@ -133,11 +134,12 @@
                 + "<a href=\"#m()\">m</a></span>()</code></th>\n"
                 + "<td class=\"colLast\">\n"
                 + "<div class=\"block\">A hider method</div>\n"
                 + "</td>\n",
 
-                "<h3><a id=\"staticMethod()\">staticMethod</a></h3>\n"
+                "<section class=\"detail\" id=\"staticMethod()\">\n"
+                + "<h3>staticMethod</h3>\n"
                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
                 + "<span class=\"returnType\">void</span>&nbsp;<span class=\"memberName\">staticMethod</span>()</div>\n"
                 + "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
                 + "Description copied from interface:&nbsp;<code>"
                 + "<a href=\"InterfaceWithStaticMembers.html#staticMethod()\">"

@@ -175,15 +177,14 @@
 
         checkExit(Exit.OK);
 
         checkOutput("pkg2/Spliterator.OfDouble.html", true,
             // Ensure the correct type parameters are displayed correctly
-            "<h2>Nested classes/interfaces inherited from interface&nbsp;pkg2."
+            "<h2 id=\"nested.classes.inherited.from.class.pkg2.Spliterator\">"
+            + "Nested classes/interfaces inherited from interface&nbsp;pkg2."
             + "<a href=\"Spliterator.html\" title=\"interface in pkg2\">Spliterator</a></h2>\n"
-            + "<a id=\"nested.classes.inherited.from.class.pkg2.Spliterator\">\n"
-            + "<!--   -->\n"
-            + "</a><code><a href=\"Spliterator.OfDouble.html\" title=\"interface in pkg2\">"
+            + "<code><a href=\"Spliterator.OfDouble.html\" title=\"interface in pkg2\">"
             + "Spliterator.OfDouble</a>, <a href=\"Spliterator.OfInt.html\" "
             + "title=\"interface in pkg2\">Spliterator.OfInt</a>&lt;"
             + "<a href=\"Spliterator.OfInt.html\" title=\"type parameter in Spliterator.OfInt\">"
             + "Integer</a>&gt;, <a href=\"Spliterator.OfPrimitive.html\" title=\"interface in pkg2\">"
             + "Spliterator.OfPrimitive</a>&lt;<a href=\"Spliterator.OfPrimitive.html\" "
< prev index next >