< prev index next >
test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java
Print this page
*** 121,131 ****
//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"
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
+ "<span class=\"returnType\">int</span> <span class=\"memberName\">f</span></div>\n"
+ "<div class=\"block\">A hider field</div>",
"<td class=\"colFirst\"><code>static void</code></td>\n"
--- 121,132 ----
//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,
! "<section class=\"detail\" id=\"f\">\n"
! + "<h3>f</h3>\n"
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
+ "<span class=\"returnType\">int</span> <span class=\"memberName\">f</span></div>\n"
+ "<div class=\"block\">A hider field</div>",
"<td class=\"colFirst\"><code>static void</code></td>\n"
*** 133,143 ****
+ "<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"
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">staticMethod</span>()</div>\n"
+ "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
+ "Description copied from interface: <code>"
+ "<a href=\"InterfaceWithStaticMembers.html#staticMethod()\">"
--- 134,145 ----
+ "<a href=\"#m()\">m</a></span>()</code></th>\n"
+ "<td class=\"colLast\">\n"
+ "<div class=\"block\">A hider method</div>\n"
+ "</td>\n",
! "<section class=\"detail\" id=\"staticMethod()\">\n"
! + "<h3>staticMethod</h3>\n"
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">staticMethod</span>()</div>\n"
+ "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
+ "Description copied from interface: <code>"
+ "<a href=\"InterfaceWithStaticMembers.html#staticMethod()\">"
*** 175,189 ****
checkExit(Exit.OK);
checkOutput("pkg2/Spliterator.OfDouble.html", true,
// Ensure the correct type parameters are displayed correctly
! "<h2>Nested classes/interfaces inherited from interface 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\">"
+ "Spliterator.OfDouble</a>, <a href=\"Spliterator.OfInt.html\" "
+ "title=\"interface in pkg2\">Spliterator.OfInt</a><"
+ "<a href=\"Spliterator.OfInt.html\" title=\"type parameter in Spliterator.OfInt\">"
+ "Integer</a>>, <a href=\"Spliterator.OfPrimitive.html\" title=\"interface in pkg2\">"
+ "Spliterator.OfPrimitive</a><<a href=\"Spliterator.OfPrimitive.html\" "
--- 177,190 ----
checkExit(Exit.OK);
checkOutput("pkg2/Spliterator.OfDouble.html", true,
// Ensure the correct type parameters are displayed correctly
! "<h2 id=\"nested.classes.inherited.from.class.pkg2.Spliterator\">"
! + "Nested classes/interfaces inherited from interface pkg2."
+ "<a href=\"Spliterator.html\" title=\"interface in pkg2\">Spliterator</a></h2>\n"
! + "<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><"
+ "<a href=\"Spliterator.OfInt.html\" title=\"type parameter in Spliterator.OfInt\">"
+ "Integer</a>>, <a href=\"Spliterator.OfPrimitive.html\" title=\"interface in pkg2\">"
+ "Spliterator.OfPrimitive</a><<a href=\"Spliterator.OfPrimitive.html\" "
< prev index next >