test/langtools/jdk/javadoc/doclet/testMemberInheritance/TestMemberInheritance.java
changeset 53097 2e82ca64b25d
parent 49139 771616d26ca1
child 53562 0d9dee001667
equal deleted inserted replaced
53096:58154bf80f90 53097:2e82ca64b25d
    26  * @bug 4638588 4635809 6256068 6270645 8025633 8026567 8162363 8175200
    26  * @bug 4638588 4635809 6256068 6270645 8025633 8026567 8162363 8175200
    27  *      8192850 8182765
    27  *      8192850 8182765
    28  * @summary Test to make sure that members are inherited properly in the Javadoc.
    28  * @summary Test to make sure that members are inherited properly in the Javadoc.
    29  *          Verify that inheritance labels are correct.
    29  *          Verify that inheritance labels are correct.
    30  * @author jamieh
    30  * @author jamieh
    31  * @library ../lib
    31  * @library ../../lib
    32  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    32  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    33  * @build JavadocTester
    33  * @build javadoc.tester.*
    34  * @run main TestMemberInheritance
    34  * @run main TestMemberInheritance
    35  */
    35  */
       
    36 
       
    37 import javadoc.tester.JavadocTester;
    36 
    38 
    37 public class TestMemberInheritance extends JavadocTester {
    39 public class TestMemberInheritance extends JavadocTester {
    38 
    40 
    39     public static void main(String... args) throws Exception {
    41     public static void main(String... args) throws Exception {
    40         TestMemberInheritance tester = new TestMemberInheritance();
    42         TestMemberInheritance tester = new TestMemberInheritance();
    41         tester.runTests();
    43         tester.runTests();
    42     }
    44     }
    43 
    45 
    44     @Test
    46     @Test
    45     void test() {
    47     public void test() {
    46         javadoc("-d", "out",
    48         javadoc("-d", "out",
    47                 "-sourcepath", testSrc,
    49                 "-sourcepath", testSrc,
    48                 "pkg", "diamond", "inheritDist", "pkg1");
    50                 "pkg", "diamond", "inheritDist", "pkg1");
    49         checkExit(Exit.OK);
    51         checkExit(Exit.OK);
    50 
    52 
   103                 + ",java.time.chrono.ChronoLocalDate)\">between</a></code>"
   105                 + ",java.time.chrono.ChronoLocalDate)\">between</a></code>"
   104         );
   106         );
   105     }
   107     }
   106 
   108 
   107     @Test
   109     @Test
   108     void test_html4() {
   110     public void test_html4() {
   109         javadoc("-d", "out-html4",
   111         javadoc("-d", "out-html4",
   110                 "-html4",
   112                 "-html4",
   111                 "-sourcepath", testSrc,
   113                 "-sourcepath", testSrc,
   112                 "pkg", "diamond", "inheritDist", "pkg1");
   114                 "pkg", "diamond", "inheritDist", "pkg1");
   113         checkExit(Exit.OK);
   115         checkExit(Exit.OK);