< prev index next >
test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java
Print this page
@@ -65,12 +65,14 @@
"-sourcepath", testSrc,
"pkg");
checkExit(Exit.OK);
checkOutput("pkg/Interface.html", true,
- "<pre class=\"methodSignature\">int method()</pre>",
- "<pre>static final int field</pre>",
+ "<div class=\"memberSignature\"><span class=\"returnType\">int</span> "
+ + "<span class=\"memberName\">method</span>()</div>",
+ "<div class=\"memberSignature\"><span class=\"modifiers\">static final</span> "
+ + "<span class=\"returnType\">int</span> <span class=\"memberName\">field</span></div>",
// Make sure known implementing class list is correct and omits type parameters.
"<dl>\n"
+ "<dt>All Known Implementing Classes:</dt>\n"
+ "<dd><code><a href=\"Child.html\" title=\"class in pkg\">Child"
+ "</a></code>, <code><a href=\"Parent.html\" title=\"class in pkg\">Parent"
@@ -124,11 +126,12 @@
checkOutput("pkg/ClassWithStaticMembers.html", true,
"<h3>f</h3>\n"
+ "<a id=\"f\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<pre>public static int f</pre>\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"
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
+ "<a href=\"#m()\">m</a></span>()</code></th>\n"
@@ -138,11 +141,12 @@
"<h3>staticMethod</h3>\n"
+ "<a id=\"staticMethod()\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<pre class=\"methodSignature\">public static void staticMethod()</pre>\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()\">"
+ "InterfaceWithStaticMembers</a></code></span></div>\n"
+ "<div class=\"block\">A static method</div>\n");
< prev index next >