langtools/test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java
--- a/langtools/test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java Tue Nov 30 09:38:48 2010 -0800
+++ b/langtools/test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java Wed Dec 01 11:02:38 2010 -0800
@@ -41,58 +41,47 @@
// Test for normal run of javadoc. The serialized-form.html should
// display the inline comments, tags and deprecation information if any.
private static final String[][] TEST_CMNT_DEPR = {
- {BUG_ID + FS + "serialized-form.html", "<DL>" + NL + "<DD><DL>" + NL +
- "<DT><STRONG>Throws:</STRONG></DT>" + NL + "<DD><CODE>" +
- "java.io.IOException</CODE></DD><DT><STRONG>See Also:</STRONG>" +
- "</DT><DD><A HREF=\"pkg1/C1.html#setUndecorated(boolean)\">" +
- "<CODE>C1.setUndecorated(boolean)</CODE></A></DD></DL>" + NL +
- "</DD>" + NL + "</DL>"},
- {BUG_ID + FS + "serialized-form.html", "<DL>" + NL +
- "<DD><STRONG>Deprecated.</STRONG> <I>As of JDK version " +
- "1.5, replaced by" + NL +
- " <A HREF=\"pkg1/C1.html#setUndecorated(boolean)\">" +
- "<CODE>setUndecorated(boolean)</CODE></A>.</I></DD>" +
- "<DD>This field indicates whether the C1 is undecorated." + NL +
- "<P>" + NL + "</DD>" + NL + "<DD> </DD>" + NL +
- "<DD><DL>" + NL + "<DT><STRONG>Since:</STRONG></DT>" + NL +
- " <DD>1.4</DD>" + NL + "<DT><STRONG>See Also:</STRONG>" +
- "</DT><DD><A HREF=\"pkg1/C1.html#setUndecorated(boolean)\">" +
- "<CODE>C1.setUndecorated(boolean)</CODE></A></DD></DL>" + NL +
- "</DD>" + NL + "</DL>"},
- {BUG_ID + FS + "serialized-form.html", "<DL>" + NL +
- "<DD><STRONG>Deprecated.</STRONG> <I>As of JDK version" +
- " 1.5, replaced by" + NL +
- " <A HREF=\"pkg1/C1.html#setUndecorated(boolean)\">" +
- "<CODE>setUndecorated(boolean)</CODE></A>.</I>" + NL + "<P>" + NL +
- "</DD><DD>Reads the object stream." + NL + "<P>" + NL +
- "</DD>" + NL + "<DD><DL>" + NL + "<DT><STRONG>Throws:" +
- "</STRONG></DT>" + NL + "<DD><CODE><code>" +
- "IOException</code></CODE></DD>" + NL +
- "<DD><CODE>java.io.IOException</CODE></DD></DL>" + NL +
- "</DD>" + NL + "</DL>"},
- {BUG_ID + FS + "serialized-form.html", "<DL>" + NL +
- "<DD><STRONG>Deprecated.</STRONG> </DD><DD>" +
- "The name for this class." + NL + "<P>" + NL + "</DD>" + NL +
- "<DD> </DD>" + NL + "</DL>"}};
+ {BUG_ID + FS + "serialized-form.html", "<dl>" +
+ "<dt><span class=\"strong\">Throws:</span></dt>" + NL + "<dd><code>" +
+ "java.io.IOException</code></dd><dt><span class=\"strong\">See Also:</span>" +
+ "</dt><dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
+ "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
+ {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
+ " <i>As of JDK version 1.5, replaced by" + NL +
+ " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
+ "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL +
+ "<div class=\"block\">This field indicates whether the C1 " +
+ "is undecorated.</div>" + NL + " " + NL +
+ "<dl><dt><span class=\"strong\">Since:</span></dt>" + NL +
+ " <dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
+ "</dt><dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
+ "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
+ {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
+ " <i>As of JDK version 1.5, replaced by" + NL +
+ " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
+ "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL +
+ "<div class=\"block\">Reads the object stream.</div>" + NL +
+ "<dl><dt><span class=\"strong\">Throws:</span></dt>" + NL + "<dd><code><code>" +
+ "IOException</code></code></dd>" + NL +
+ "<dd><code>java.io.IOException</code></dd></dl>"},
+ {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
+ " </div>" + NL + "<div class=\"block\">" +
+ "The name for this class.</div>"}};
// Test with -nocomment option. The serialized-form.html should
// not display the inline comments and tags but should display deprecation
// information if any.
private static final String[][] TEST_NOCMNT = {
- {BUG_ID + FS + "serialized-form.html", "<PRE>" + NL + "boolean <STRONG>" +
- "undecorated</STRONG></PRE>" + NL + "<DL>" + NL + "<DD><STRONG>" +
- "Deprecated.</STRONG> <I>As of JDK version 1.5, replaced by" + NL +
- " <A HREF=\"pkg1/C1.html#setUndecorated(boolean)\"><CODE>" +
- "setUndecorated(boolean)</CODE></A>.</I></DD></DL>"},
- {BUG_ID + FS + "serialized-form.html", "<DL>" + NL + "<DD><STRONG>" +
- "Deprecated.</STRONG> <I>As of JDK version" +
+ {BUG_ID + FS + "serialized-form.html", "<pre>boolean undecorated</pre>" + NL +
+ "<div class=\"block\"><span class=\"strong\">Deprecated.</span> <i>" +
+ "As of JDK version 1.5, replaced by" + NL +
+ " <a href=\"pkg1/C1.html#setUndecorated(boolean)\"><code>" +
+ "setUndecorated(boolean)</code></a>.</i></div>" + NL + "</li>"},
+ {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">" +
+ "Deprecated.</span> <i>As of JDK version" +
" 1.5, replaced by" + NL +
- " <A HREF=\"pkg1/C1.html#setUndecorated(boolean)\">" +
- "<CODE>setUndecorated(boolean)</CODE></A>.</I>" + NL + "<P>" + NL +
- "</DD></DL>"},
- {BUG_ID + FS + "serialized-form.html", "<PRE>" + NL + "int <STRONG>" +
- "publicKey</STRONG></PRE>" + NL + "<DL>" + NL + "<DD><STRONG>" +
- "Deprecated.</STRONG> </DD></DL>"}};
+ " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
+ "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + "</li>"}};
// Test with -nodeprecated option. The serialized-form.html should
// ignore the -nodeprecated tag and display the deprecation info. This