6851834: Javadoc doclet needs a structured approach to generate the output HTML

Reviewed-by: jjg
This commit is contained in:
Bhavesh Patel 2010-12-01 11:02:38 -08:00
parent 6edf2ff9a3
commit 275e77646d
148 changed files with 12175 additions and 7441 deletions

View file

@ -76,24 +76,21 @@ public class TestDeprecatedDocs extends JavadocTester {
{TARGET_FILE, "pkg.DeprecatedClassByAnnotation.method()"},
{TARGET_FILE, "pkg.DeprecatedClassByAnnotation.field"},
{TARGET_FILE2, "<STRONG>Deprecated.</STRONG>" + NL +
"<P>" + NL +
"<PRE><FONT SIZE=\"-1\">@Deprecated" + NL +
"</FONT>public class <STRONG>DeprecatedClassByAnnotation</STRONG>"},
{TARGET_FILE2, "<pre>@Deprecated" + NL +
"public class <strong>DeprecatedClassByAnnotation</strong>" + NL +
"extends java.lang.Object</pre>"},
{TARGET_FILE2, "public int <STRONG>field</STRONG></PRE>" + NL +
"<DL>" + NL +
"<DD><STRONG>Deprecated.</STRONG>&nbsp;</DD></DL>"},
{TARGET_FILE2, "<pre>@Deprecated" + NL +
"public&nbsp;int field</pre>" + NL +
"<div class=\"block\"><span class=\"strong\">Deprecated.</span>&nbsp;</div>"},
{TARGET_FILE2, "<FONT SIZE=\"-1\">@Deprecated" + NL +
"</FONT>public <STRONG>DeprecatedClassByAnnotation</STRONG>()</PRE>" + NL +
"<DL>" + NL +
"<DD><STRONG>Deprecated.</STRONG>"},
{TARGET_FILE2, "<pre>@Deprecated" + NL +
"public&nbsp;DeprecatedClassByAnnotation()</pre>" + NL +
"<div class=\"block\"><span class=\"strong\">Deprecated.</span>&nbsp;</div>"},
{TARGET_FILE2, "<FONT SIZE=\"-1\">@Deprecated" + NL +
"</FONT>public void <STRONG>method</STRONG>()</PRE>" + NL +
"<DL>" + NL +
"<DD><STRONG>Deprecated.</STRONG>"},
{TARGET_FILE2, "<pre>@Deprecated" + NL +
"public&nbsp;void&nbsp;method()</pre>" + NL +
"<div class=\"block\"><span class=\"strong\">Deprecated.</span>&nbsp;</div>"},
};
private static final String[][] NEGATED_TEST = NO_TEST;