equal
deleted
inserted
replaced
25 * @test |
25 * @test |
26 * @bug 4927552 8026567 8071982 8162674 8175200 8175218 8183511 8186332 |
26 * @bug 4927552 8026567 8071982 8162674 8175200 8175218 8183511 8186332 |
27 * 8169819 8074407 8191030 8182765 8184205 |
27 * 8169819 8074407 8191030 8182765 8184205 |
28 * @summary test generated docs for deprecated items |
28 * @summary test generated docs for deprecated items |
29 * @author jamieh |
29 * @author jamieh |
30 * @library ../lib |
30 * @library ../../lib |
31 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
31 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
32 * @build JavadocTester |
32 * @build javadoc.tester.* |
33 * @run main TestDeprecatedDocs |
33 * @run main TestDeprecatedDocs |
34 */ |
34 */ |
|
35 |
|
36 import javadoc.tester.JavadocTester; |
35 |
37 |
36 public class TestDeprecatedDocs extends JavadocTester { |
38 public class TestDeprecatedDocs extends JavadocTester { |
37 |
39 |
38 public static void main(String... args) throws Exception { |
40 public static void main(String... args) throws Exception { |
39 TestDeprecatedDocs tester = new TestDeprecatedDocs(); |
41 TestDeprecatedDocs tester = new TestDeprecatedDocs(); |
40 tester.runTests(); |
42 tester.runTests(); |
41 } |
43 } |
42 |
44 |
43 @Test |
45 @Test |
44 void test() { |
46 public void test() { |
45 javadoc("-d", "out", |
47 javadoc("-d", "out", |
46 "-sourcepath", testSrc, |
48 "-sourcepath", testSrc, |
47 "pkg"); |
49 "pkg"); |
48 checkExit(Exit.OK); |
50 checkExit(Exit.OK); |
49 |
51 |
297 + "</table>\n" |
299 + "</table>\n" |
298 + "</div>"); |
300 + "</div>"); |
299 } |
301 } |
300 |
302 |
301 @Test |
303 @Test |
302 void test_html4() { |
304 public void test_html4() { |
303 javadoc("-d", "out-html4", |
305 javadoc("-d", "out-html4", |
304 "-html4", |
306 "-html4", |
305 "-sourcepath", testSrc, |
307 "-sourcepath", testSrc, |
306 "pkg"); |
308 "pkg"); |
307 checkExit(Exit.OK); |
309 checkExit(Exit.OK); |