test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java
author jjg
Thu, 21 Feb 2019 14:03:57 -0800
changeset 53879 e7cb0348fa1c
parent 53562 0d9dee001667
child 53883 f41793b5b83f
permissions -rw-r--r--
8215307: Pages do not have <h1> Reviewed-by: hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     1
/*
53562
0d9dee001667 8215577: Remove javadoc support for HTML 4
pmuthuswamy
parents: 53097
diff changeset
     2
 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     4
 *
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     8
 *
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    13
 * accompanied this code).
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    14
 *
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    18
 *
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    21
 * questions.
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    22
 */
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    23
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    24
/*
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    25
 * @test
50293
edfb87b2520e 8196202: Javadoc should not generate frames by default
jjg
parents: 50118
diff changeset
    26
 * @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 8196202
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
    27
 *      8202624 8210047 8184205
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    28
 * @summary Test the version of HTML generated by the javadoc tool.
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    29
 * @author bpatel
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    30
 * @library ../../lib
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
    31
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    32
 * @build javadoc.tester.*
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    33
 * @run main TestHtmlVersion
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    34
 */
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    35
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    36
import javadoc.tester.JavadocTester;
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    37
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    38
public class TestHtmlVersion extends JavadocTester {
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    39
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    40
    public static void main(String... args) throws Exception {
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    41
        TestHtmlVersion tester = new TestHtmlVersion();
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    42
        tester.runTests();
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    43
    }
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    44
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    45
    @Test
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    46
    public void test1() {
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    47
        javadoc("-d", "out-1",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    48
                "-private",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    49
                "-linksource",
50293
edfb87b2520e 8196202: Javadoc should not generate frames by default
jjg
parents: 50118
diff changeset
    50
                "--frames",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    51
                "-sourcepath", testSrc,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    52
                "-use",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    53
                "pkg", "pkg1", "pkg2", "pkg3");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    54
        checkExit(Exit.OK);
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    55
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    56
        html5Output();
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    57
        html5NegatedOutput();
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    58
    }
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    59
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    60
    @Test
53097
2e82ca64b25d 8215516: Move JavadocTester to a named package
jjg
parents: 52616
diff changeset
    61
    public void test4() {
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    62
        javadoc("-d", "out-4",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    63
                "-private",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    64
                "-linksource",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    65
                "-sourcepath", testSrc,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    66
                "-use",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    67
                "pkg3");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    68
        checkExit(Exit.OK);
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    69
    }
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    70
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    71
    void html5Output() {
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    72
        // Test for overview-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    73
        checkOutput("overview-frame.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    74
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    75
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    76
                "<nav role=\"navigation\" class=\"indexNav\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    77
                + "<ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    78
                + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All&nbsp;Classes</a></li>",
51797
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
    79
                "<main role=\"main\">\n"
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
    80
                + "<div class=\"indexContainer\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    81
                + "<h2 title=\"Packages\">Packages</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    82
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    83
        // Test for allclasses-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    84
        checkOutput("allclasses-frame.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    85
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    86
                "<meta name=\"dc.created\"",
51797
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
    87
                "<main role=\"main\">\n"
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
    88
                + "<h1 class=\"bar\">All&nbsp;Classes</h1>\n"
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
    89
                + "<div class=\"indexContainer\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    90
                + "<ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    91
                + "<li>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    92
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    93
        // Test for overview-summary page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    94
        checkOutput("overview-summary.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    95
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    96
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    97
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    98
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
    99
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   100
                "<div class=\"overviewSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   101
                + "<table>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   102
                + "<caption>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   103
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   104
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   105
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   106
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   107
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   108
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   109
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   110
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   111
        // Test for package-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   112
        checkOutput("pkg/package-frame.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   113
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   114
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   115
                "<main role=\"main\">\n"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   116
                + "<h1 class=\"bar\"><a href=\"package-summary.html\" target=\"classFrame\">pkg</a></h1>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   117
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   118
                + "<h2 title=\"Interfaces\">Interfaces</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   119
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   120
                + "<h2 title=\"Classes\">Classes</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   121
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   122
                + "<h2 title=\"Enums\">Enums</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   123
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   124
                + "<h2 title=\"Exceptions\">Exceptions</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   125
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   126
                + "<h2 title=\"Errors\">Errors</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   127
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   128
                + "<h2 title=\"Annotation Types\">Annotation Types</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   129
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   130
        // Test for package-summary page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   131
        checkOutput("pkg/package-summary.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   132
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   133
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   134
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   135
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   136
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   137
                "<div class=\"typeSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   138
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   139
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   140
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   141
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   142
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   143
                + "<div class=\"header\">",
46081
7c6d73d10b6b 8185194: Missing anchor for package description in package-summary.html pages
pmuthuswamy
parents: 43870
diff changeset
   144
                "<section role=\"region\"><a id=\"package.description\">\n"
7c6d73d10b6b 8185194: Missing anchor for package description in package-summary.html pages
pmuthuswamy
parents: 43870
diff changeset
   145
                + "<!--   -->\n"
7c6d73d10b6b 8185194: Missing anchor for package description in package-summary.html pages
pmuthuswamy
parents: 43870
diff changeset
   146
                + "</a>\n"
41453
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   147
                + "<div class=\"block\">Test package.</div>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   148
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   149
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   150
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
41453
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   151
        // No package description
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   152
        checkOutput("pkg1/package-summary.html", true,
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   153
                "<div class=\"contentContainer\">\n"
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   154
                + "<ul class=\"blockList\">\n"
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   155
                + "<li class=\"blockList\">\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   156
                + "<div class=\"typeSummary\">\n<table>\n"
41453
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   157
                + "<caption><span>Class Summary</span><span class=\"tabEnd\">&nbsp;</span></caption>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   158
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   159
        // Test for package-tree page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   160
        checkOutput("pkg/package-tree.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   161
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   162
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   163
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   164
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   165
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   166
                "<li class=\"circle\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   167
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   168
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   169
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   170
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   171
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   172
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   173
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   174
                + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   175
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   176
                + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   177
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   178
                + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   179
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   180
                + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   181
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   182
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   183
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   184
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   185
        // Test for package-use page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   186
        checkOutput("pkg1/package-use.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   187
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   188
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   189
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   190
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   191
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   192
                "<div class=\"useSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   193
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   194
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   195
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   196
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   197
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   198
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   199
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   200
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   201
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   202
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   203
        // Test for constant-values page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   204
        checkOutput("constant-values.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   205
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   206
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   207
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   208
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   209
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   210
                "<div class=\"constantsSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   211
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   212
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   213
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   214
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   215
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   216
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   217
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   218
                + "<h2 title=\"Contents\">Contents</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   219
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   220
                + "<h2 title=\"pkg\">pkg.*</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   221
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   222
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   223
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   224
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   225
        // Test for deprecated-list page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   226
        checkOutput("deprecated-list.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   227
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   228
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   229
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   230
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   231
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   232
                "<div class=\"deprecatedSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   233
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   234
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   235
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   236
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   237
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   238
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   239
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   240
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   241
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   242
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   243
        // Test for serialized-form page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   244
        checkOutput("serialized-form.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   245
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   246
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   247
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   248
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   249
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   250
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   251
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   252
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   253
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   254
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   255
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   256
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   257
                + "<h2 title=\"Package\">Package&nbsp;pkg</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   258
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   259
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   260
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   261
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   262
        // Test for overview-tree page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   263
        checkOutput("overview-tree.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   264
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   265
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   266
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   267
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   268
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   269
                "<li class=\"circle\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   270
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   271
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   272
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   273
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   274
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   275
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   276
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   277
                + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   278
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   279
                + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   280
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   281
                + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   282
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   283
                + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   284
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   285
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   286
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   287
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   288
        // Test for index-all page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   289
        checkOutput("index-all.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   290
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   291
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   292
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   293
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   294
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   295
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   296
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   297
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   298
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   299
                "</header>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   300
                + "<main role=\"main\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   301
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   302
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   303
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   304
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   305
        // Test for src-html page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   306
        checkOutput("src-html/pkg/AnotherClass.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   307
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   308
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   309
                + "<div class=\"sourceContainer\">");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   310
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   311
        // Test for help-doc page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   312
        checkOutput("help-doc.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   313
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   314
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   315
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   316
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   317
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   318
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   319
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   320
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   321
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   322
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   323
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   324
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   325
                + "<h2>Overview</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   326
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   327
                + "<h2>Package</h2>\n",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   328
                "<section role=\"region\">\n"
51018
591c34a66d41 8185740: The help-doc.html generated by the doclet is outdated
jjg
parents: 50672
diff changeset
   329
                + "<h2>Class or Interface</h2>\n",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   330
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   331
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   332
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   333
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   334
        // Test for a regular class page and members (nested class, field, constructore and method)
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   335
        checkOutput("pkg/AnotherClass.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   336
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   337
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   338
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   339
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   340
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   341
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   342
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   343
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   344
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   345
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   346
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   347
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   348
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   349
                + "<li class=\"blockList\"><a id=\"nested.class.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   350
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   351
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   352
                + "<h2>Nested Class Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   353
                + "<div class=\"memberSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   354
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   355
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   356
                + "<li class=\"blockList\"><a id=\"field.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   357
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   358
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   359
                + "<h2>Field Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   360
                + "<div class=\"memberSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   361
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   362
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   363
                + "<li class=\"blockList\"><a id=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   364
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   365
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   366
                + "<h2>Constructor Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   367
                + "<div class=\"memberSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   368
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   369
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   370
                + "<li class=\"blockList\"><a id=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   371
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   372
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   373
                + "<h2>Method Summary</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   374
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   375
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   376
                + "<li class=\"blockList\"><a id=\"field.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   377
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   378
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   379
                + "<h2>Field Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   380
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   381
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   382
                + "<li class=\"blockList\"><a id=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   383
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   384
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   385
                + "<h2>Constructor Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   386
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   387
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   388
                + "<li class=\"blockList\"><a id=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   389
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   390
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   391
                + "<h2>Method Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   392
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   393
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   394
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   395
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   396
        // Test for enum page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   397
        checkOutput("pkg/AnotherClass.ModalExclusionType.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   398
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   399
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   400
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   401
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   402
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   403
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   404
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   405
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   406
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   407
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   408
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   409
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   410
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   411
                + "<li class=\"blockList\"><a id=\"enum.constant.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   412
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   413
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   414
                + "<h2>Enum Constant Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   415
                + "<div class=\"memberSummary\">\n",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   416
                "<table aria-labelledby=\"t0\">\n",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   417
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   418
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   419
                + "<li class=\"blockList\"><a id=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   420
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   421
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   422
                + "<h2>Method Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   423
                + "<div class=\"memberSummary\">\n",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   424
                "<table aria-labelledby=\"t0\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   425
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   426
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   427
                + "<li class=\"blockList\"><a id=\"enum.constant.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   428
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   429
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   430
                + "<h2>Enum Constant Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   431
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   432
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   433
                + "<li class=\"blockList\"><a id=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   434
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   435
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   436
                + "<h2>Method Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   437
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   438
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   439
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   440
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   441
        // Test for interface page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   442
        checkOutput("pkg2/Interface.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   443
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   444
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   445
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   446
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   447
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   448
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   449
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   450
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   451
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   452
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   453
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   454
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   455
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   456
                + "<li class=\"blockList\"><a id=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   457
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   458
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   459
                + "<h2>Method Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   460
                + "<div class=\"memberSummary\">\n",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   461
                "<table aria-labelledby=\"t0\">\n",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   462
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   463
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   464
                + "<li class=\"blockList\"><a id=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   465
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   466
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   467
                + "<h2>Method Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   468
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   469
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   470
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   471
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   472
        // Test for error page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   473
        checkOutput("pkg/TestError.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   474
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   475
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   476
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   477
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   478
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   479
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   480
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   481
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   482
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   483
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   484
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   485
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   486
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   487
                + "<li class=\"blockList\"><a id=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   488
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   489
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   490
                + "<h2>Constructor Summary</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   491
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   492
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   493
                + "<li class=\"blockList\"><a id=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   494
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   495
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   496
                + "<h2>Constructor Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   497
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   498
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   499
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   500
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   501
        // Test for exception page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   502
        checkOutput("pkg/TestException.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   503
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   504
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   505
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   506
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   507
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   508
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   509
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   510
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   511
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   512
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   513
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   514
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   515
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   516
                + "<li class=\"blockList\"><a id=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   517
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   518
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   519
                + "<h2>Constructor Summary</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   520
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   521
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   522
                + "<li class=\"blockList\"><a id=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   523
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   524
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   525
                + "<h2>Constructor Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   526
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   527
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   528
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   529
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   530
        // Test for annotation page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   531
        checkOutput("pkg2/TestAnnotationType.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   532
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   533
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   534
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   535
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   536
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   537
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   538
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   539
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   540
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   541
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   542
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   543
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   544
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   545
                + "<li class=\"blockList\"><a id=\"annotation.type.required.element.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   546
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   547
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   548
                + "<h2>Required Element Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   549
                + "<div class=\"memberSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   550
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   551
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   552
                + "<li class=\"blockList\"><a id=\"annotation.type.optional.element.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   553
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   554
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   555
                + "<h2>Optional Element Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   556
                + "<div class=\"memberSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   557
                "<section role=\"region\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   558
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   559
                + "<li class=\"blockList\"><a id=\"annotation.type.element.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   560
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   561
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   562
                + "<h2>Element Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   563
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   564
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   565
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   566
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   567
        // Test for class use page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   568
        checkOutput("pkg1/class-use/RegClass.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   569
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   570
                "<meta name=\"dc.created\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   571
                "<a id=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   572
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   573
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   574
                "<header role=\"banner\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   575
                + "<nav role=\"navigation\">\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   576
                + "<div class=\"fixedNav\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   577
                + "<!-- ========= START OF TOP NAVBAR ======= -->",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   578
                "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   579
                + "<div class=\"header\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   580
                "<div class=\"useSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   581
                "<section role=\"region\"><a id=\"pkg\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   582
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   583
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   584
                + "<h2>Uses of <a href=\"../RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   585
                + "<div class=\"useSummary\">\n<table>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   586
                "<footer role=\"contentinfo\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   587
                + "<nav role=\"navigation\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   588
                + "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   589
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   590
        // Test for main index page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   591
        checkOutput("index.html", true,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   592
                "<!DOCTYPE HTML>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   593
                "<link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheet.css\" title=\"Style\">",
36270
8ed6e67460be 8148985: javadoc "FRAMES" and "NO FRAMES" links not working correctly
bpatel
parents: 35426
diff changeset
   594
                "<body onload=\"loadFrames()\">\n"
43578
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
   595
                + "<script type=\"text/javascript\">\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
   596
                + "if (targetPage == \"\" || targetPage == \"undefined\")\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
   597
                + "     window.location.replace('overview-summary.html');\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
   598
                + "</script>\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
   599
                + "<noscript>JavaScript is disabled on your browser.</noscript>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   600
                + "<main role=\"main\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   601
                + "<div class=\"mainContainer\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   602
                + "<div class=\"leftContainer\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   603
                + "<div class=\"leftTop\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   604
                + "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   605
                + "</div>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   606
    }
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   607
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   608
    void html5NegatedOutput() {
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   609
        // Negated test for overview-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   610
        checkOutput("overview-frame.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   611
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   612
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   613
                "<div class=\"indexNav\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   614
                + "<ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   615
                + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All&nbsp;Classes</a></li>",
51797
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
   616
                "<main class=\"indexContainer\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   617
                + "<h2 title=\"Packages\">Packages</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   618
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   619
        // Negated test for allclasses-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   620
        checkOutput("allclasses-frame.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   621
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   622
                "<meta name=\"date\"",
51797
3efead10e303 8210047: some pages contain content outside of landmark region
pmuthuswamy
parents: 51038
diff changeset
   623
                "<main class=\"indexContainer\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   624
                + "<ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   625
                + "<li>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   626
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   627
        // Negated test for overview-summary page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   628
        checkOutput("overview-summary.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   629
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   630
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   631
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   632
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   633
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   634
                "<table summary=\"Package Summary table, listing packages, and an explanation\">\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   635
                + "<caption>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   636
                "</noscript>\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   637
                + "<div class=\"fixedNav\">\n"
35426
374342e56a56 8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents: 33920
diff changeset
   638
                + "<!-- ========= START OF TOP NAVBAR ======= -->");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   639
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   640
        // Negated test for package-frame page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   641
        checkOutput("pkg/package-frame.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   642
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   643
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   644
                "<body>\n"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47447
diff changeset
   645
                + "<h1 class=\"bar\"><a href=\"package-summary.html\" target=\"classFrame\">pkg</a></h1>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   646
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   647
        // Negated test for package-summary page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   648
        checkOutput("pkg/package-summary.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   649
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   650
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   651
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   652
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   653
                + "</a>",
41453
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   654
                "<section role=\"region\">\n"
5429549751ad 4649116: Add option to include full package description at top, before interface table
bpatel
parents: 36526
diff changeset
   655
                + "<h2 title=\"Package pkg Description\">Package pkg Description</h2>\n",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   656
                "<div class=\"typeSummary\">\n<table summary=\"Interface Summary table, listing interfaces, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   657
                "<div class=\"typeSummary\">\n<table summary=\"Class Summary table, listing classes, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   658
                "<div class=\"typeSummary\">\n<table summary=\"Enum Summary table, listing enums, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   659
                "<div class=\"typeSummary\">\n<table summary=\"Exception Summary table, listing exceptions, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   660
                "<div class=\"typeSummary\">\n<table summary=\"Error Summary table, listing errors, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   661
                "<div class=\"typeSummary\">\n<table summary=\"Annotation Types Summary table, listing annotation types, and an explanation\">");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   662
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   663
        // Negated test for package-tree page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   664
        checkOutput("pkg/package-tree.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   665
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   666
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   667
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   668
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   669
                + "</a>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   670
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   671
        // Negated test for package-use page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   672
        checkOutput("pkg1/package-use.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   673
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   674
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   675
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   676
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   677
                + "</a>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   678
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   679
                + "<table summary=\"Use table, listing packages, and an explanation\">");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   680
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   681
        // Negated test for constant-values page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   682
        checkOutput("constant-values.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   683
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   684
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   685
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   686
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   687
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   688
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   689
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   690
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   691
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   692
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   693
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   694
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   695
                + "<div class=\"header\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   696
                "<div class=\"constantsSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   697
                + "<table summary=\"Constant Field Values table, listing constant fields, and values\">");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   698
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   699
        // Negated test for deprecated-list page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   700
        checkOutput("deprecated-list.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   701
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   702
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   703
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   704
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   705
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   706
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   707
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   708
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   709
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   710
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   711
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   712
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   713
                + "<div class=\"header\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   714
                + "<h1 title=\"Deprecated API\" class=\"title\">Deprecated API</h1>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   715
                + "<h2 title=\"Contents\">Contents</h2>",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   716
                "<div class=\"deprecatedSummary\">\n<table summary=\"Classes table, listing classes, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   717
                "<div class=\"deprecatedSummary\">\n<table summary=\"Enums table, listing enums, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   718
                "<div class=\"deprecatedSummary\">\n<table summary=\"Exceptions table, listing exceptions, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   719
                "<div class=\"deprecatedSummary\">\n<table summary=\"Errors table, listing errors, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   720
                "<div class=\"deprecatedSummary\">\n<table summary=\"Annotation Types table, listing annotation types, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   721
                "<div class=\"deprecatedSummary\">\n<table summary=\"Fields table, listing fields, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   722
                "<div class=\"deprecatedSummary\">\n<table summary=\"Methods table, listing methods, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   723
                "<div class=\"deprecatedSummary\">\n<table summary=\"Constructors table, listing constructors, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   724
                "<div class=\"deprecatedSummary\">\n<table summary=\"Enum Constants table, listing enum constants, and an explanation\">",
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   725
                "<div class=\"deprecatedSummary\">\n<table summary=\"Annotation Type Elements table, listing annotation type elements, and an explanation\">");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   726
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   727
        // Negated test for serialized-form page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   728
        checkOutput("serialized-form.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   729
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   730
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   731
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   732
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   733
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   734
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   735
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   736
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   737
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   738
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   739
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   740
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   741
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   742
                "<li class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   743
                + "<h2 title=\"Package\">Package&nbsp;pkg</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   744
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   745
        // Negated test for overview-tree page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   746
        checkOutput("overview-tree.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   747
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   748
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   749
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   750
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   751
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   752
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   753
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   754
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   755
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   756
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   757
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   758
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   759
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   760
                "<div class=\"contentContainer\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   761
                + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   762
                "</ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   763
                + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   764
                "</ul>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   765
                + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   766
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   767
        // Negated test for index-all page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   768
        checkOutput("index-all.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   769
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   770
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   771
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   772
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   773
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   774
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   775
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   776
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   777
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   778
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   779
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   780
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   781
                + "<div class=\"contentContainer\">");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   782
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   783
        // Negated test for src-html page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   784
        checkOutput("src-html/pkg/AnotherClass.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   785
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   786
                "<body>\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   787
                + "<div class=\"sourceContainer\">");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   788
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   789
        // Negated test for help-doc page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   790
        checkOutput("help-doc.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   791
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   792
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   793
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   794
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   795
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   796
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
   797
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
   798
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   799
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   800
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   801
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
   802
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   803
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   804
                "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   805
                + "<li class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   806
                + "<h2>Overview</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   807
                "<li class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   808
                + "<h2>Package</h2>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   809
                "<li class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   810
                + "<h2>Class/Interface</h2>");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   811
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   812
        // Negated test for a regular class page and members (nested class, field, constructore and method)
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   813
        checkOutput("pkg/AnotherClass.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   814
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   815
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   816
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   817
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   818
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   819
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   820
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   821
                "<!-- ======== NESTED CLASS SUMMARY ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   822
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   823
                + "<li class=\"blockList\"><a name=\"nested.class.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   824
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   825
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   826
                + "<h2>Nested Class Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   827
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   828
                + "<table summary=\"Nested Class Summary table, listing nested classes, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   829
                "<!-- =========== FIELD SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   830
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   831
                + "<li class=\"blockList\"><a name=\"field.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   832
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   833
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   834
                + "<h2>Field Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   835
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   836
                + "<table summary=\"Field Summary table, listing fields, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   837
                "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   838
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   839
                + "<li class=\"blockList\"><a name=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   840
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   841
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   842
                + "<h2>Constructor Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   843
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   844
                + "<table summary=\"Constructor Summary table, listing constructors, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   845
                "<!-- ========== METHOD SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   846
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   847
                + "<li class=\"blockList\"><a name=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   848
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   849
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   850
                + "<h2>Method Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   851
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   852
                + "<table summary=\"Method Summary table, listing methods, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   853
                "<!-- ============ FIELD DETAIL =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   854
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   855
                + "<li class=\"blockList\"><a name=\"field.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   856
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   857
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   858
                + "<h2>Field Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   859
                "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   860
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   861
                + "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   862
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   863
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   864
                + "<h2>Constructor Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   865
                "<!-- ============ METHOD DETAIL ========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   866
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   867
                + "<li class=\"blockList\"><a name=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   868
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   869
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   870
                + "<h2>Method Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   871
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   872
        // Negated test for enum page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   873
        checkOutput("pkg/AnotherClass.ModalExclusionType.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   874
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   875
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   876
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   877
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   878
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   879
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   880
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   881
                "<!-- =========== ENUM CONSTANT SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   882
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   883
                + "<li class=\"blockList\"><a name=\"enum.constant.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   884
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   885
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   886
                + "<h2>Enum Constant Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   887
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   888
                + "<table summary=\"Enum Constant Summary table, listing enum constants, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   889
                "<!-- ========== METHOD SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   890
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   891
                + "<li class=\"blockList\"><a name=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   892
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   893
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   894
                + "<h2>Method Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   895
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   896
                + "<table summary=\"Method Summary table, listing methods, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   897
                "<!-- ============ ENUM CONSTANT DETAIL =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   898
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   899
                + "<li class=\"blockList\"><a name=\"enum.constant.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   900
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   901
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   902
                + "<h2>Enum Constant Detail</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   903
                "<!-- ============ METHOD DETAIL ========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   904
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   905
                + "<li class=\"blockList\"><a name=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   906
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   907
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   908
                + "<h2>Method Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   909
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   910
        // Negated test for interface page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   911
        checkOutput("pkg2/Interface.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   912
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   913
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   914
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   915
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   916
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   917
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   918
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   919
                "<!-- ========== METHOD SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   920
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   921
                + "<li class=\"blockList\"><a name=\"method.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   922
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   923
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   924
                + "<h2>Method Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   925
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   926
                + "<table summary=\"Method Summary table, listing methods, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   927
                "<!-- ============ METHOD DETAIL ========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   928
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   929
                + "<li class=\"blockList\"><a name=\"method.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   930
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   931
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   932
                + "<h2>Method Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   933
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   934
        // Negated test for error page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   935
        checkOutput("pkg/TestError.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   936
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   937
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   938
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   939
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   940
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   941
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   942
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   943
                "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   944
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   945
                + "<li class=\"blockList\"><a name=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   946
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   947
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   948
                + "<h2>Constructor Summary</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   949
                "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   950
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   951
                + "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   952
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   953
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   954
                + "<h2>Constructor Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   955
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   956
        // Negated test for exception page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   957
        checkOutput("pkg/TestException.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   958
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   959
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   960
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   961
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   962
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   963
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   964
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   965
                "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   966
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   967
                + "<li class=\"blockList\"><a name=\"constructor.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   968
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   969
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   970
                + "<h2>Constructor Summary</h2>",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   971
                "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   972
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   973
                + "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   974
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   975
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   976
                + "<h2>Constructor Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   977
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   978
        // Negated test for annotation page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   979
        checkOutput("pkg2/TestAnnotationType.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   980
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   981
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   982
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   983
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   984
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   985
                "<!-- ======== START OF CLASS DATA ======== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   986
                + "<div class=\"header\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   987
                "<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   988
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   989
                + "<li class=\"blockList\"><a name=\"annotation.type.required.element.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   990
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   991
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
   992
                + "<h2>Required Element Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   993
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
   994
                + "<table summary=\"Required Element Summary table, listing required elements, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   995
                "<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   996
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   997
                + "<li class=\"blockList\"><a name=\"annotation.type.optional.element.summary\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   998
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
   999
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
  1000
                + "<h2>Optional Element Summary</h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
  1001
                + "<div class=\"memberSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
  1002
                + "<table summary=\"Optional Element Summary table, listing optional elements, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1003
                "<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1004
                + "<ul class=\"blockList\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1005
                + "<li class=\"blockList\"><a name=\"annotation.type.element.detail\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1006
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1007
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
  1008
                + "<h2>Element Detail</h2>");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1009
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1010
        // Negated test for class use page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1011
        checkOutput("pkg1/class-use/RegClass.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1012
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1013
                "<meta name=\"date\"",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1014
                "<a name=\"navbar.top.firstrow\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1015
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1016
                + "</a>",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1017
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
33920
bd731341c405 8141492: Implement search feature in javadoc
bpatel
parents: 31297
diff changeset
  1018
                + "</div>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36270
diff changeset
  1019
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
  1020
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
  1021
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
  1022
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 43578
diff changeset
  1023
                + "</script>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1024
                + "<div class=\"header\">",
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
  1025
                "<div class=\"useSummary\">\n"
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
  1026
                + "<table summary=\"Use table, listing packages, and an explanation\">",
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1027
                "<li class=\"blockList\"><a name=\"pkg\">\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1028
                + "<!--   -->\n"
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1029
                + "</a>\n"
53879
e7cb0348fa1c 8215307: Pages do not have <h1>
jjg
parents: 53562
diff changeset
  1030
                + "<h2>Uses of <a href=\"../RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h2>\n"
52616
1a395165c09b 8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents: 51797
diff changeset
  1031
                + "<div class=\"useSummary\">\n<table summary=\"Use table, listing fields, and an explanation\">");
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1032
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1033
        // Negated test for main index page
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1034
        checkOutput("index.html", false,
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1035
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1036
                "<body>\n"
43578
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
  1037
                + "<script type=\"text/javascript\">\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
  1038
                + "if (targetPage == \"\" || targetPage == \"undefined\")\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
  1039
                + "     window.location.replace('overview-summary.html');\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
  1040
                + "</script>\n"
640eb9781ce5 8173707: Javadoc generated pages should default to no-frames view
bpatel
parents: 41453
diff changeset
  1041
                + "<noscript>JavaScript is disabled on your browser.</noscript>\n"
29957
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1042
                + "<div class=\"mainContainer\">\n");
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1043
    }
7740f9657f56 8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
diff changeset
  1044
}