test/langtools/jdk/javadoc/doclet/testPackageDeprecation/TestPackageDeprecation.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, 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. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 6492694 8026567 8048351 8162363 8183511 8169819 8074407 8196202 |
26 * @bug 6492694 8026567 8048351 8162363 8183511 8169819 8074407 8196202 8202626 |
27 * @summary Test package deprecation. |
27 * @summary Test package deprecation. |
28 * @author bpatel |
28 * @author bpatel |
29 * @library ../../lib/ |
29 * @library ../../lib/ |
30 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
30 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
31 * @build javadoc.tester.* TestPackageDeprecation |
31 * @build javadoc.tester.* TestPackageDeprecation |
36 |
36 |
37 public class TestPackageDeprecation extends JavadocTester { |
37 public class TestPackageDeprecation extends JavadocTester { |
38 |
38 |
39 public static void main(String... args) throws Exception { |
39 public static void main(String... args) throws Exception { |
40 TestPackageDeprecation tester = new TestPackageDeprecation(); |
40 TestPackageDeprecation tester = new TestPackageDeprecation(); |
41 tester.setAutomaticCheckLinks(false); // @ignore JDK-8202626 |
|
42 tester.runTests(); |
41 tester.runTests(); |
43 } |
42 } |
44 |
43 |
45 @Test |
44 @Test |
46 public void testDefault() { |
45 public void testDefault() { |