test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java
changeset 53097 2e82ca64b25d
parent 52616 1a395165c09b
child 53562 0d9dee001667
equal deleted inserted replaced
53096:58154bf80f90 53097:2e82ca64b25d
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      6786688 8008164 8162363 8169819 8183037 8182765 8184205
    26  * @bug      6786688 8008164 8162363 8169819 8183037 8182765 8184205
    27  * @summary  HTML tables should have table summary, caption and table headers.
    27  * @summary  HTML tables should have table summary, caption and table headers.
    28  * @author   Bhavesh Patel
    28  * @author   Bhavesh Patel
    29  * @library  ../lib
    29  * @library  ../../lib
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @build    JavadocTester
    31  * @build    javadoc.tester.*
    32  * @run main TestHtmlTableTags
    32  * @run main TestHtmlTableTags
    33  */
    33  */
       
    34 
       
    35 import javadoc.tester.JavadocTester;
    34 
    36 
    35 public class TestHtmlTableTags extends JavadocTester {
    37 public class TestHtmlTableTags extends JavadocTester {
    36 
    38 
    37     //Javadoc arguments.
    39     //Javadoc arguments.
    38     private static final String[] ARGS = new String[] {
    40     private static final String[] ARGS = new String[] {
    44         TestHtmlTableTags tester = new TestHtmlTableTags();
    46         TestHtmlTableTags tester = new TestHtmlTableTags();
    45         tester.runTests();
    47         tester.runTests();
    46     }
    48     }
    47 
    49 
    48     @Test
    50     @Test
    49     void test() {
    51     public void test() {
    50         javadoc("-d", "out",
    52         javadoc("-d", "out",
    51                 "-sourcepath", testSrc,
    53                 "-sourcepath", testSrc,
    52                 "-use",
    54                 "-use",
    53                 "--frames",
    55                 "--frames",
    54                 "pkg1", "pkg2");
    56                 "pkg1", "pkg2");
    58         checkHtmlTableCaptions();
    60         checkHtmlTableCaptions();
    59         checkHtmlTableHeaders();
    61         checkHtmlTableHeaders();
    60     }
    62     }
    61 
    63 
    62     @Test
    64     @Test
    63     void test_html4() {
    65     public void test_html4() {
    64         javadoc("-d", "out-html4",
    66         javadoc("-d", "out-html4",
    65                 "-html4",
    67                 "-html4",
    66                 "-sourcepath", testSrc,
    68                 "-sourcepath", testSrc,
    67                 "-use",
    69                 "-use",
    68                 "--frames",
    70                 "--frames",