langtools/test/jdk/javadoc/doclet/testModules/TestModules.java
author jjg
Wed, 10 Aug 2016 15:47:46 -0700
changeset 40308 274367a99f98
parent 40229 09f4478d07e5
child 40503 cb34fd6e8071
permissions -rw-r--r--
8136930: Simplify use of module-system options by custom launchers 8160489: Multiple -Xpatch lines ignored by javac 8156998: javac should support new option -XinheritRuntimeEnvironment Reviewed-by: jlahoda, ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     1
/*
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     2
 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     4
 *
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     8
 *
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    13
 * accompanied this code).
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    14
 *
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    18
 *
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    21
 * questions.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    22
 */
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    23
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    24
/*
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    25
 * @test
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
    26
 * @bug 8154119 8154262 8156077 8157987 8154261 8154817
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    27
 * @summary Test modules support in javadoc.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    28
 * @author bpatel
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    29
 * @library ../lib
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    30
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    31
 * @build JavadocTester
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    32
 * @run main TestModules
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    33
 */
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    34
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    35
public class TestModules extends JavadocTester {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    36
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    37
    public static void main(String... args) throws Exception {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    38
        TestModules tester = new TestModules();
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    39
        tester.runTests();
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    40
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    41
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    42
    @Test
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    43
    void test1() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    44
        javadoc("-d", "out", "-use",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    45
                "--module-source-path", testSrc,
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    46
                "--add-modules", "module1,module2",
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    47
                "testpkgmdl1", "testpkgmdl2");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    48
        checkExit(Exit.OK);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    49
        testDescription(true);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    50
        testNoDescription(false);
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
    51
        testOverviewSummaryModules();
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    52
        testModuleLink();
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
    53
        testModuleClickThroughLinks();
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
    54
        testModuleClickThrough(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    55
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    56
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    57
    @Test
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    58
    void test2() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    59
        javadoc("-d", "out-html5", "-html5", "-use",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    60
                "--module-source-path", testSrc,
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    61
                "--add-modules", "module1,module2",
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    62
                "testpkgmdl1", "testpkgmdl2");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    63
        checkExit(Exit.OK);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    64
        testHtml5Description(true);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    65
        testHtml5NoDescription(false);
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
    66
        testHtml5OverviewSummaryModules();
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    67
        testModuleLink();
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
    68
        testModuleClickThroughLinks();
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
    69
        testModuleClickThrough(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    70
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    71
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    72
    @Test
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    73
    void test3() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    74
        javadoc("-d", "out-nocomment", "-nocomment", "-use",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    75
                "--module-source-path", testSrc,
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    76
                "--add-modules", "module1,module2",
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    77
                "testpkgmdl1", "testpkgmdl2");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    78
        checkExit(Exit.OK);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    79
        testDescription(false);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    80
        testNoDescription(true);
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    81
        testModuleLink();
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    82
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    83
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    84
    @Test
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    85
    void test4() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    86
        javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    87
                "--module-source-path", testSrc,
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    88
                "--add-modules", "module1,module2",
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    89
                "testpkgmdl1", "testpkgmdl2");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    90
        checkExit(Exit.OK);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    91
        testHtml5Description(false);
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    92
        testHtml5NoDescription(true);
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    93
        testModuleLink();
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    94
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    95
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
    96
   @Test
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    97
    void test5() {
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    98
        javadoc("-d", "out-nomodule", "-use",
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    99
                "-sourcepath", testSrc,
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   100
                "testpkgnomodule", "testpkgnomodule1");
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   101
        checkExit(Exit.OK);
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   102
        testOverviewSummaryPackages();
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   103
        testModuleClickThrough(false);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   104
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   105
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   106
   @Test
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   107
    void test6() {
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   108
        javadoc("-d", "out-mdltags", "-author", "-version",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   109
                "-tag", "regular:a:Regular Tag:",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   110
                "-tag", "moduletag:s:Module Tag:",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   111
                "--module-source-path", testSrc,
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   112
                "--add-modules", "moduletags,module2",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   113
                "testpkgmdltags", "testpkgmdl2");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   114
        checkExit(Exit.OK);
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   115
        testModuleTags();
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   116
    }
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   117
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   118
    @Test
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   119
    void test7() {
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   120
        javadoc("-d", "out-moduleSummary", "-use",
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   121
                "-modulesourcepath", testSrc,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   122
                "-addmods", "module1,module2",
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   123
                "testpkgmdl1", "testpkgmdl2", "testpkg2mdl2");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   124
        checkExit(Exit.OK);
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   125
        testModuleSummary();
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   126
        testNegatedModuleSummary();
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   127
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   128
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   129
   @Test
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   130
    void test8() {
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   131
        javadoc("-d", "out-html5-nomodule", "-html5", "-use",
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   132
                "-sourcepath", testSrc,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   133
                "testpkgnomodule", "testpkgnomodule1");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   134
        checkExit(Exit.OK);
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   135
        testHtml5OverviewSummaryPackages();
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   136
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   137
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   138
    void testDescription(boolean found) {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   139
        checkOutput("module1-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   140
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   141
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   142
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   143
                + "</a>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   144
                + "<div class=\"block\">This is a test description for the module1 module.</div>");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   145
        checkOutput("module2-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   146
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   147
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   148
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   149
                + "</a>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   150
                + "<div class=\"block\">This is a test description for the module2 module.</div>");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   151
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   152
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   153
    void testNoDescription(boolean found) {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   154
        checkOutput("module1-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   155
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   156
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   157
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   158
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   159
                + "<li class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   160
                + "<!-- ============ MODULES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   161
        checkOutput("module2-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   162
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   163
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   164
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   165
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   166
                + "<li class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   167
                + "<!-- ============ MODULES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   168
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   169
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   170
    void testHtml5Description(boolean found) {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   171
        checkOutput("module1-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   172
                "<section role=\"region\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   173
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   174
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   175
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   176
                + "</a>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   177
                + "<div class=\"block\">This is a test description for the module1 module.</div>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   178
                + "</section>");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   179
        checkOutput("module2-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   180
                "<section role=\"region\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   181
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   182
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   183
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   184
                + "</a>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   185
                + "<div class=\"block\">This is a test description for the module2 module.</div>\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   186
                + "</section>");
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   187
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   188
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   189
    void testHtml5NoDescription(boolean found) {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   190
        checkOutput("module1-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   191
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   192
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   193
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   194
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   195
                + "<li class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   196
                + "<!-- ============ MODULES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   197
        checkOutput("module2-summary.html", found,
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   198
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   199
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   200
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   201
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   202
                + "<li class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   203
                + "<!-- ============ MODULES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   204
    }
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   205
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   206
    void testModuleLink() {
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   207
        checkOutput("overview-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   208
                "<li>Module</li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   209
        checkOutput("module1-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   210
                "<li class=\"navBarCell1Rev\">Module</li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   211
        checkOutput("module2-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   212
                "<li class=\"navBarCell1Rev\">Module</li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   213
        checkOutput("testpkgmdl1/package-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   214
                "<li><a href=\"../module1-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   215
        checkOutput("testpkgmdl1/TestClassInModule1.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   216
                "<li><a href=\"../module1-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   217
        checkOutput("testpkgmdl1/class-use/TestClassInModule1.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   218
                "<li><a href=\"../../module1-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   219
        checkOutput("testpkgmdl2/package-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   220
                "<li><a href=\"../module2-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   221
        checkOutput("testpkgmdl2/TestClassInModule2.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   222
                "<li><a href=\"../module2-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   223
        checkOutput("testpkgmdl2/class-use/TestClassInModule2.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   224
                "<li><a href=\"../../module2-summary.html\">Module</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   225
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   226
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   227
    void testNoModuleLink() {
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   228
        checkOutput("testpkgnomodule/package-summary.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   229
                "<ul class=\"navList\" title=\"Navigation\">\n"
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   230
                + "<li><a href=\"../testpkgnomodule/package-summary.html\">Package</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   231
        checkOutput("testpkgnomodule/TestClassNoModule.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   232
                "<ul class=\"navList\" title=\"Navigation\">\n"
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   233
                + "<li><a href=\"../testpkgnomodule/package-summary.html\">Package</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   234
        checkOutput("testpkgnomodule/class-use/TestClassNoModule.html", true,
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   235
                "<ul class=\"navList\" title=\"Navigation\">\n"
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   236
                + "<li><a href=\"../../testpkgnomodule/package-summary.html\">Package</a></li>");
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   237
    }
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   238
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   239
    void testModuleTags() {
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   240
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   241
                "Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in "
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   242
                + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   243
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   244
                "Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   245
                + "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   246
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   247
                "Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   248
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   249
                "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   250
                + "<dd>JDK 9</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   251
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   252
                "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   253
                + "<dd>\"Test see tag\", \n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   254
                + "<a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   255
                + "TestClassInModuleTags</code></a></dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   256
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   257
                "<dt><span class=\"simpleTagLabel\">Regular Tag:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   258
                + "<dd>Just a regular simple tag.</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   259
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   260
                "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   261
                + "<dd>Just a simple module tag.</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   262
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   263
                "<dt><span class=\"simpleTagLabel\">Version:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   264
                + "<dd>1.0</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   265
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   266
                "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   267
                + "<dd>Bhavesh Patel</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   268
        checkOutput("testpkgmdltags/TestClassInModuleTags.html", false,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   269
                "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   270
                + "<dd>Just a simple module tag.</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   271
    }
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   272
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   273
    void testOverviewSummaryModules() {
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   274
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   275
                "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   276
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   277
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   278
                + "<th class=\"colFirst\" scope=\"col\">Module</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   279
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   280
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   281
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   282
                "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   283
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   284
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   285
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   286
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   287
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   288
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   289
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   290
    void testOverviewSummaryPackages() {
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   291
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   292
                "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   293
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   294
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   295
                + "<th class=\"colFirst\" scope=\"col\">Module</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   296
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   297
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   298
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   299
                "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   300
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   301
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   302
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   303
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   304
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   305
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   306
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   307
    void testHtml5OverviewSummaryModules() {
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   308
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   309
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   310
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   311
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   312
                + "<th class=\"colFirst\" scope=\"col\">Module</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   313
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   314
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   315
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   316
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   317
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   318
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   319
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   320
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   321
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   322
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   323
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   324
    void testHtml5OverviewSummaryPackages() {
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   325
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   326
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   327
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   328
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   329
                + "<th class=\"colFirst\" scope=\"col\">Module</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   330
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   331
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   332
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   333
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   334
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   335
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   336
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   337
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   338
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   339
    }
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   340
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   341
    void testModuleSummary() {
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   342
        checkOutput("module1-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   343
                "<ul class=\"subNavList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   344
                + "<li>Module:&nbsp;</li>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   345
                + "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a "
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   346
                + "href=\"#modules.summary\">Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   347
                + "Packages</a>&nbsp;|&nbsp;Services</li>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   348
                + "</ul>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   349
        checkOutput("module1-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   350
                "<!-- ============ MODULES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   351
                + "<a name=\"modules.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   352
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   353
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   354
        checkOutput("module1-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   355
                "<tr class=\"altColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   356
                + "<td class=\"colFirst\"><a href=\"testpkgmdl1/package-summary.html\">testpkgmdl1</a></td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   357
                + "<td class=\"colSecond\">All Modules</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   358
                + "<td class=\"colLast\">&nbsp;</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   359
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   360
        checkOutput("module1-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   361
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   362
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   363
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   364
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   365
        checkOutput("module1-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   366
                "<tr class=\"rowColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   367
                + "<td class=\"colFirst\"><a href=\"module2-summary.html\">module2</a></td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   368
                + "<td class=\"colLast\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   369
                + "<div class=\"block\">This is a test description for the module2 module.</div>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   370
                + "</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   371
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   372
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   373
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a "
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   374
                + "href=\"#modules.summary\">Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   375
                + "Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   376
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   377
                "<!-- ============ MODULES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   378
                + "<a name=\"modules.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   379
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   380
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   381
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   382
                "<tr class=\"rowColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   383
                + "<td class=\"colFirst\">testpkg2mdl2</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   384
                + "<td class=\"colSecond\">module1</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   385
                + "<td class=\"colLast\">&nbsp;</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   386
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   387
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   388
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   389
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   390
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   391
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   392
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   393
                "<tr class=\"altColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   394
                + "<td class=\"colFirst\"><a href=\"java.base-summary.html\">java.base</a></td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   395
                + "<td class=\"colLast\">&nbsp;</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   396
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   397
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   398
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   399
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   400
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   401
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   402
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   403
                "<tr class=\"altColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   404
                + "<td class=\"colFirst\"><a href=\"testpkgmdl2/TestClassInModule2.html\" "
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   405
                + "title=\"class in testpkgmdl2\">TestClassInModule2</a></td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   406
                + "<td class=\"colLast\">&nbsp;</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   407
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   408
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   409
                "<tr class=\"altColor\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   410
                + "<td class=\"colFirst\">testpkg2mdl2.TestInterfaceInModule2<br>(<span "
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   411
                + "class=\"implementationLabel\">Implementation:</span>&nbsp;<a "
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   412
                + "href=\"testpkgmdl2/TestClassInModule2.html\" title=\"class in testpkgmdl2\">"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   413
                + "TestClassInModule2</a>)</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   414
                + "<td class=\"colLast\">&nbsp;</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   415
                + "</tr");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   416
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   417
                "<caption><span>Exported Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   418
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   419
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   420
                + "<th scope=\"col\">Module</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   421
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   422
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   423
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   424
                "<caption><span>Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   425
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   426
                + "<th class=\"colFirst\" scope=\"col\">Module</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   427
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   428
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   429
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   430
                "<caption><span>Uses</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   431
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   432
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   433
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   434
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   435
        checkOutput("module2-summary.html", true,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   436
                "<caption><span>Provides</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   437
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   438
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   439
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   440
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   441
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   442
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   443
    void testNegatedModuleSummary() {
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   444
        checkOutput("module1-summary.html", false,
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   445
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   446
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   447
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   448
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   449
    }
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   450
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   451
     void testModuleClickThroughLinks() {
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   452
        checkOutput("module-overview-frame.html", true,
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   453
                "<li><a href=\"module1-frame.html\" target=\"packageListFrame\" "
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   454
                + "onclick=\"updateModuleFrame('module1-type-frame.html','module1-summary.html');"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   455
                + "\">module1</a></li>");
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   456
        checkOutput("module-overview-frame.html", true,
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   457
                "<li><a href=\"module2-frame.html\" target=\"packageListFrame\" "
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   458
                + "onclick=\"updateModuleFrame('module2-type-frame.html','module2-summary.html');"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   459
                + "\">module2</a></li>");
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   460
        checkOutput("script.js", true,
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   461
                 "function updateModuleFrame(pFrame, cFrame)\n"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   462
                 + "{\n"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   463
                 + "    top.packageFrame.location = pFrame;\n"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   464
                 + "    top.classFrame.location = cFrame;\n"
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   465
                 + "}");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   466
}
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   467
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   468
     void testModuleClickThrough(boolean found) {
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   469
        checkFiles(found,
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   470
                "module1-type-frame.html",
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   471
                "module2-type-frame.html");
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   472
     }
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   473
}