test/langtools/jdk/javadoc/doclet/testNavigation/TestNavigation.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 43870 langtools/test/jdk/javadoc/doclet/testNavigation/TestNavigation.java@8805a0acaded
child 48654 36f58bd6269f
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
     2
 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 *
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2985
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2985
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2985
diff changeset
    21
 * questions.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
/*
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
 * @test
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    26
 * @bug      4131628 4664607 7025314 8023700 7198273 8025633 8026567 8081854 8150188 8151743
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
 * @summary  Make sure the Next/Prev Class links iterate through all types.
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
 *           Make sure the navagation is 2 columns, not 3.
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
 * @author   jamieh
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    30
 * @library  ../lib
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    31
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    32
 * @build    JavadocTester
19659
51324d86f628 8023701: Fix badly named test
jjg
parents: 9067
diff changeset
    33
 * @run main TestNavigation
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
19659
51324d86f628 8023701: Fix badly named test
jjg
parents: 9067
diff changeset
    36
public class TestNavigation extends JavadocTester {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    38
    public static void main(String... args) throws Exception {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    39
        TestNavigation tester = new TestNavigation();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    40
        tester.runTests();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    41
    }
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    42
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    43
    @Test
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    44
    void test() {
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    45
        javadoc("-d", "out", "-overview", testSrc("overview.html"),
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    46
                "-sourcepath", testSrc,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    47
                "pkg");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    48
        checkExit(Exit.OK);
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    49
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    50
        checkOutput("pkg/A.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    51
                "<li>Prev&nbsp;Class</li>",
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    52
                "<a href=\"../pkg/C.html\" title=\"class in pkg\"><span class=\"typeNameLink\">Next&nbsp;Class</span></a>",
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    53
                "<li><a href=\"../overview-summary.html\">Overview</a></li>");
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    55
        checkOutput("pkg/C.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    56
                "<a href=\"../pkg/A.html\" title=\"annotation in pkg\"><span class=\"typeNameLink\">Prev&nbsp;Class</span></a>",
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    57
                "<a href=\"../pkg/E.html\" title=\"enum in pkg\"><span class=\"typeNameLink\">Next&nbsp;Class</span></a>",
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    58
                "<li><a href=\"../overview-summary.html\">Overview</a></li>");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    59
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    60
        checkOutput("pkg/E.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    61
                "<a href=\"../pkg/C.html\" title=\"class in pkg\"><span class=\"typeNameLink\">Prev&nbsp;Class</span></a>",
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    62
                "<a href=\"../pkg/I.html\" title=\"interface in pkg\"><span class=\"typeNameLink\">Next&nbsp;Class</span></a>",
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    63
                "<li><a href=\"../overview-summary.html\">Overview</a></li>");
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    65
        checkOutput("pkg/I.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    66
                "<a href=\"../pkg/E.html\" title=\"enum in pkg\"><span class=\"typeNameLink\">Prev&nbsp;Class</span></a>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    67
                "<li>Next&nbsp;Class</li>",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    68
                // Test for 4664607
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    69
                "<div class=\"skipNav\"><a href=\"#skip.navbar.top\" title=\"Skip navigation links\">Skip navigation links</a></div>\n"
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
    70
                + "<a name=\"navbar.top.firstrow\">\n"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    71
                + "<!--   -->\n"
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    72
                + "</a>",
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    73
                "<li><a href=\"../overview-summary.html\">Overview</a></li>");
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    74
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    75
        // Remaining tests check for additional padding to offset the fixed navigation bar.
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    76
        checkOutput("pkg/A.html", true,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    77
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    78
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    79
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    80
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    81
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    82
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    83
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    84
                + "<!-- ======== START OF CLASS DATA ======== -->");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    85
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    86
        checkOutput("pkg/package-summary.html", true,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    87
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    88
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    89
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    90
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    91
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    92
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
    93
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    94
                + "<div class=\"header\">");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    95
    }
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    96
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    97
    // Test for checking additional padding to offset the fixed navigation bar in HTML5.
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    98
    @Test
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    99
    void test1() {
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   100
        javadoc("-d", "out-1", "-html5",
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   101
                "-sourcepath", testSrc,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   102
                "pkg");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   103
        checkExit(Exit.OK);
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   104
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   105
        checkOutput("pkg/A.html", true,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   106
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   107
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   108
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   109
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   110
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   111
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   112
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   113
                + "</nav>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   114
                + "</header>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   115
                + "<!-- ======== START OF CLASS DATA ======== -->");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   116
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   117
        checkOutput("pkg/package-summary.html", true,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   118
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   119
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   120
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   121
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   122
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   123
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   124
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   125
                + "</nav>");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   126
    }
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   127
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   128
    // Test to make sure that no extra padding for nav bar gets generated if -nonavbar is specified for HTML4.
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   129
    @Test
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   130
    void test2() {
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   131
        javadoc("-d", "out-2", "-nonavbar",
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   132
                "-sourcepath", testSrc,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   133
                "pkg");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   134
        checkExit(Exit.OK);
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   135
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   136
        checkOutput("pkg/A.html", false,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   137
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   138
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   139
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   140
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   141
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   142
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   143
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   144
                + "<!-- ======== START OF CLASS DATA ======== -->");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   145
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   146
        checkOutput("pkg/package-summary.html", false,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   147
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   148
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   149
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   150
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   151
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   152
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   153
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   154
                + "<div class=\"header\">");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   155
    }
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   156
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   157
    // Test to make sure that no extra padding for nav bar gets generated if -nonavbar is specified for HTML5.
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   158
    @Test
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   159
    void test3() {
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   160
        javadoc("-d", "out-3", "-html5", "-nonavbar",
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   161
                "-sourcepath", testSrc,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   162
                "pkg");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   163
        checkExit(Exit.OK);
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   164
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   165
        checkOutput("pkg/A.html", false,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   166
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   167
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   168
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   169
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   170
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   171
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   172
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   173
                + "</nav>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   174
                + "</header>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   175
                + "<!-- ======== START OF CLASS DATA ======== -->");
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   176
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   177
        checkOutput("pkg/package-summary.html", false,
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   178
                "<!-- ========= END OF TOP NAVBAR ========= -->\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   179
                + "</div>\n"
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   180
                + "<div class=\"navPadding\">&nbsp;</div>\n"
43870
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   181
                + "<script type=\"text/javascript\"><!--\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   182
                + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   183
                + "//-->\n"
8805a0acaded 8151743: Header can still disappear behind the navbar
bpatel
parents: 36709
diff changeset
   184
                + "</script>\n"
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
   185
                + "</nav>");
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   186
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   187
}