test/com/sun/javadoc/testSinceTag/TestSinceTag.java

changeset 2147
130b8c0e570e
parent 1744
76a691e3e961
child 2525
2eb010b6cb22
equal deleted inserted replaced
2146:7de97abc4a5c 2147:130b8c0e570e
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 7180906 26 * @bug 7180906 8026567
27 * @summary Test to make sure that the since tag works correctly 27 * @summary Test to make sure that the since tag works correctly
28 * @author Bhavesh Patel 28 * @author Bhavesh Patel
29 * @library ../lib/ 29 * @library ../lib/
30 * @build JavadocTester TestSinceTag 30 * @build JavadocTester TestSinceTag
31 * @run main TestSinceTag 31 * @run main TestSinceTag
46 }; 46 };
47 47
48 //Input for string search tests. 48 //Input for string search tests.
49 private static final String[][] TEST = { 49 private static final String[][] TEST = {
50 {BUG_ID + FS + "pkg1" + FS + "C1.html", 50 {BUG_ID + FS + "pkg1" + FS + "C1.html",
51 "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL + 51 "<dl>" + NL + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>" + NL +
52 "<dd>JDK1.0</dd>" 52 "<dd>JDK1.0</dd>"
53 }, 53 },
54 {BUG_ID + FS + "serialized-form.html", 54 {BUG_ID + FS + "serialized-form.html",
55 "<dl>" + NL + "<dt><span class=\"strong\">Since:</span></dt>" + NL + 55 "<dl>" + NL + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>" + NL +
56 "<dd>1.4</dd>" 56 "<dd>1.4</dd>"
57 } 57 }
58 }; 58 };
59 59
60 /** 60 /**

mercurial