test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java

changeset 1743
6a5288a298fd
parent 798
4868a36f6fd8
child 1744
76a691e3e961
equal deleted inserted replaced
1742:7af0fa419a2b 1743:6a5288a298fd
1 /* 1 /*
2 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
41 // Test for normal run of javadoc. The serialized-form.html should 41 // Test for normal run of javadoc. The serialized-form.html should
42 // display the inline comments, tags and deprecation information if any. 42 // display the inline comments, tags and deprecation information if any.
43 private static final String[][] TEST_CMNT_DEPR = { 43 private static final String[][] TEST_CMNT_DEPR = {
44 {BUG_ID + FS + "serialized-form.html", "<dl>" + 44 {BUG_ID + FS + "serialized-form.html", "<dl>" +
45 "<dt><span class=\"strong\">Throws:</span></dt>" + NL + "<dd><code>" + 45 "<dt><span class=\"strong\">Throws:</span></dt>" + NL + "<dd><code>" +
46 "java.io.IOException</code></dd><dt><span class=\"strong\">See Also:</span>" + 46 "java.io.IOException</code></dd>"+ NL + "<dt><span class=\"strong\">See Also:</span>" +
47 "</dt><dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 47 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
48 "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"}, 48 "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
49 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 49 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
50 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 50 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL +
51 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 51 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
52 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 52 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL +
53 "<div class=\"block\">This field indicates whether the C1 " + 53 "<div class=\"block\">This field indicates whether the C1 " +
54 "is undecorated.</div>" + NL + "&nbsp;" + NL + 54 "is undecorated.</div>" + NL + "&nbsp;" + NL +
55 "<dl><dt><span class=\"strong\">Since:</span></dt>" + NL + 55 "<dl><dt><span class=\"strong\">Since:</span></dt>" + NL +
56 " <dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" + 56 "<dd>1.4</dd>" + NL + "<dt><span class=\"strong\">See Also:</span>" +
57 "</dt><dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 57 "</dt>" + NL + "<dd><a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
58 "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"}, 58 "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
59 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" + 59 {BUG_ID + FS + "serialized-form.html", "<span class=\"strong\">Deprecated.</span>" +
60 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + 60 "&nbsp;<i>As of JDK version 1.5, replaced by" + NL +
61 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + 61 " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" +
62 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + 62 "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL +

mercurial