test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java

changeset 1935
8c55df2442c1
parent 1744
76a691e3e961
child 2101
933ba3f81a87
equal deleted inserted replaced
1934:c7dcf899ffff 1935:8c55df2442c1
92 "</dt>" + NL + "<dd><code>" + 92 "</dt>" + NL + "<dd><code>" +
93 "java.io.IOException</code></dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" + 93 "java.io.IOException</code></dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
94 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 94 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
95 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"}, 95 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"},
96 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 96 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
97 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 97 "&nbsp;<span class=\"italic\">As of JDK version 1.5, replaced by" + NL +
98 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 98 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
99 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 99 "<code>setUndecorated(boolean)</code></a>.</span></div>" + NL +
100 "<div class=\"block\">This field indicates whether the C1 is " + 100 "<div class=\"block\">This field indicates whether the C1 is " +
101 "undecorated.</div>" + NL + "&nbsp;" + NL + "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL + 101 "undecorated.</div>" + NL + "&nbsp;" + NL + "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL +
102 "<dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" + 102 "<dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
103 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 103 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
104 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"}, 104 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"},
105 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 105 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
106 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 106 "&nbsp;<span class=\"italic\">As of JDK version 1.5, replaced by" + NL +
107 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 107 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
108 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 108 "<code>setUndecorated(boolean)</code></a>.</span></div>" + NL +
109 "<div class=\"block\">Reads the object stream.</div>" + NL + 109 "<div class=\"block\">Reads the object stream.</div>" + NL +
110 "<dl>" + NL + "<dt><span class=\"strong\">Throws:" + 110 "<dl>" + NL + "<dt><span class=\"strong\">Throws:" +
111 "</span></dt>" + NL + "<dd><code><code>" + 111 "</span></dt>" + NL + "<dd><code><code>" +
112 "IOException</code></code></dd>" + NL + 112 "IOException</code></code></dd>" + NL +
113 "<dd><code>java.io.IOException</code></dd>" + NL + "</dl>"}, 113 "<dd><code>java.io.IOException</code></dd>" + NL + "</dl>"},
151 "</dt>" + NL + "<dd><code>" + 151 "</dt>" + NL + "<dd><code>" +
152 "java.io.IOException</code></dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" + 152 "java.io.IOException</code></dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
153 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 153 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
154 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"}, 154 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"},
155 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 155 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
156 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 156 "&nbsp;<span class=\"italic\">As of JDK version 1.5, replaced by" + NL +
157 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 157 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
158 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 158 "<code>setUndecorated(boolean)</code></a>.</span></div>" + NL +
159 "<div class=\"block\">This field indicates whether the C1 is " + 159 "<div class=\"block\">This field indicates whether the C1 is " +
160 "undecorated.</div>" + NL + "&nbsp;" + NL + "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL + 160 "undecorated.</div>" + NL + "&nbsp;" + NL + "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL +
161 "<dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" + 161 "<dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
162 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 162 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
163 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"}, 163 "<code>C1.setUndecorated(boolean)</code></a></dd>" + NL + "</dl>"},
164 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 164 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
165 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 165 "&nbsp;<span class=\"italic\">As of JDK version 1.5, replaced by" + NL +
166 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 166 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
167 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 167 "<code>setUndecorated(boolean)</code></a>.</span></div>" + NL +
168 "<div class=\"block\">Reads the object stream.</div>" + NL + 168 "<div class=\"block\">Reads the object stream.</div>" + NL +
169 "<dl>" + NL + "<dt><span class=\"strong\">Throws:" + 169 "<dl>" + NL + "<dt><span class=\"strong\">Throws:" +
170 "</span></dt>" + NL + "<dd><code><code>" + 170 "</span></dt>" + NL + "<dd><code><code>" +
171 "IOException</code></code></dd>" + NL + 171 "IOException</code></code></dd>" + NL +
172 "<dd><code>java.io.IOException</code></dd>" + NL + "</dl>"}, 172 "<dd><code>java.io.IOException</code></dd>" + NL + "</dl>"},
185 "static final&nbsp;<a href=\"../pkg1/C1.ModalExclusionType.html\" " + 185 "static final&nbsp;<a href=\"../pkg1/C1.ModalExclusionType.html\" " +
186 "title=\"enum in pkg1\">C1.ModalExclusionType</a> " + 186 "title=\"enum in pkg1\">C1.ModalExclusionType</a> " +
187 "APPLICATION_EXCLUDE</pre>" + NL + "</li>"}, 187 "APPLICATION_EXCLUDE</pre>" + NL + "</li>"},
188 {BUG_ID + FS + "serialized-form.html", "<pre>boolean " + 188 {BUG_ID + FS + "serialized-form.html", "<pre>boolean " +
189 "undecorated</pre>" + NL + "<div class=\"block\"><span class=\"strong\">" + 189 "undecorated</pre>" + NL + "<div class=\"block\"><span class=\"strong\">" +
190 "Deprecated.</span>&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 190 "Deprecated.</span>&nbsp;<span class=\"italic\">As of JDK version 1.5, replaced by" + NL +
191 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\"><code>" + 191 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\"><code>" +
192 "setUndecorated(boolean)</code></a>.</i></div>" + NL + "</li>"}, 192 "setUndecorated(boolean)</code></a>.</span></div>" + NL + "</li>"},
193 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">" + 193 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">" +
194 "Deprecated.</span>&nbsp;<i>As of JDK version" + 194 "Deprecated.</span>&nbsp;<span class=\"italic\">As of JDK version" +
195 " 1.5, replaced by" + NL + 195 " 1.5, replaced by" + NL +
196 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 196 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
197 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + "</li>"}}; 197 "<code>setUndecorated(boolean)</code></a>.</span></div>" + NL + "</li>"}};
198 198
199 // Test for valid HTML generation which should not comprise of empty 199 // Test for valid HTML generation which should not comprise of empty
200 // definition list tags. 200 // definition list tags.
201 private static final String[][] NEGATED_TEST = { 201 private static final String[][] NEGATED_TEST = {
202 {BUG_ID + FS + "pkg1" + FS + "package-summary.html", "<dl></dl>"}, 202 {BUG_ID + FS + "pkg1" + FS + "package-summary.html", "<dl></dl>"},

mercurial