langtools/test/jdk/javadoc/doclet/testModules/TestModules.java
author bpatel
Sat, 15 Jul 2017 14:51:42 -0700
changeset 45913 90f6a96c1603
parent 45771 e447c20c3ff9
permissions -rw-r--r--
8181622: new {@index} tag generates multiple index entries Reviewed-by: jjg, 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
/*
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
     2
 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
37747
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
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
    26
 * @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363
44879
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
    27
 *      8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218 8175823 8166306
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
    28
 *      8178043 8181622
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    29
 * @summary Test modules support in javadoc.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    30
 * @author bpatel
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    31
 * @library ../lib
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    32
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    33
 * @build JavadocTester
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    34
 * @run main TestModules
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    35
 */
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    36
public class TestModules extends JavadocTester {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    37
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    38
    public static void main(String... args) throws Exception {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    39
        TestModules tester = new TestModules();
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    40
        tester.runTests();
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
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    43
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    44
     * Test generated module pages for HTML 4.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    45
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    46
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    47
    void testHtml4() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    48
        javadoc("-d", "out", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    49
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    50
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    51
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    52
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    53
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    54
        checkDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    55
        checkNoDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    56
        checkOverviewSummaryModules();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    57
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    58
        checkModuleClickThroughLinks();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    59
        checkModuleClickThrough(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    60
        checkModuleFilesAndLinks(true);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
    61
        checkModulesInSearch(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
    62
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    63
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    64
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    65
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    66
     * Test generated module pages for HTML 5.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    67
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    68
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    69
    void testHtml5() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    70
        javadoc("-d", "out-html5", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    71
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    72
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    73
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    74
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    75
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    76
        checkHtml5Description(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    77
        checkHtml5NoDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    78
        checkHtml5OverviewSummaryModules();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    79
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    80
        checkModuleClickThroughLinks();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    81
        checkModuleClickThrough(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    82
        checkModuleFilesAndLinks(true);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
    83
        checkModulesInSearch(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
    84
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    85
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    86
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    87
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    88
     * Test generated module pages for HTML 4 with -nocomment option.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    89
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    90
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    91
    void testHtml4NoComment() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    92
        javadoc("-d", "out-nocomment", "-nocomment", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    93
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    94
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    95
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    96
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    97
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    98
        checkDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    99
        checkNoDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   100
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   101
        checkModuleFilesAndLinks(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   102
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   103
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   104
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   105
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   106
     * Test generated module pages for HTML 5 with -nocomment option.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   107
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   108
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   109
    void testHtml5NoComment() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   110
        javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   111
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   112
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   113
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   114
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   115
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   116
        checkHtml5Description(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   117
        checkHtml5NoDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   118
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   119
        checkModuleFilesAndLinks(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   120
        checkOverviewFrame(true);
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   121
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   122
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   123
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   124
     * Test generated pages, in an unnamed module, for HTML 4.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   125
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   126
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   127
    void testHtml4UnnamedModule() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   128
        javadoc("-d", "out-nomodule", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   129
                "-overview", testSrc("overview.html"),
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   130
                "-sourcepath", testSrc,
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   131
                "testpkgnomodule", "testpkgnomodule1");
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   132
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   133
        checkOverviewSummaryPackages();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   134
        checkModuleClickThrough(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   135
        checkModuleFilesAndLinks(false);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   136
        checkModulesInSearch(false);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   137
        checkOverviewFrame(false);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   138
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   139
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   140
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   141
     * Test generated pages, in an unnamed module, for HTML 5.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   142
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   143
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   144
    void testHtml5UnnamedModule() {
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   145
        javadoc("-d", "out-html5-nomodule", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   146
                "-overview", testSrc("overview.html"),
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   147
                "-sourcepath", testSrc,
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   148
                "testpkgnomodule", "testpkgnomodule1");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   149
        checkExit(Exit.OK);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   150
        checkHtml5OverviewSummaryPackages();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   151
        checkModuleFilesAndLinks(false);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   152
        checkModulesInSearch(false);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   153
        checkOverviewFrame(false);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   154
    }
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   155
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   156
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   157
     * Test generated module pages with javadoc tags.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   158
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   159
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   160
    void testJDTagsInModules() {
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   161
        javadoc("-d", "out-mdltags", "-author", "-version",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   162
                "-tag", "regular:a:Regular Tag:",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   163
                "-tag", "moduletag:s:Module Tag:",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   164
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   165
                "--module", "moduletags,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   166
                "testpkgmdltags", "testpkgmdlB");
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   167
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   168
        checkModuleTags();
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   169
    }
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   170
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   171
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   172
     * Test generated module summary page.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   173
     */
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   174
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   175
    void testModuleSummary() {
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   176
        javadoc("-d", "out-moduleSummary", "-use",
40599
be40838eb215 8164887: update tests to remove use of old-style options
jjg
parents: 40511
diff changeset
   177
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   178
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   179
                "testpkgmdlA", "testpkgmdlB", "moduleB/testpkg2mdlB");
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   180
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   181
        checkModuleSummary();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   182
        checkNegatedModuleSummary();
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   183
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   184
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   185
    /**
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   186
     * Test generated module summary page of an aggregating module.
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   187
     */
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   188
    @Test
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   189
    void testAggregatorModuleSummary() {
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   190
        javadoc("-d", "out-aggregatorModuleSummary", "-use",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   191
                "--module-source-path", testSrc,
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   192
                "--expand-requires", "transitive",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   193
                "--module", "moduleT");
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   194
        checkExit(Exit.OK);
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   195
        checkAggregatorModuleSummary();
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   196
    }
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   197
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   198
    /**
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   199
     * Test generated module pages and pages with link to modules.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   200
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   201
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   202
    void testModuleFilesAndLinks() {
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   203
        javadoc("-d", "out-modulelinks",
40599
be40838eb215 8164887: update tests to remove use of old-style options
jjg
parents: 40511
diff changeset
   204
                "--module-source-path", testSrc,
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   205
                "--module", "moduleA,moduleB",
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   206
                "testpkgmdlA", "testpkgmdlB");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   207
        checkExit(Exit.OK);
40508
74ef30d16fb9 8159305: Enhance the javadoc tool to support module related options
ksrini
parents: 40503
diff changeset
   208
        checkModuleFilesAndLinks(true);
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   209
        checkOverviewFrame(true);
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   210
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   211
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   212
    /**
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   213
     * Test generated module pages for a deprecated module.
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   214
     */
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   215
    @Test
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   216
    void testModuleDeprecation() {
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   217
        javadoc("-d", "out-moduledepr",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   218
                "-tag", "regular:a:Regular Tag:",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   219
                "-tag", "moduletag:s:Module Tag:",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   220
                "--module-source-path", testSrc,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   221
                "--module", "moduleA,moduleB,moduletags",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   222
                "testpkgmdlA", "testpkgmdlB", "testpkgmdltags");
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   223
        checkExit(Exit.OK);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   224
        checkModuleDeprecation(true);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   225
    }
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   226
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   227
    /**
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   228
     * Test annotations on modules.
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   229
     */
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   230
    @Test
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   231
    void testModuleAnnotation() {
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   232
        javadoc("-d", "out-moduleanno",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   233
                "--module-source-path", testSrc,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   234
                "--module", "moduleA,moduleB",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   235
                "testpkgmdlA", "testpkgmdlB");
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   236
        checkExit(Exit.OK);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   237
        checkModuleAnnotation();
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   238
    }
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   239
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   240
    /**
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   241
     * Test module summary pages in "api" mode.
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   242
     */
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   243
    @Test
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   244
    void testApiMode() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   245
        javadoc("-d", "out-api", "-use", "--show-module-contents=api", "-author", "-version",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   246
                "-tag", "regular:a:Regular Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   247
                "-tag", "moduletag:s:Module Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   248
                "--module-source-path", testSrc,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   249
                "--module", "moduleA,moduleB,moduleC,moduletags",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   250
                "testpkgmdlA", "moduleA/concealedpkgmdlA", "testpkgmdlB", "testpkg2mdlB", "testpkgmdlC", "testpkgmdltags");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   251
        checkExit(Exit.OK);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   252
        checkModuleModeCommon();
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   253
        checkModuleModeApi(true);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   254
        checkModuleModeAll(false);
44879
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   255
        checkModuleFrameFiles(true);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   256
        checkAllModulesLink(true);
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   257
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   258
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   259
    /**
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   260
     * Test module summary pages in "all" mode.
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   261
     */
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   262
    @Test
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   263
    void testAllMode() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   264
        javadoc("-d", "out-all", "-use", "--show-module-contents=all", "-author", "-version",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   265
                "-tag", "regular:a:Regular Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   266
                "-tag", "moduletag:s:Module Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   267
                "--module-source-path", testSrc,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   268
                "--module", "moduleA,moduleB,moduleC,moduletags",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   269
                "testpkgmdlA", "moduleA/concealedpkgmdlA", "testpkgmdlB", "testpkg2mdlB", "testpkgmdlC", "testpkgmdltags");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   270
        checkExit(Exit.OK);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   271
        checkModuleModeCommon();
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   272
        checkModuleModeApi(false);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   273
        checkModuleModeAll(true);
44879
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   274
        checkModuleFrameFiles(true);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   275
        checkAllModulesLink(true);
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   276
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   277
44689
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   278
    /**
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   279
     * Test generated module summary page of a module with no exported package.
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   280
     */
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   281
    @Test
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   282
    void testModuleSummaryNoExportedPkgAll() {
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   283
        javadoc("-d", "out-ModuleSummaryNoExportedPkgAll", "-use", "--show-module-contents=all",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   284
                "-sourcepath", testSrc + "/moduleNoExport",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   285
                "--module", "moduleNoExport",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   286
                "testpkgmdlNoExport");
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   287
        checkExit(Exit.OK);
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   288
        checkModuleSummaryNoExported(true);
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   289
    }
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   290
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   291
    /**
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   292
     * Test generated module summary page of a module with no exported package.
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   293
     */
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   294
    @Test
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   295
    void testModuleSummaryNoExportedPkgApi() {
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   296
        javadoc("-d", "out-ModuleSummaryNoExportedPkgApi", "-use",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   297
                "-sourcepath", testSrc + "/moduleNoExport",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   298
                "--module", "moduleNoExport",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   299
                "testpkgmdlNoExport");
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   300
        checkExit(Exit.OK);
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   301
        checkModuleSummaryNoExported(false);
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   302
    }
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
   303
44879
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   304
    /**
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   305
     * Test generated module pages for javadoc run for a single module having a single package.
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   306
     */
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   307
    @Test
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   308
    void testSingleModuleSinglePkg() {
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   309
        javadoc("-d", "out-singlemod",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   310
                "--module-source-path", testSrc,
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   311
                "--module", "moduleC",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   312
                "testpkgmdlC");
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   313
        checkExit(Exit.OK);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   314
        checkModuleFrameFiles(false);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   315
    }
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   316
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   317
    /**
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   318
     * Test generated module pages for javadoc run for a single module having multiple packages.
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   319
     */
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   320
    @Test
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   321
    void testSingleModuleMultiplePkg() {
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   322
        javadoc("-d", "out-singlemodmultiplepkg", "--show-module-contents=all",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   323
                "--module-source-path", testSrc,
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   324
                "--module", "moduleB",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   325
                "testpkg2mdlB", "testpkgmdlB");
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   326
        checkExit(Exit.OK);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   327
        checkAllModulesLink(false);
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   328
    }
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   329
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   330
    /**
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   331
     * Test -group option for modules. The overview-summary.html page should group the modules accordingly.
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   332
     */
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   333
    @Test
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   334
    void testGroupOption() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   335
        javadoc("-d", "out-group", "--show-module-contents=all",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   336
                "-tag", "regular:a:Regular Tag:",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   337
                "-tag", "moduletag:s:Module Tag:",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   338
                "--module-source-path", testSrc,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   339
                "-group", "Module Group A", "moduleA*",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   340
                "-group", "Module Group B & C", "moduleB*:moduleC*",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   341
                "-group", "Java SE Modules", "java*",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   342
                "--module", "moduleA,moduleB,moduleC,moduletags",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   343
                "moduleA/concealedpkgmdlA", "testpkgmdlA", "testpkg2mdlB", "testpkgmdlB", "testpkgmdlC",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   344
                "testpkgmdltags");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   345
        checkExit(Exit.OK);
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   346
        checkGroupOption();
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   347
    }
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   348
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   349
    /**
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   350
     * Test -group option for unnamed modules. The overview-summary.html page should group the packages accordingly.
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   351
     */
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   352
    @Test
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   353
    void testUnnamedModuleGroupOption() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   354
        javadoc("-d", "out-groupnomodule", "-use",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   355
                "-overview", testSrc("overview.html"),
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   356
                "-sourcepath", testSrc,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   357
                "-group", "Package Group 0", "testpkgnomodule",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   358
                "-group", "Package Group 1", "testpkgnomodule1",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   359
                "testpkgnomodule", "testpkgnomodule1");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   360
        checkExit(Exit.OK);
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   361
        checkUnnamedModuleGroupOption();
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   362
    }
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   363
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   364
    /**
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   365
     * Test -group option for a single module.
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   366
     */
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   367
    @Test
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   368
    void testGroupOptionSingleModule() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   369
        javadoc("-d", "out-groupsinglemodule", "-use",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   370
                "--module-source-path", testSrc,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   371
                "-group", "Module Group B", "moduleB*",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   372
                "--module", "moduleB",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   373
                "testpkg2mdlB", "testpkgmdlB");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   374
        checkExit(Exit.OK);
45771
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   375
        checkGroupOptionSingleModule();
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   376
    }
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   377
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   378
    /**
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   379
     * Test -group option for a single module.
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   380
     */
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   381
    @Test
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   382
    void testModuleName() {
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   383
        javadoc("-d", "out-modulename", "-use",
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   384
                "--module-source-path", testSrc,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   385
                "--module", "moduleB,test.moduleFullName",
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   386
                "testpkg2mdlB", "testpkgmdlB", "testpkgmdlfullname");
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   387
        checkExit(Exit.OK);
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
   388
        checkModuleName(true);
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   389
    }
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   390
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   391
    void checkDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   392
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   393
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   394
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   395
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   396
                + "</a>\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   397
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   398
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   399
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   400
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   401
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   402
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   403
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   404
                + "<div class=\"block\">This is a test description for the moduleB module. Search "
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   405
                + "word <a id=\"search_word\" class=\"searchTagResult\">search_word</a> with no description.</div>");
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   406
        checkOutput("overview-summary.html", found,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   407
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   408
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   409
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   410
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   411
                + "<div class=\"contentContainer\"><a name=\"Modules\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   412
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   413
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   414
                + "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   415
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   416
        checkOutput("overview-summary.html", false,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   417
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   418
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   419
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   420
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   421
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   422
                + "<div class=\"contentContainer\"><a name=\"Modules\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   423
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   424
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   425
                + "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   426
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   427
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   428
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   429
    void checkNoDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   430
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   431
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   432
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   433
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   434
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   435
                + "<li class=\"blockList\">\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   436
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   437
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   438
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   439
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   440
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   441
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   442
                + "<li class=\"blockList\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   443
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   444
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   445
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   446
    void checkHtml5Description(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   447
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   448
                "<section role=\"region\">\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   449
                + "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   450
                + " This API element is subject to removal in a future version.</span>\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   451
                + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   452
                + "</div>\n"
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   453
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   454
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   455
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   456
                + "</a>\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   457
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   458
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   459
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   460
                "<section role=\"region\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   461
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   462
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   463
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   464
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   465
                + "<div class=\"block\">This is a test description for the moduleB module. Search "
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   466
                + "word <a id=\"search_word\" class=\"searchTagResult\">search_word</a> with no description.</div>");
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   467
        checkOutput("overview-summary.html", found,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   468
                "</nav>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   469
                + "</header>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   470
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   471
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   472
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   473
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   474
                + "<div class=\"contentContainer\"><a id=\"Modules\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   475
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   476
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   477
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   478
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   479
        checkOutput("overview-summary.html", false,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   480
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   481
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   482
                + "</main>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   483
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   484
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   485
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   486
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   487
                + "<div class=\"contentContainer\"><a id=\"Modules\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   488
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   489
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   490
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   491
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   492
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   493
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   494
    void checkHtml5NoDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   495
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   496
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   497
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   498
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   499
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   500
                + "<li class=\"blockList\">\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   501
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   502
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   503
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   504
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   505
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   506
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   507
                + "<li class=\"blockList\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   508
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   509
    }
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   510
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   511
    void checkModuleLink() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   512
        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
   513
                "<li>Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   514
        checkOutput("moduleA-summary.html", true,
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   515
                "<li class=\"navBarCell1Rev\">Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   516
        checkOutput("moduleB-summary.html", true,
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   517
                "<li class=\"navBarCell1Rev\">Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   518
        checkOutput("testpkgmdlA/class-use/TestClassInModuleA.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   519
                "<li><a href=\"../../moduleA-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   520
        checkOutput("testpkgmdlB/package-summary.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   521
                "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   522
        checkOutput("testpkgmdlB/TestClassInModuleB.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   523
                "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   524
        checkOutput("testpkgmdlB/class-use/TestClassInModuleB.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   525
                "<li><a href=\"../../moduleB-summary.html\">Module</a></li>");
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   526
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   527
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   528
    void checkNoModuleLink() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   529
        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
   530
                "<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
   531
                + "<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
   532
        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
   533
                "<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
   534
                + "<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
   535
        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
   536
                "<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
   537
                + "<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
   538
    }
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   539
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   540
    void checkModuleTags() {
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   541
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   542
                "Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in "
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   543
                + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   544
                "Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   545
                + "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   546
                "Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   547
                "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   548
                + "<dd>JDK 9</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   549
                "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   550
                + "<dd>\"Test see tag\", \n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   551
                + "<a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   552
                + "TestClassInModuleTags</code></a></dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   553
                "<dt><span class=\"simpleTagLabel\">Regular Tag:</span></dt>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   554
                + "<dd>Just a regular simple tag.</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   555
                "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   556
                + "<dd>Just a simple module tag.</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   557
                "<dt><span class=\"simpleTagLabel\">Version:</span></dt>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   558
                + "<dd>1.0</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   559
                "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   560
                + "<dd>Bhavesh Patel</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   561
        checkOutput("testpkgmdltags/TestClassInModuleTags.html", false,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   562
                "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   563
                + "<dd>Just a simple module tag.</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   564
    }
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   565
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   566
    void checkOverviewSummaryModules() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   567
        checkOutput("overview-summary.html", true,
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   568
                "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   569
                + "<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
   570
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   571
                + "<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
   572
                + "<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
   573
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   574
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   575
                "<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
   576
                + "<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
   577
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   578
                + "<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
   579
                + "<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
   580
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   581
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   582
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   583
    void checkOverviewSummaryPackages() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   584
        checkOutput("overview-summary.html", false,
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   585
                "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   586
                + "<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
   587
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   588
                + "<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
   589
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   590
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   591
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   592
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   593
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   594
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   595
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   596
                + "<div class=\"contentContainer\"><a name=\"Packages\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   597
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   598
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   599
                + "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   600
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   601
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   602
                "<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
   603
                + "<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
   604
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   605
                + "<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
   606
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   607
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   608
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   609
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   610
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   611
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   612
                + "<div class=\"contentContainer\"><a name=\"Packages\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   613
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   614
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   615
                + "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   616
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   617
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   618
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   619
    void checkHtml5OverviewSummaryModules() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   620
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   621
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   622
                + "<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
   623
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   624
                + "<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
   625
                + "<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
   626
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   627
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   628
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   629
                + "<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
   630
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   631
                + "<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
   632
                + "<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
   633
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   634
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   635
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   636
    void checkHtml5OverviewSummaryPackages() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   637
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   638
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   639
                + "<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
   640
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   641
                + "<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
   642
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   643
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   644
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   645
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   646
                + "</main>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   647
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   648
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   649
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   650
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   651
                + "<div class=\"contentContainer\"><a id=\"Packages\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   652
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   653
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   654
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   655
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   656
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   657
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   658
                + "<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
   659
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   660
                + "<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
   661
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   662
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   663
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   664
                + "</nav>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   665
                + "</header>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   666
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   667
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   668
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   669
                + "</div>\n"
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   670
                + "<div class=\"contentContainer\"><a id=\"Packages\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   671
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
   672
                + "</a>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   673
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   674
                + "<caption><span>Packages</span><span class=\"tabEnd\">&nbsp;</span></caption>");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   675
    }
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   676
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   677
    void checkModuleSummary() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   678
        checkOutput("moduleA-summary.html", true,
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   679
                "<ul class=\"subNavList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   680
                + "<li>Module:&nbsp;</li>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   681
                + "<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
   682
                + "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
   683
                + "Packages</a>&nbsp;|&nbsp;Services</li>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   684
                + "</ul>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   685
                "<!-- ============ MODULES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   686
                + "<a name=\"modules.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   687
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   688
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   689
                "<tr class=\"altColor\" id=\"i0\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   690
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   691
                + "<td class=\"colLast\">&nbsp;</td>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   692
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   693
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   694
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   695
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   696
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   697
                "<tr class=\"altColor\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   698
                + "<td class=\"colFirst\">transitive</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   699
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   700
                + "<td class=\"colLast\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   701
                + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   702
                + "</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   703
                + "</tr>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   704
        checkOutput("moduleB-summary.html", true,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   705
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   706
                + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   707
                + "Services</a></li>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   708
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   709
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   710
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   711
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   712
                "<tr class=\"altColor\" id=\"i0\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   713
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   714
                + "<td class=\"colLast\">&nbsp;</td>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   715
                + "</tr>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   716
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   717
                + "<a name=\"packages.summary\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   718
                + "<!--   -->\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   719
                + "</a>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   720
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   721
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   722
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   723
                + "</a>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   724
                "<tr class=\"altColor\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   725
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   726
                + "<td class=\"colLast\">With a test description for uses.&nbsp;</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   727
                + "</tr>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   728
                "<caption><span>Opens</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   729
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   730
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   731
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   732
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   733
                "<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
   734
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   735
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   736
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   737
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   738
                "<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
   739
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   740
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   741
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   742
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   743
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   744
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   745
    void checkAggregatorModuleSummary() {
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   746
        checkOutput("moduleT-summary.html", true,
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   747
                "<div class=\"header\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   748
                + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleT</h1>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   749
                + "</div>",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   750
                "<div class=\"block\">This is a test description for the moduleT module. "
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
   751
                + "Search phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>. "
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   752
                + "Make sure there are no exported packages.</div>",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   753
                "<tbody>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   754
                + "<tr class=\"altColor\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   755
                + "<td class=\"colFirst\">transitive</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   756
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   757
                + "<td class=\"colLast\">\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   758
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   759
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   760
                + "</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   761
                + "</tr>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   762
                + "<tr class=\"rowColor\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   763
                + "<td class=\"colFirst\">transitive</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   764
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   765
                + "<td class=\"colLast\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   766
                + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   767
                + "</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   768
                + "</tr>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   769
                + "</tbody>");
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   770
    }
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   771
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   772
    void checkNegatedModuleSummary() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   773
        checkOutput("moduleA-summary.html", false,
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   774
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   775
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   776
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   777
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   778
    }
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   779
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   780
    void checkModuleClickThroughLinks() {
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   781
        checkOutput("module-overview-frame.html", true,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   782
                "<li><a href=\"moduleA-frame.html\" target=\"packageListFrame\" "
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   783
                + "onclick=\"updateModuleFrame('moduleA-type-frame.html','moduleA-summary.html');"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   784
                + "\">moduleA</a></li>",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   785
                "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" "
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   786
                + "onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   787
                + "\">moduleB</a></li>");
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   788
        checkOutput("script.js", true,
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   789
                "function updateModuleFrame(pFrame, cFrame)\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   790
                + "{\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   791
                + "    top.packageFrame.location = pFrame;\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   792
                + "    top.classFrame.location = cFrame;\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   793
                + "}");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   794
    }
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   795
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   796
    void checkModuleClickThrough(boolean found) {
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   797
        checkFiles(found,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   798
                "moduleA-type-frame.html",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   799
                "moduleB-type-frame.html");
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   800
    }
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   801
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   802
    void checkModuleFilesAndLinks(boolean found) {
42842
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   803
        checkFileAndOutput("testpkgmdlA/package-summary.html", found,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   804
                "<li><a href=\"../moduleA-summary.html\">Module</a></li>",
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   805
                "<div class=\"subTitle\"><span class=\"moduleLabelInPackage\">Module</span>&nbsp;"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   806
                + "<a href=\"../moduleA-summary.html\">moduleA</a></div>");
42842
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   807
        checkFileAndOutput("testpkgmdlA/TestClassInModuleA.html", found,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   808
                "<li><a href=\"../moduleA-summary.html\">Module</a></li>",
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   809
                "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   810
                + "<a href=\"../moduleA-summary.html\">moduleA</a></div>");
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   811
        checkFileAndOutput("testpkgmdlB/AnnotationType.html", found,
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   812
                "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   813
                + "<a href=\"../moduleB-summary.html\">moduleB</a></div>",
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   814
                "<div class=\"subTitle\"><span class=\"packageLabelInType\">"
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   815
                + "Package</span>&nbsp;<a href=\"../testpkgmdlB/package-summary.html\">testpkgmdlB</a></div>");
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   816
        checkFiles(found,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   817
                "moduleA-frame.html",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   818
                "moduleA-summary.html",
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   819
                "module-overview-frame.html");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   820
    }
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   821
44879
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   822
    void checkModuleFrameFiles(boolean found) {
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   823
        checkFiles(found,
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   824
                "moduleC-frame.html",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   825
                "moduleC-type-frame.html",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   826
                "module-overview-frame.html");
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   827
        checkFiles(true,
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   828
                "moduleC-summary.html",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   829
                "allclasses-frame.html",
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   830
                "allclasses-noframe.html");
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   831
    }
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   832
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   833
    void checkAllModulesLink(boolean found) {
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   834
        checkOutput("overview-frame.html", found,
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   835
                "<li><a href=\"module-overview-frame.html\" target=\"packageListFrame\">All&nbsp;Modules</a></li>");
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   836
    }
49beafe2faf3 8166306: Broken link for All Packages in java.jnlp module
bpatel
parents: 44807
diff changeset
   837
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   838
    void checkModulesInSearch(boolean found) {
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   839
        checkOutput("index-all.html", found,
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   840
                "<dl>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   841
                + "<dt><a href=\"moduleA-summary.html\">moduleA</a> - module moduleA</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   842
                + "<dd>\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   843
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   844
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   845
                + "</dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   846
                + "<dt><a href=\"moduleB-summary.html\">moduleB</a> - module moduleB</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   847
                + "<dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   848
                + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   849
                + "</dd>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   850
                + "</dl>",
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   851
                "<dl>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   852
                + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   853
                + "search phrase</a></span> - Search tag in moduleA</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   854
                + "<dd>with description</dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   855
                + "<dt><span class=\"searchTagLink\"><a href=\"moduleB-summary.html#search_word\">"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   856
                + "search_word</a></span> - Search tag in moduleB</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   857
                + "<dd>&nbsp;</dd>\n"
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   858
                + "</dl>");
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   859
        checkOutput("index-all.html", false,
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   860
                "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   861
                + "search phrase</a></span> - Search tag in moduleA</dt>\n"
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   862
                + "<dd>with description</dd>\n"
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   863
                + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   864
                + "search phrase</a></span> - Search tag in moduleA</dt>\n"
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   865
                + "<dd>with description</dd>");
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   866
    }
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   867
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   868
    void checkModuleModeCommon() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   869
        checkOutput("overview-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   870
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   871
                + "<td class=\"colLast\">\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   872
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   873
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   874
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   875
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   876
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   877
                + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   878
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   879
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags-summary.html\">moduletags</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   880
                + "<td class=\"colLast\">\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   881
                + "<div class=\"block\">This is a test description for the moduletags module.<br>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   882
                + " Type Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   883
                + " Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.<br>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   884
                + " Package Link: <a href=\"testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   885
                + "</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   886
        checkOutput("moduleA-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   887
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   888
                + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
42842
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   889
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   890
                + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   891
        checkOutput("moduleB-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   892
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   893
                + "<td class=\"colLast\">With a test description for uses.&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   894
        checkOutput("moduletags-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   895
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">Modules"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   896
                + "</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;Services</li>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   897
                "<table class=\"requiresSummary\" summary=\"Indirect Requires table, listing modules, and an explanation\">\n"
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   898
                + "<caption><span>Indirect Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>",
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   899
                "<td class=\"colFirst\">transitive</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   900
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   901
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   902
                + "<div class=\"block\">This is a test description for the moduleB module.</div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   903
                + "</td>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   904
                "<table class=\"packagesSummary\" summary=\"Indirect Exports table, listing modules, and packages\">\n"
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   905
                + "<caption><span>Indirect Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>",
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   906
                "<td class=\"colFirst\">transitive static</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   907
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   908
                + "<td class=\"colLast\">\n"
45913
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   909
                + "<div class=\"block\">This is a test description for the moduleA module with a Search "
90f6a96c1603 8181622: new {@index} tag generates multiple index entries
bpatel
parents: 45771
diff changeset
   910
                + "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   911
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   912
                "<table class=\"requiresSummary\" summary=\"Requires table, listing modules, and an explanation\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   913
                + "<caption><span>Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   914
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   915
                + "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   916
                + "<th class=\"colSecond\" scope=\"col\">Module</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   917
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   918
                "<table class=\"requiresSummary\" summary=\"Indirect Requires table, listing modules, and an explanation\">\n"
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   919
                + "<caption><span>Indirect Requires</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   920
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   921
                + "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   922
                + "<th class=\"colSecond\" scope=\"col\">Module</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   923
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   924
                "<table class=\"packagesSummary\" summary=\"Indirect Opens table, listing modules, and packages\">\n"
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   925
                + "<caption><span>Indirect Opens</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   926
                + "<tr>\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   927
                + "<th class=\"colFirst\" scope=\"col\">From</th>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   928
                + "<th class=\"colLast\" scope=\"col\">Packages</th>\n"
42842
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   929
                + "</tr>\n",
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   930
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB-summary.html\">moduleB</a></th>\n"
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   931
                + "<td class=\"colLast\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n");
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   932
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   933
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   934
    void checkModuleModeApi(boolean found) {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   935
        checkOutput("moduleA-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   936
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   937
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   938
        checkOutput("moduleB-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   939
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;Modules&nbsp;|&nbsp;"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   940
                + "<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   941
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   942
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   943
                "<table class=\"packagesSummary\" summary=\"Packages table, listing packages, and an explanation\">\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   944
                + "<caption><span>Opens</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   945
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   946
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   947
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   948
                + "</tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   949
                + "<tbody>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   950
                + "<tr class=\"altColor\" id=\"i0\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   951
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   952
                + "<td class=\"colLast\">&nbsp;</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   953
                + "</tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   954
                + "</tbody>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   955
                + "</table>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   956
        checkOutput("moduletags-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   957
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   958
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   959
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   960
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   961
    void checkModuleModeAll(boolean found) {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   962
        checkOutput("moduleA-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   963
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   964
                + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   965
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   966
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   967
                + "<th class=\"colSecond\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   968
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   969
                + "<div class=\"block\">This is a test description for the moduleC module.</div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   970
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   971
                "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleC-summary.html\">moduleC</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   972
                + "<td class=\"colLast\"><a href=\"testpkgmdlC/package-summary.html\">testpkgmdlC</a></td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   973
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlA/package-summary.html\">testpkgmdlA</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   974
                + "<td class=\"colSecond\">All Modules</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   975
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   976
                "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span>"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   977
                + "<span id=\"t1\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(1);\">Exports</a></span>"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   978
                + "<span class=\"tabEnd\">&nbsp;</span></span><span id=\"t3\" class=\"tableTab\"><span><a href=\"javascript:showPkgs(4);\">"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   979
                + "Concealed</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>",
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   980
                "<th class=\"colFirst\" scope=\"row\"><a href=\"concealedpkgmdlA/package-summary.html\">concealedpkgmdlA</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   981
                + "<td class=\"colSecond\">None</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   982
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   983
        checkOutput("moduleB-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   984
                "<li><a href=\"#module.description\">Description</a>&nbsp;|&nbsp;<a href=\"#modules.summary\">"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   985
                + "Modules</a>&nbsp;|&nbsp;<a href=\"#packages.summary\">Packages</a>&nbsp;|&nbsp;<a href=\"#services.summary\">Services</a></li>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   986
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   987
                + "<td class=\"colSecond\">All Modules</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   988
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   989
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   990
                + "<th class=\"colSecond\" scope=\"row\">java.base</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   991
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   992
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClass2InModuleB.html\" title=\"class in testpkgmdlB\">TestClass2InModuleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   993
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   994
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterface2InModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterface2InModuleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   995
                + "<td class=\"colLast\">&nbsp;<br>(<span class=\"implementationLabel\">Implementation(s):</span>&nbsp;<a href=\"testpkgmdlB/TestClass2InModuleB.html\" "
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   996
                + "title=\"class in testpkgmdlB\">TestClass2InModuleB</a>)</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   997
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterfaceInModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterfaceInModuleB</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   998
                + "<td class=\"colLast\">&nbsp;<br>(<span class=\"implementationLabel\">Implementation(s):</span>&nbsp;<a href=\"testpkgmdlB/TestClassInModuleB.html\" "
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   999
                + "title=\"class in testpkgmdlB\">TestClassInModuleB</a>)</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1000
                "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Packages</span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t1\" class=\"tableTab\"><span>"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
  1001
                + "<a href=\"javascript:showPkgs(1);\">Exports</a></span><span class=\"tabEnd\">&nbsp;</span></span><span id=\"t2\" class=\"tableTab\"><span>"
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
  1002
                + "<a href=\"javascript:showPkgs(2);\">Opens</a></span><span class=\"tabEnd\">&nbsp;</span></span></caption>");
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1003
        checkOutput("moduleC-summary.html", found,
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
  1004
                "<caption><span>Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1005
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1006
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1007
                + "<th class=\"colSecond\" scope=\"col\">Module</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1008
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1009
                + "</tr>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1010
        checkOutput("moduletags-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1011
                "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdltags/package-summary.html\">testpkgmdltags</a></th>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1012
                + "<td class=\"colSecond\">All Modules</td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1013
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1014
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
  1015
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1016
    void checkModuleDeprecation(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1017
        checkOutput("moduleA-summary.html", found,
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
  1018
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
44567
126285be00b9 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents: 44564
diff changeset
  1019
                + " This API element is subject to removal in a future version.</span>\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1020
                + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1021
                + "</div>");
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1022
        checkOutput("deprecated-list.html", found,
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1023
                "<ul>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
  1024
                + "<li><a href=\"#forRemoval\">Deprecated For Removal</a></li>\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1025
                + "<li><a href=\"#module\">Deprecated Modules</a></li>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1026
                + "</ul>",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1027
                "<tr class=\"altColor\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1028
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA-summary.html\">moduleA</a></th>\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1029
                + "<td class=\"colLast\">\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1030
                + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated.</span></div>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1031
                + "</td>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1032
                + "</tr>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1033
        checkOutput("moduleB-summary.html", !found,
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1034
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1035
                + "<div class=\"block\"><span class=\"deprecationComment\">This module is deprecated using just the javadoc tag.</span></div>");
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1036
        checkOutput("moduletags-summary.html", found,
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1037
                "<p>@Deprecated\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1038
                + "</p>",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1039
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span></div>");
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1040
    }
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1041
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1042
    void checkModuleAnnotation() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1043
        checkOutput("moduleB-summary.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1044
                "<p><a href=\"testpkgmdlB/AnnotationType.html\" title=\"annotation in testpkgmdlB\">@AnnotationType</a>(<a href=\"testpkgmdlB/AnnotationType.html#optional--\">optional</a>=\"Module Annotation\",\n"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1045
                + "                <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1046
                + "</p>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
  1047
        checkOutput("moduleB-summary.html", false,
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
  1048
                "@AnnotationTypeUndocumented");
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
  1049
    }
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1050
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1051
    void checkOverviewFrame(boolean found) {
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1052
        checkOutput("index.html", !found,
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1053
                "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>");
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1054
        checkOutput("index.html", found,
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1055
                "<iframe src=\"module-overview-frame.html\" name=\"packageListFrame\" title=\"All Modules\"></iframe>");
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1056
    }
44689
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1057
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1058
    void checkModuleSummaryNoExported(boolean found) {
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1059
        checkOutput("moduleNoExport-summary.html", found,
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1060
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1061
                + "<a name=\"packages.summary\">\n"
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1062
                + "<!--   -->\n"
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1063
                + "</a>",
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1064
                "<caption><span>Concealed</span><span class=\"tabEnd\">&nbsp;</span></caption>");
53c703004306 8175823: doclet crashes when documenting a single class in a module.
bpatel
parents: 44684
diff changeset
  1065
    }
45157
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1066
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1067
    void checkGroupOption() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1068
        checkOutput("overview-summary.html", true,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1069
                "<div class=\"contentContainer\"><a name=\"ModuleGroupA\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1070
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1071
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1072
                + "<table class=\"overviewSummary\" summary=\"Module Group A table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1073
                + "<caption><span>Module Group A</span><span class=\"tabEnd\">&nbsp;</span></caption>",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1074
                "<div class=\"contentContainer\"><a name=\"ModuleGroupB&amp;C\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1075
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1076
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1077
                + "<table class=\"overviewSummary\" summary=\"Module Group B &amp; C table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1078
                + "<caption><span>Module Group B & C</span><span class=\"tabEnd\">&nbsp;</span></caption>",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1079
                "<div class=\"contentContainer\"><a name=\"OtherModules\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1080
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1081
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1082
                + "<table class=\"overviewSummary\" summary=\"Other Modules table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1083
                + "<caption><span>Other Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1084
        checkOutput("overview-summary.html", false,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1085
                "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1086
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1087
                "Java SE Modules");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1088
    }
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1089
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1090
    void checkUnnamedModuleGroupOption() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1091
        checkOutput("overview-summary.html", true,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1092
                "<div class=\"contentContainer\"><a name=\"PackageGroup0\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1093
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1094
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1095
                + "<table class=\"overviewSummary\" summary=\"Package Group 0 table, listing packages, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1096
                + "<caption><span>Package Group 0</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1097
                + "<tr>",
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1098
                "<div class=\"contentContainer\"><a name=\"PackageGroup1\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1099
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1100
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1101
                + "<table class=\"overviewSummary\" summary=\"Package Group 1 table, listing packages, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1102
                + "<caption><span>Package Group 1</span><span class=\"tabEnd\">&nbsp;</span></caption>");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1103
    }
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1104
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1105
    void checkGroupOptionSingleModule() {
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1106
        checkOutput("overview-summary.html", true,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1107
                "<div class=\"contentContainer\"><a name=\"ModuleGroupB\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1108
                + "<!--   -->\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1109
                + "</a>\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1110
                + "<table class=\"overviewSummary\" summary=\"Module Group B table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1111
                + "<caption><span>Module Group B</span><span class=\"tabEnd\">&nbsp;</span></caption>");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1112
        checkOutput("overview-summary.html", false,
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1113
                "<table class=\"overviewSummary\" summary=\"Modules table, listing modules, and an explanation\">\n"
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1114
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
f5f796453339 8178043: Support grouping modules in unified javadoc
bpatel
parents: 44879
diff changeset
  1115
    }
45771
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1116
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1117
    void checkModuleName(boolean found) {
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1118
        checkOutput("test.moduleFullName-summary.html", found,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1119
                "<div class=\"header\">\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1120
                + "<h1 title=\"Module\" class=\"title\">Module&nbsp;test.moduleFullName</h1>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1121
                + "</div>");
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1122
        checkOutput("index-all.html", found,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1123
                "<h2 class=\"title\">T</h2>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1124
                + "<dl>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1125
                + "<dt><a href=\"test.moduleFullName-summary.html\">test.moduleFullName</a> - module test.moduleFullName</dt>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1126
                + "<dd>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1127
                + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1128
                + "</dd>");
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1129
        checkOutput("module-overview-frame.html", found,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1130
                "<h2 title=\"Modules\">Modules</h2>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1131
                + "<ul title=\"Modules\">\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1132
                + "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');\">moduleB</a></li>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1133
                + "<li><a href=\"test.moduleFullName-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('test.moduleFullName-type-frame.html','test.moduleFullName-summary.html');\">test.moduleFullName</a></li>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1134
                + "</ul>");
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1135
        checkOutput("test.moduleFullName-summary.html", !found,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1136
                "<div class=\"header\">\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1137
                + "<h1 title=\"Module\" class=\"title\">Module&nbsp;moduleFullName</h1>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1138
                + "</div>");
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1139
        checkOutput("index-all.html", !found,
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1140
                "<dl>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1141
                + "<dt><a href=\"test.moduleFullName-summary.html\">moduleFullName</a> - module moduleFullName</dt>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1142
                + "<dd>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1143
                + "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1144
                + "</dd>\n"
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1145
                + "</dl>");
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
  1146
}
45771
e447c20c3ff9 8182736: javadoc generates bad names and broken module graph links
jjg
parents: 45157
diff changeset
  1147
}