test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java
author pmuthuswamy
Mon, 01 Apr 2019 12:44:23 +0530
changeset 54350 4f9772f4403d
parent 53562 0d9dee001667
permissions -rw-r--r--
8215599: Remove support for javadoc "frames" mode Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     1
/*
53562
0d9dee001667 8215577: Remove javadoc support for HTML 4
pmuthuswamy
parents: 53097
diff changeset
     2
 * Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     4
 *
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     8
 *
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    13
 * accompanied this code).
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    14
 *
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    18
 *
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2320
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2320
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2320
diff changeset
    21
 * questions.
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    22
 */
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    23
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    24
/*
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    25
 * @test
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    26
 * @bug      6786688 8008164 8162363 8169819 8183037 8182765 8184205
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    27
 * @summary  HTML tables should have table summary, caption and table headers.
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    28
 * @author   Bhavesh Patel
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    29
 * @library  ../../lib
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    30
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    31
 * @build    javadoc.tester.*
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    32
 * @run main TestHtmlTableTags
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    33
 */
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    34
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    35
import javadoc.tester.JavadocTester;
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    36
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    37
public class TestHtmlTableTags extends JavadocTester {
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    38
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    39
    //Javadoc arguments.
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    40
    private static final String[] ARGS = new String[] {
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    41
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    42
    };
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    43
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    44
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    45
    public static void main(String... args) throws Exception {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    46
        TestHtmlTableTags tester = new TestHtmlTableTags();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    47
        tester.runTests();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    48
    }
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
    49
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    50
    @Test
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    51
    public void test() {
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    52
        javadoc("-d", "out",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    53
                "-sourcepath", testSrc,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    54
                "-use",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    55
                "pkg1", "pkg2");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    56
        checkExit(Exit.OK);
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    57
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    58
        checkHtmlTableTag();
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    59
        checkHtmlTableCaptions();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    60
        checkHtmlTableHeaders();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    61
    }
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    62
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    63
    /*
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    64
     * Tests for validating table tag for HTML tables
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    65
     */
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    66
    void checkHtmlTableTag() {
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    67
        //Package summary
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    68
        checkOutput("pkg1/package-summary.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    69
                "<div class=\"typeSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    70
                "<div class=\"typeSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    71
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    72
        checkOutput("pkg2/package-summary.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    73
                "<div class=\"typeSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    74
                "<div class=\"typeSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    75
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    76
        // Class documentation
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    77
        checkOutput("pkg1/C1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    78
                "<div class=\"memberSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    79
                "<div class=\"memberSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    80
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    81
        checkOutput("pkg2/C2.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    82
                "<div class=\"memberSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    83
                "<div class=\"memberSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    84
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    85
        checkOutput("pkg2/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    86
                "<div class=\"memberSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    87
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    88
        checkOutput("pkg2/C3.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    89
                "<div class=\"memberSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    90
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    91
        checkOutput("pkg2/C4.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    92
                "<div class=\"memberSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    93
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    94
        // Class use documentation
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    95
        checkOutput("pkg1/class-use/I1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    96
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    97
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    98
        checkOutput("pkg1/class-use/C1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
    99
                "<div class=\"useSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   100
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   101
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   102
        checkOutput("pkg2/class-use/C2.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   103
                "<div class=\"useSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   104
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   105
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   106
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   107
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   108
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   109
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   110
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   111
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   112
        // Package use documentation
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   113
        checkOutput("pkg1/package-use.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   114
                "<div class=\"useSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   115
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   116
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   117
        checkOutput("pkg2/package-use.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   118
                "<div class=\"useSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   119
                "<div class=\"useSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   120
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   121
        // Deprecated
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   122
        checkOutput("deprecated-list.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   123
                "<div class=\"deprecatedSummary\">\n<table>",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   124
                "<div class=\"deprecatedSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   125
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   126
        // Constant values
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   127
        checkOutput("constant-values.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   128
                "<div class=\"constantsSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   129
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   130
        // Overview Summary
54350
4f9772f4403d 8215599: Remove support for javadoc "frames" mode
pmuthuswamy
parents: 53562
diff changeset
   131
        checkOutput("index.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   132
                "<div class=\"overviewSummary\">\n<table>");
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   133
    }
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   134
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   135
    /*
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   136
     * Tests for validating summary for HTML tables
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   137
     */
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   138
    void checkHtmlTableSummaries() {
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   139
        //Package summary
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   140
        checkOutput("pkg1/package-summary.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   141
                "<div class=\"typeSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   142
                + "<table summary=\"Class Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   143
                + "listing classes, and an explanation\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   144
                "<div class=\"typeSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   145
                + "<table summary=\"Interface Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   146
                + "listing interfaces, and an explanation\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   147
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   148
        checkOutput("pkg2/package-summary.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   149
                "<div class=\"typeSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   150
                + "<table summary=\"Enum Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   151
                + "listing enums, and an explanation\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   152
                "<div class=\"typeSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   153
                + "<table summary=\"Annotation Types Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   154
                + "listing annotation types, and an explanation\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   155
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   156
        // Class documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   157
        checkOutput("pkg1/C1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   158
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   159
                + "<table summary=\"Field Summary table, listing fields, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   160
                + "and an explanation\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   161
                "<div class=\"memberSummary\">\n",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   162
                "<table summary=\"Method Summary table, listing methods, "
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   163
                + "and an explanation\" aria-labelledby=\"t0\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   164
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   165
        checkOutput("pkg2/C2.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   166
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   167
                + "<table summary=\"Nested Class Summary table, listing "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   168
                + "nested classes, and an explanation\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   169
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   170
                + "<table summary=\"Constructor Summary table, listing "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   171
                + "constructors, and an explanation\">");
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   172
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   173
        checkOutput("pkg2/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   174
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   175
                + "<table summary=\"Enum Constant Summary table, listing "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   176
                + "enum constants, and an explanation\">");
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   177
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   178
        checkOutput("pkg2/C3.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   179
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   180
                + "<table summary=\"Required Element Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   181
                + "listing required elements, and an explanation\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   182
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   183
        checkOutput("pkg2/C4.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   184
                "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   185
                + "<table summary=\"Optional Element Summary table, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   186
                + "listing optional elements, and an explanation\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   187
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   188
        // Class use documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   189
        checkOutput("pkg1/class-use/I1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   190
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   191
                + "<table summary=\"Use table, listing packages, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   192
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   193
        checkOutput("pkg1/class-use/C1.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   194
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   195
                + "<table summary=\"Use table, listing fields, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   196
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   197
                + "<table summary=\"Use table, listing methods, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   198
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   199
        checkOutput("pkg2/class-use/C2.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   200
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   201
                + "<table summary=\"Use table, listing fields, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   202
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   203
                + "<table summary=\"Use table, listing methods, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   204
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   205
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   206
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   207
                + "<table summary=\"Use table, listing packages, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   208
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   209
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   210
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   211
                + "<table summary=\"Use table, listing methods, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   212
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   213
        // Package use documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   214
        checkOutput("pkg1/package-use.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   215
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   216
                + "<table summary=\"Use table, listing packages, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   217
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   218
                + "<table summary=\"Use table, listing classes, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   219
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   220
        checkOutput("pkg2/package-use.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   221
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   222
                + "<table summary=\"Use table, listing packages, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   223
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   224
                + "<table summary=\"Use table, listing classes, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   225
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   226
        // Deprecated
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   227
        checkOutput("deprecated-list.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   228
                "<div class=\"deprecatedSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   229
                + "<table summary=\"Fields table, listing fields, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   230
                + "and an explanation\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   231
                "<div class=\"deprecatedSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   232
                + "<table summary=\"Methods table, listing methods, "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   233
                + "and an explanation\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   234
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   235
        // Constant values
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   236
        checkOutput("constant-values.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   237
                "<div class=\"constantsSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   238
                + "<table summary=\"Constant Field Values table, listing "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   239
                + "constant fields, and values\">");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   240
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   241
        // Overview Summary
54350
4f9772f4403d 8215599: Remove support for javadoc "frames" mode
pmuthuswamy
parents: 53562
diff changeset
   242
        checkOutput("index.html", true,
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   243
                "<div class=\"overviewSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   244
                + "<table summary=\"Package Summary table, listing packages, and an explanation\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   245
    }
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   246
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   247
    /*
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   248
     * Tests for validating caption for HTML tables
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   249
     */
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   250
    void checkHtmlTableCaptions() {
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   251
        //Package summary
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   252
        checkOutput("pkg1/package-summary.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   253
                "<caption><span>Class Summary</span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   254
                + "&nbsp;</span></caption>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   255
                "<caption><span>Interface Summary</span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   256
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   257
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   258
        checkOutput("pkg2/package-summary.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   259
                "<caption><span>Enum Summary</span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   260
                + "&nbsp;</span></caption>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   261
                "<caption><span>Annotation Types Summary</span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   262
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   263
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   264
        // Class documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   265
        checkOutput("pkg1/C1.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   266
                "<caption><span>Fields</span><span class=\"tabEnd\">&nbsp;</span></caption>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   267
                "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   268
                + " aria-selected=\"true\" aria-controls=\"memberSummary_tabpanel\" tabindex=\"0\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   269
                + " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Methods"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   270
                + "</button><button role=\"tab\" aria-selected=\"false\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   271
                + " aria-controls=\"memberSummary_tabpanel\" tabindex=\"-1\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   272
                + " onkeydown=\"switchTab(event)\" id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   273
                + "Instance Methods</button><button role=\"tab\" aria-selected=\"false\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   274
                + " aria-controls=\"memberSummary_tabpanel\" tabindex=\"-1\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   275
                + " onkeydown=\"switchTab(event)\" id=\"t4\" class=\"tableTab\" onclick=\"show(8);\">"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   276
                + "Concrete Methods</button><button role=\"tab\" aria-selected=\"false\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   277
                + " aria-controls=\"memberSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\""
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 50293
diff changeset
   278
                + " id=\"t6\" class=\"tableTab\" onclick=\"show(32);\">Deprecated Methods</button></div>\n");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   279
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   280
        checkOutput("pkg2/C2.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   281
                "<caption><span>Nested Classes</span><span class=\"tabEnd\">&nbsp;</span></caption>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   282
                "<caption><span>Constructors</span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   283
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   284
        checkOutput("pkg2/C2.ModalExclusionType.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   285
                "<caption><span>Enum Constants</span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   286
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   287
        checkOutput("pkg2/C3.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   288
                "<caption><span>Required Elements</span><span class=\"tabEnd\">&nbsp;"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   289
                + "</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   290
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   291
        checkOutput("pkg2/C4.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   292
                "<caption><span>Optional Elements</span><span class=\"tabEnd\">&nbsp;"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   293
                + "</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   294
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   295
        // Class use documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   296
        checkOutput("pkg1/class-use/I1.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   297
                "<caption><span>Packages that use <a href=\"../I1.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   298
                + "title=\"interface in pkg1\">I1</a></span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   299
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   300
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   301
        checkOutput("pkg1/class-use/C1.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   302
                "<caption><span>Fields in <a href=\"../../pkg2/package-summary.html\">"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   303
                + "pkg2</a> declared as <a href=\"../C1.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   304
                + "title=\"class in pkg1\">C1</a></span><span class=\"tabEnd\">&nbsp;"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   305
                + "</span></caption>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   306
                "<caption><span>Methods in <a href=\"../../pkg2/package-summary.html\">"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   307
                + "pkg2</a> that return <a href=\"../C1.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   308
                + "title=\"class in pkg1\">C1</a></span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   309
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   310
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   311
        checkOutput("pkg2/class-use/C2.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   312
                "<caption><span>Fields in <a href=\"../../pkg1/package-summary.html\">"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   313
                + "pkg1</a> declared as <a href=\"../C2.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   314
                + "title=\"class in pkg2\">C2</a></span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   315
                + "&nbsp;</span></caption>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   316
                "<caption><span>Methods in <a href=\"../../pkg1/package-summary.html\">"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   317
                + "pkg1</a> that return <a href=\"../C2.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   318
                + "title=\"class in pkg2\">C2</a></span><span class=\"tabEnd\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   319
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   320
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   321
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   322
                "<caption><span>Methods in <a href=\"../package-summary.html\">"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   323
                + "pkg2</a> that return <a href=\"../C2.ModalExclusionType.html\" "
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   324
                + "title=\"enum in pkg2\">C2.ModalExclusionType</a></span>"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   325
                + "<span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   326
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   327
        // Package use documentation
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   328
        checkOutput("pkg1/package-use.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   329
                "<caption><span>Packages that use <a href=\"package-summary.html\">"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   330
                + "pkg1</a></span><span class=\"tabEnd\">&nbsp;</span></caption>",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   331
                "<caption><span>Classes in <a href=\"package-summary.html\">"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   332
                + "pkg1</a> used by <a href=\"package-summary.html\">pkg1</a>"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   333
                + "</span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   334
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   335
        checkOutput("pkg2/package-use.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   336
                "<caption><span>Packages that use <a href=\"package-summary.html\">"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   337
                + "pkg2</a></span><span class=\"tabEnd\">&nbsp;</span></caption>",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   338
                "<caption><span>Classes in <a href=\"package-summary.html\">"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   339
                + "pkg2</a> used by <a href=\"../pkg1/package-summary.html\">pkg1</a>"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   340
                + "</span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   341
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   342
        // Deprecated
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   343
        checkOutput("deprecated-list.html", true,
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47216
diff changeset
   344
                "<caption><span>Fields</span><span class=\"tabEnd\">"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   345
                + "&nbsp;</span></caption>",
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47216
diff changeset
   346
                "<caption><span>Methods</span><span class=\"tabEnd\">"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   347
                + "&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   348
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   349
        // Constant values
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   350
        checkOutput("constant-values.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   351
                "<caption><span>pkg1.<a href=\"pkg1/C1.html\" title=\"class in pkg1\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   352
                + "C1</a></span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   353
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   354
        // Overview Summary
54350
4f9772f4403d 8215599: Remove support for javadoc "frames" mode
pmuthuswamy
parents: 53562
diff changeset
   355
        checkOutput("index.html", true,
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   356
                "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   357
    }
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   358
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   359
    /*
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   360
     * Test for validating headers for HTML tables
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   361
     */
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   362
    void checkHtmlTableHeaders() {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   363
        //Package summary
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   364
        checkOutput("pkg1/package-summary.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   365
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   366
                + "Class</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   367
                + "<th class=\"colLast\" scope=\"col\""
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   368
                + ">Description</th>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   369
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   370
                + "Interface</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   371
                + "<th class=\"colLast\" scope=\"col\""
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   372
                + ">Description</th>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   373
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   374
        checkOutput("pkg2/package-summary.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   375
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   376
                + "Enum</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   377
                + "<th class=\"colLast\" scope=\"col\""
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   378
                + ">Description</th>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   379
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   380
                + "Annotation Type</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   381
                + "<th class=\"colLast\""
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   382
                + " scope=\"col\">Description</th>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   383
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   384
        // Class documentation
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   385
        checkOutput("pkg1/C1.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   386
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   387
                + "<th class=\"colSecond\" scope=\"col\">Field</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   388
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   389
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   390
                + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   391
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   392
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   393
        checkOutput("pkg2/C2.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   394
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   395
                + "<th class=\"colSecond\" scope=\"col\">Class</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   396
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   397
                "<th class=\"colFirst\" scope=\"col\">Constructor</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   398
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   400
        checkOutput("pkg2/C2.ModalExclusionType.html", true,
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   401
                "<th class=\"colFirst\" scope=\"col\">Enum Constant</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   402
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   403
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   404
        checkOutput("pkg2/C3.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   405
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   406
                + "<th class=\"colSecond\" scope=\"col\">Required Element</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   407
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   408
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   409
        checkOutput("pkg2/C4.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   410
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   411
                + "<th class=\"colSecond\" scope=\"col\">Optional Element</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   412
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   413
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   414
        // Class use documentation
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   415
        checkOutput("pkg1/class-use/I1.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   416
                "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   417
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   418
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   419
        checkOutput("pkg1/class-use/C1.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   420
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   421
                + "<th class=\"colSecond\" scope=\"col\">Field</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   422
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   423
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   424
                + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   425
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   426
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   427
        checkOutput("pkg2/class-use/C2.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   428
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   429
                + "<th class=\"colSecond\" scope=\"col\">Field</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   430
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   431
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   432
                + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   433
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   434
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   435
        checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   436
                "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   437
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   438
                "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   439
                + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   440
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   441
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   442
        // Package use documentation
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   443
        checkOutput("pkg1/package-use.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   444
                "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   445
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   446
                "<th class=\"colFirst\" scope=\"col\">Class</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   447
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   448
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   449
        checkOutput("pkg2/package-use.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   450
                "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   451
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   452
                "<th class=\"colFirst\" scope=\"col\">Class</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   453
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   454
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   455
        // Deprecated
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   456
        checkOutput("deprecated-list.html", true,
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   457
                "<th class=\"colFirst\" scope=\"col\">Field</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   458
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   459
                "<th class=\"colFirst\" scope=\"col\">Method</th>\n"
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   460
                + "<th class=\"colLast\" scope=\"col\">Description</th>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   461
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   462
        // Constant values
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   463
        checkOutput("constant-values.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   464
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   465
                + "Modifier and Type</th>\n"
41157
b235a429089a 8162363: Tables in javadoc documentation missing row headers
bpatel
parents: 36526
diff changeset
   466
                + "<th class=\"colSecond\""
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   467
                + " scope=\"col\">Constant Field</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   468
                + "<th class=\"colLast\" scope=\"col\">Value</th>");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   469
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   470
        // Overview Summary
54350
4f9772f4403d 8215599: Remove support for javadoc "frames" mode
pmuthuswamy
parents: 53562
diff changeset
   471
        checkOutput("index.html", true,
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   472
                "<th class=\"colFirst\" scope=\"col\">"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   473
                + "Package</th>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   474
                + "<th class=\"colLast\" scope=\"col\""
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   475
                + ">Description</th>");
2320
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   476
    }
5b8c377175f4 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
bpatel
parents:
diff changeset
   477
}