207 + "<li><a href=\"#method\">Methods</a></li>\n" |
207 + "<li><a href=\"#method\">Methods</a></li>\n" |
208 + "<li><a href=\"#constructor\">Constructors</a></li>\n" |
208 + "<li><a href=\"#constructor\">Constructors</a></li>\n" |
209 + "<li><a href=\"#enum.constant\">Enum Constants</a></li>\n" |
209 + "<li><a href=\"#enum.constant\">Enum Constants</a></li>\n" |
210 + "<li><a href=\"#annotation.type.member\">Annotation Type Elements</a></li>\n" |
210 + "<li><a href=\"#annotation.type.member\">Annotation Type Elements</a></li>\n" |
211 + "</ul>", |
211 + "</ul>", |
|
212 "<a id=\"forRemoval\">", |
|
213 "<table class=\"deprecatedSummary\">\n" |
|
214 + "<caption><span>For Removal</span><span class=\"tabEnd\"> </span></caption>\n" |
|
215 + "<tr>\n" |
|
216 + "<th class=\"colFirst\" scope=\"col\">Element</th>\n" |
|
217 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
|
218 + "</tr>", |
|
219 "<table class=\"deprecatedSummary\">\n" |
|
220 + "<caption><span>Enums</span><span class=\"tabEnd\"> </span></caption>\n" |
|
221 + "<tr>\n" |
|
222 + "<th class=\"colFirst\" scope=\"col\">Enum</th>\n" |
|
223 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
|
224 + "</tr>\n" |
|
225 + "<tbody>\n" |
|
226 + "<tr class=\"altColor\">\n" |
|
227 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestEnum.html\" title=\"enum in pkg\">pkg.TestEnum</a></th>\n" |
|
228 + "<td class=\"colLast\">\n" |
|
229 + "<div class=\"deprecationComment\">enum_test1 passes.</div>\n" |
|
230 + "</td>\n" |
|
231 + "</tr>\n" |
|
232 + "</tbody>\n" |
|
233 + "</table>", |
|
234 "<table class=\"deprecatedSummary\">\n" |
|
235 + "<caption><span>Exceptions</span><span class=\"tabEnd\"> </span></caption>\n" |
|
236 + "<tr>\n" |
|
237 + "<th class=\"colFirst\" scope=\"col\">Exceptions</th>\n" |
|
238 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
|
239 + "</tr>\n" |
|
240 + "<tbody>\n" |
|
241 + "<tr class=\"altColor\">\n" |
|
242 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestException.html\" title=\"class in pkg\">pkg.TestException</a></th>\n" |
|
243 + "<td class=\"colLast\">\n" |
|
244 + "<div class=\"deprecationComment\">exception_test1 passes.</div>\n" |
|
245 + "</td>\n" |
|
246 + "</tr>\n" |
|
247 + "</tbody>\n" |
|
248 + "</table>", |
|
249 "<table class=\"deprecatedSummary\">\n" |
|
250 + "<caption><span>Fields</span><span class=\"tabEnd\"> </span></caption>\n" |
|
251 + "<tr>\n" |
|
252 + "<th class=\"colFirst\" scope=\"col\">Field</th>\n" |
|
253 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
|
254 + "</tr>\n" |
|
255 + "<tbody>\n" |
|
256 + "<tr class=\"altColor\">\n" |
|
257 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/DeprecatedClassByAnnotation.html#field\">pkg.DeprecatedClassByAnnotation.field</a></th>\n" |
|
258 + "<td class=\"colLast\"></td>\n" |
|
259 + "</tr>\n" |
|
260 + "<tr class=\"rowColor\">\n" |
|
261 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestAnnotationType.html#field\">pkg.TestAnnotationType.field</a></th>\n" |
|
262 + "<td class=\"colLast\">\n" |
|
263 + "<div class=\"deprecationComment\">annotation_test4 passes.</div>\n" |
|
264 + "</td>\n" |
|
265 + "</tr>\n" |
|
266 + "<tr class=\"altColor\">\n" |
|
267 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestClass.html#field\">pkg.TestClass.field</a></th>\n" |
|
268 + "<td class=\"colLast\">\n" |
|
269 + "<div class=\"deprecationComment\">class_test2 passes. This is the second sentence of deprecated description for a field.</div>\n" |
|
270 + "</td>\n" |
|
271 + "</tr>\n" |
|
272 + "<tr class=\"rowColor\">\n" |
|
273 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestError.html#field\">pkg.TestError.field</a></th>\n" |
|
274 + "<td class=\"colLast\">\n" |
|
275 + "<div class=\"deprecationComment\">error_test2 passes.</div>\n" |
|
276 + "</td>\n" |
|
277 + "</tr>\n" |
|
278 + "<tr class=\"altColor\">\n" |
|
279 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestException.html#field\">pkg.TestException.field</a></th>\n" |
|
280 + "<td class=\"colLast\">\n" |
|
281 + "<div class=\"deprecationComment\">exception_test2 passes.</div>\n" |
|
282 + "</td>\n" |
|
283 + "</tr>\n" |
|
284 + "<tr class=\"rowColor\">\n" |
|
285 + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestInterface.html#field\">pkg.TestInterface.field</a></th>\n" |
|
286 + "<td class=\"colLast\">\n" |
|
287 + "<div class=\"deprecationComment\">interface_test2 passes.</div>\n" |
|
288 + "</td>\n" |
|
289 + "</tr>\n" |
|
290 + "</tbody>\n" |
|
291 + "</table>"); |
|
292 } |
|
293 |
|
294 @Test |
|
295 void test_html4() { |
|
296 javadoc("-d", "out-html4", |
|
297 "-html4", |
|
298 "-sourcepath", testSrc, |
|
299 "pkg"); |
|
300 checkExit(Exit.OK); |
|
301 |
|
302 checkOutput("deprecated-list.html", true, |
212 "<a name=\"forRemoval\">", |
303 "<a name=\"forRemoval\">", |
213 "<table class=\"deprecatedSummary\" summary=\"For Removal table, listing for removal, and an explanation\">\n" |
304 "<table class=\"deprecatedSummary\" summary=\"For Removal table, listing for removal, and an explanation\">\n" |
214 + "<caption><span>For Removal</span><span class=\"tabEnd\"> </span></caption>\n" |
305 + "<caption><span>For Removal</span><span class=\"tabEnd\"> </span></caption>\n" |
215 + "<tr>\n" |
306 + "<tr>\n" |
216 + "<th class=\"colFirst\" scope=\"col\">Element</th>\n" |
307 + "<th class=\"colFirst\" scope=\"col\">Element</th>\n" |