langtools/test/jdk/javadoc/doclet/testModules/TestModules.java
author jjg
Tue, 04 Apr 2017 14:02:03 -0700
changeset 44564 4e1df2513486
parent 44293 2f47b2c16612
child 44567 126285be00b9
permissions -rw-r--r--
8177562: Small updates to module summary page Reviewed-by: bpatel, 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
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
    27
 *      8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    28
 * @summary Test modules support in javadoc.
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    29
 * @author bpatel
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    30
 * @library ../lib
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    31
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    32
 * @build JavadocTester
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    33
 * @run main TestModules
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    34
 */
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    35
public class TestModules extends JavadocTester {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    36
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    37
    public static void main(String... args) throws Exception {
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    38
        TestModules tester = new TestModules();
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    39
        tester.runTests();
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    40
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    41
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    42
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    43
     * Test generated module pages for HTML 4.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    44
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    45
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    46
    void testHtml4() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    47
        javadoc("-d", "out", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    48
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    49
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    50
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    51
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    52
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    53
        checkDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    54
        checkNoDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    55
        checkOverviewSummaryModules();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    56
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    57
        checkModuleClickThroughLinks();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    58
        checkModuleClickThrough(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    59
        checkModuleFilesAndLinks(true);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
    60
        checkModulesInSearch(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
    61
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    62
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    63
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    64
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    65
     * Test generated module pages for HTML 5.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    66
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    67
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    68
    void testHtml5() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    69
        javadoc("-d", "out-html5", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    70
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    71
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    72
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    73
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    74
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    75
        checkHtml5Description(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    76
        checkHtml5NoDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    77
        checkHtml5OverviewSummaryModules();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    78
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    79
        checkModuleClickThroughLinks();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    80
        checkModuleClickThrough(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    81
        checkModuleFilesAndLinks(true);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
    82
        checkModulesInSearch(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
    83
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    84
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    85
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    86
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    87
     * 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
    88
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    89
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    90
    void testHtml4NoComment() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
    91
        javadoc("-d", "out-nocomment", "-nocomment", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
    92
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
    93
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
    94
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
    95
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
    96
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    97
        checkDescription(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    98
        checkNoDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
    99
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   100
        checkModuleFilesAndLinks(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   101
        checkOverviewFrame(true);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   102
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   103
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   104
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   105
     * 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
   106
     */
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   107
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   108
    void testHtml5NoComment() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   109
        javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   110
                "-overview", testSrc("overview.html"),
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   111
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   112
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   113
                "testpkgmdlA", "testpkgmdlB");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   114
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   115
        checkHtml5Description(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   116
        checkHtml5NoDescription(true);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   117
        checkModuleLink();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   118
        checkModuleFilesAndLinks(true);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   119
        checkOverviewFrame(true);
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   120
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   121
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   122
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   123
     * 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
   124
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   125
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   126
    void testHtml4UnnamedModule() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   127
        javadoc("-d", "out-nomodule", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   128
                "-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
   129
                "-sourcepath", testSrc,
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   130
                "testpkgnomodule", "testpkgnomodule1");
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   131
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   132
        checkOverviewSummaryPackages();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   133
        checkModuleClickThrough(false);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   134
        checkModuleFilesAndLinks(false);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   135
        checkModulesInSearch(false);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   136
        checkOverviewFrame(false);
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   137
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   138
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   139
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   140
     * 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
   141
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   142
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   143
    void testHtml5UnnamedModule() {
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   144
        javadoc("-d", "out-html5-nomodule", "-html5", "-use",
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   145
                "-overview", testSrc("overview.html"),
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   146
                "-sourcepath", testSrc,
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   147
                "testpkgnomodule", "testpkgnomodule1");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   148
        checkExit(Exit.OK);
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   149
        checkHtml5OverviewSummaryPackages();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   150
        checkModuleFilesAndLinks(false);
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   151
        checkModulesInSearch(false);
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   152
        checkOverviewFrame(false);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   153
    }
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
     * Test generated module pages with javadoc tags.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   157
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   158
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   159
    void testJDTagsInModules() {
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   160
        javadoc("-d", "out-mdltags", "-author", "-version",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   161
                "-tag", "regular:a:Regular Tag:",
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   162
                "-tag", "moduletag:s:Module Tag:",
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 40229
diff changeset
   163
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   164
                "--module", "moduletags,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   165
                "testpkgmdltags", "testpkgmdlB");
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   166
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   167
        checkModuleTags();
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   168
    }
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   169
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   170
    /**
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   171
     * Test generated module summary page.
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   172
     */
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   173
    @Test
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   174
    void testModuleSummary() {
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   175
        javadoc("-d", "out-moduleSummary", "-use",
40599
be40838eb215 8164887: update tests to remove use of old-style options
jjg
parents: 40511
diff changeset
   176
                "--module-source-path", testSrc,
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   177
                "--module", "moduleA,moduleB",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   178
                "testpkgmdlA", "testpkgmdlB", "moduleB/testpkg2mdlB");
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   179
        checkExit(Exit.OK);
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   180
        checkModuleSummary();
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   181
        checkNegatedModuleSummary();
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   182
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   183
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   184
    /**
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   185
     * 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
   186
     */
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   187
    @Test
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   188
    void testAggregatorModuleSummary() {
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   189
        javadoc("-d", "out-aggregatorModuleSummary", "-use",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   190
                "--module-source-path", testSrc,
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   191
                "--expand-requires", "transitive",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   192
                "--module", "moduleT");
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   193
        checkExit(Exit.OK);
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   194
        checkAggregatorModuleSummary();
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   195
    }
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
    /**
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   198
     * 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
   199
     */
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   200
    @Test
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   201
    void testModuleFilesAndLinks() {
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   202
        javadoc("-d", "out-modulelinks",
40599
be40838eb215 8164887: update tests to remove use of old-style options
jjg
parents: 40511
diff changeset
   203
                "--module-source-path", testSrc,
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   204
                "--module", "moduleA,moduleB",
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   205
                "testpkgmdlA", "testpkgmdlB");
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   206
        checkExit(Exit.OK);
40508
74ef30d16fb9 8159305: Enhance the javadoc tool to support module related options
ksrini
parents: 40503
diff changeset
   207
        checkModuleFilesAndLinks(true);
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   208
        checkOverviewFrame(true);
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   209
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   210
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   211
    /**
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   212
     * Test generated module pages for a deprecated module.
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   213
     */
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   214
    @Test
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   215
    void testModuleDeprecation() {
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   216
        javadoc("-d", "out-moduledepr",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   217
                "-tag", "regular:a:Regular Tag:",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   218
                "-tag", "moduletag:s:Module Tag:",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   219
                "--module-source-path", testSrc,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   220
                "--module", "moduleA,moduleB,moduletags",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   221
                "testpkgmdlA", "testpkgmdlB", "testpkgmdltags");
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   222
        checkExit(Exit.OK);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   223
        checkModuleDeprecation(true);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   224
    }
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
     * Test annotations on modules.
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   228
     */
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   229
    @Test
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   230
    void testModuleAnnotation() {
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   231
        javadoc("-d", "out-moduleanno",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   232
                "--module-source-path", testSrc,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   233
                "--module", "moduleA,moduleB",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   234
                "testpkgmdlA", "testpkgmdlB");
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   235
        checkExit(Exit.OK);
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   236
        checkModuleAnnotation();
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   237
    }
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   238
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   239
    /**
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   240
     * 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
   241
     */
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   242
    @Test
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   243
    void testApiMode() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   244
        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
   245
                "-tag", "regular:a:Regular Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   246
                "-tag", "moduletag:s:Module Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   247
                "--module-source-path", testSrc,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   248
                "--module", "moduleA,moduleB,moduleC,moduletags",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   249
                "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
   250
        checkExit(Exit.OK);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   251
        checkModuleModeCommon();
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   252
        checkModuleModeApi(true);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   253
        checkModuleModeAll(false);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   254
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   255
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   256
    /**
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   257
     * 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
   258
     */
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   259
    @Test
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   260
    void testAllMode() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   261
        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
   262
                "-tag", "regular:a:Regular Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   263
                "-tag", "moduletag:s:Module Tag:",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   264
                "--module-source-path", testSrc,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   265
                "--module", "moduleA,moduleB,moduleC,moduletags",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   266
                "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
   267
        checkExit(Exit.OK);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   268
        checkModuleModeCommon();
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   269
        checkModuleModeApi(false);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   270
        checkModuleModeAll(true);
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   271
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   272
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   273
    void checkDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   274
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   275
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   276
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   277
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   278
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   279
                + "<div class=\"block\">This is a test description for the moduleA module. Search "
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   280
                + "phrase <a id=\"searchphrase\">search phrase</a>.</div>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   281
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   282
                "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   283
                + "<a name=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   284
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   285
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   286
                + "<div class=\"block\">This is a test description for the moduleB module. Search "
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   287
                + "word <a id=\"search_word\">search_word</a> with no description.</div>");
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   288
        checkOutput("overview-summary.html", found,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   289
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   290
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   291
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   292
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   293
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   294
                + "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   295
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   296
        checkOutput("overview-summary.html", false,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   297
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   298
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   299
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   300
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   301
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   302
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   303
                + "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   304
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   305
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   306
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   307
    void checkNoDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   308
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   309
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   310
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   311
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   312
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   313
                + "<li class=\"blockList\">\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   314
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   315
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   316
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   317
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   318
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   319
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   320
                + "<li class=\"blockList\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   321
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   322
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   323
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   324
    void checkHtml5Description(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   325
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   326
                "<section role=\"region\">\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   327
                + "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   328
                + " 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
   329
                + "<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
   330
                + "</div>\n"
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   331
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   332
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   333
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   334
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   335
                + "<div class=\"block\">This is a test description for the moduleA module. Search "
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   336
                + "phrase <a id=\"searchphrase\">search phrase</a>.</div>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   337
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   338
                "<section role=\"region\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   339
                + "<!-- ============ MODULE DESCRIPTION =========== -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   340
                + "<a id=\"module.description\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   341
                + "<!--   -->\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   342
                + "</a>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   343
                + "<div class=\"block\">This is a test description for the moduleB module. Search "
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   344
                + "word <a id=\"search_word\">search_word</a> with no description.</div>");
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   345
        checkOutput("overview-summary.html", found,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   346
                "</nav>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   347
                + "</header>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   348
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   349
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   350
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   351
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   352
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   353
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   354
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   355
        checkOutput("overview-summary.html", false,
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   356
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   357
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   358
                + "</main>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   359
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   360
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   361
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   362
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   363
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   364
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   365
                + "<caption><span>Modules</span><span class=\"tabEnd\">&nbsp;</span></caption>");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   366
    }
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   367
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   368
    void checkHtml5NoDescription(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   369
        checkOutput("moduleA-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   370
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   371
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   372
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   373
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   374
                + "<li class=\"blockList\">\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   375
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   376
        checkOutput("moduleB-summary.html", found,
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   377
                "<div class=\"contentContainer\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   378
                + "<ul class=\"blockList\">\n"
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   379
                + "<li class=\"blockList\">\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   380
                + "<ul class=\"blockList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   381
                + "<li class=\"blockList\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   382
                + "<!-- ============ PACKAGES SUMMARY =========== -->");
37747
878801512393 8154119: Module summary page should display module description
bpatel
parents:
diff changeset
   383
    }
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   384
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   385
    void checkModuleLink() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   386
        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
   387
                "<li>Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   388
        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
   389
                "<li class=\"navBarCell1Rev\">Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   390
        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
   391
                "<li class=\"navBarCell1Rev\">Module</li>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   392
        checkOutput("testpkgmdlA/class-use/TestClassInModuleA.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   393
                "<li><a href=\"../../moduleA-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   394
        checkOutput("testpkgmdlB/package-summary.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   395
                "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   396
        checkOutput("testpkgmdlB/TestClassInModuleB.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   397
                "<li><a href=\"../moduleB-summary.html\">Module</a></li>");
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   398
        checkOutput("testpkgmdlB/class-use/TestClassInModuleB.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   399
                "<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
   400
    }
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   401
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   402
    void checkNoModuleLink() {
37943
2efb75c09230 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents: 37747
diff changeset
   403
        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
   404
                "<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
   405
                + "<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
   406
        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
   407
                "<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
   408
                + "<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
   409
        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
   410
                "<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
   411
                + "<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
   412
    }
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   413
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   414
    void checkModuleTags() {
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   415
        checkOutput("moduletags-summary.html", true,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   416
                "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
   417
                + "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   418
                "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
   419
                + "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
   420
                "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
   421
                "<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
   422
                + "<dd>JDK 9</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   423
                "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   424
                + "<dd>\"Test see tag\", \n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   425
                + "<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
   426
                + "TestClassInModuleTags</code></a></dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   427
                "<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
   428
                + "<dd>Just a regular simple tag.</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   429
                "<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
   430
                + "<dd>Just a simple module tag.</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   431
                "<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
   432
                + "<dd>1.0</dd>",
38911
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   433
                "<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   434
                + "<dd>Bhavesh Patel</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   435
        checkOutput("testpkgmdltags/TestClassInModuleTags.html", false,
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   436
                "<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n"
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   437
                + "<dd>Just a simple module tag.</dd>");
48a00b5ee366 8156077: Support javadoc tags in module documentation
bpatel
parents: 37943
diff changeset
   438
    }
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   439
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   440
    void checkOverviewSummaryModules() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   441
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   442
                "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   443
                + "<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
   444
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   445
                + "<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
   446
                + "<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
   447
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   448
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   449
                "<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
   450
                + "<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
   451
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   452
                + "<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
   453
                + "<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
   454
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   455
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   456
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   457
    void checkOverviewSummaryPackages() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   458
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   459
                "<table class=\"overviewSummary\" summary=\"Module Summary table, listing modules, and an explanation\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   460
                + "<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
   461
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   462
                + "<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
   463
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   464
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   465
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   466
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   467
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   468
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   469
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   470
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   471
                + "<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
   472
                + "<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
   473
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   474
                "<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
   475
                + "<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
   476
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   477
                + "<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
   478
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   479
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   480
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   481
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   482
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   483
                + "</div>\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
                + "<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
   486
                + "<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
   487
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   488
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   489
    void checkHtml5OverviewSummaryModules() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   490
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   491
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   492
                + "<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
   493
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   494
                + "<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
   495
                + "<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
   496
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   497
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   498
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   499
                + "<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
   500
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   501
                + "<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
   502
                + "<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
   503
                + "</tr>");
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   504
    }
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   505
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   506
    void checkHtml5OverviewSummaryPackages() {
39586
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   507
        checkOutput("overview-summary.html", false,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   508
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   509
                + "<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
   510
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   511
                + "<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
   512
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   513
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   514
                "</table>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   515
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   516
                + "</main>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   517
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   518
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   519
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   520
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   521
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   522
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   523
                + "<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
   524
        checkOutput("overview-summary.html", true,
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   525
                "<table class=\"overviewSummary\">\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   526
                + "<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
   527
                + "<tr>\n"
e35b6ab55e00 8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents: 38911
diff changeset
   528
                + "<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
   529
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
44195
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   530
                + "</tr>",
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   531
                "</script>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   532
                + "</nav>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   533
                + "</header>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   534
                + "<main role=\"main\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   535
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   536
                + "<div class=\"block\">The overview summary page header.</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   537
                + "</div>\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   538
                + "<div class=\"contentContainer\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   539
                + "<table class=\"overviewSummary\">\n"
5860769fe2f4 8175799: module summary page shows duplicated output
bpatel
parents: 42842
diff changeset
   540
                + "<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
   541
    }
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   542
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   543
    void checkModuleSummary() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   544
        checkOutput("moduleA-summary.html", true,
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   545
                "<ul class=\"subNavList\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   546
                + "<li>Module:&nbsp;</li>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   547
                + "<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
   548
                + "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
   549
                + "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
   550
                + "</ul>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   551
                "<!-- ============ MODULES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   552
                + "<a name=\"modules.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   553
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   554
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   555
                "<tr class=\"altColor\" id=\"i0\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   556
                + "<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
   557
                + "<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
   558
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   559
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   560
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   561
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   562
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   563
                "<tr class=\"altColor\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   564
                + "<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
   565
                + "<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
   566
                + "<td class=\"colLast\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   567
                + "<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
   568
                + "</td>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   569
                + "</tr>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   570
        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
   571
                "<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
   572
                + "<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
   573
                + "Services</a></li>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   574
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   575
                + "<a name=\"packages.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   576
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   577
                + "</a>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   578
                "<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
   579
                + "<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
   580
                + "<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
   581
                + "</tr>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   582
                "<!-- ============ PACKAGES SUMMARY =========== -->\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   583
                + "<a name=\"packages.summary\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   584
                + "<!--   -->\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   585
                + "</a>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   586
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   587
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   588
                + "<!--   -->\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   589
                + "</a>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   590
                "<tr class=\"altColor\">\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   591
                + "<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
   592
                + "<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
   593
                + "</tr>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   594
                "<tr class=\"altColor\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   595
                + "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkg2mdlB/TestInterface2InModuleB.html\" title=\"interface in testpkg2mdlB\">TestInterface2InModuleB</a></th>\n"
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   596
                + "<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
   597
                + "</tr>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   598
                "<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
   599
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   600
                + "<th class=\"colFirst\" scope=\"col\">Package</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   601
                + "<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
   602
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   603
                "<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
   604
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   605
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   606
                + "<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
   607
                + "</tr>",
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   608
                "<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
   609
                + "<tr>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   610
                + "<th class=\"colFirst\" scope=\"col\">Type</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   611
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   612
                + "</tr>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   613
    }
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   614
44293
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   615
    void checkAggregatorModuleSummary() {
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   616
        checkOutput("moduleT-summary.html", true,
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   617
                "<div class=\"header\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   618
                + "<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
   619
                + "</div>",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   620
                "<div class=\"block\">This is a test description for the moduleT module. "
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   621
                + "Search phrase <a id=\"searchphrase\">search phrase</a>. "
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   622
                + "Make sure there are no exported packages.</div>",
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   623
                "<tbody>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   624
                + "<tr class=\"altColor\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   625
                + "<td class=\"colFirst\">transitive</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   626
                + "<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
   627
                + "<td class=\"colLast\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   628
                + "<div class=\"block\">This is a test description for the moduleA module.</div>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   629
                + "</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   630
                + "</tr>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   631
                + "<tr class=\"rowColor\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   632
                + "<td class=\"colFirst\">transitive</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   633
                + "<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
   634
                + "<td class=\"colLast\">\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   635
                + "<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
   636
                + "</td>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   637
                + "</tr>\n"
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   638
                + "</tbody>");
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   639
    }
2f47b2c16612 8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents: 44196
diff changeset
   640
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   641
    void checkNegatedModuleSummary() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   642
        checkOutput("moduleA-summary.html", false,
39670
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   643
                "<!-- ============ SERVICES SUMMARY =========== -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   644
                + "<a name=\"services.summary\">\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   645
                + "<!--   -->\n"
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   646
                + "</a>");
9d1eafbf29c6 8154261: Module summary page should display directives for the module
bpatel
parents: 39586
diff changeset
   647
    }
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   648
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   649
    void checkModuleClickThroughLinks() {
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   650
        checkOutput("module-overview-frame.html", true,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   651
                "<li><a href=\"moduleA-frame.html\" target=\"packageListFrame\" "
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   652
                + "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
   653
                + "\">moduleA</a></li>",
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   654
                "<li><a href=\"moduleB-frame.html\" target=\"packageListFrame\" "
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   655
                + "onclick=\"updateModuleFrame('moduleB-type-frame.html','moduleB-summary.html');"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   656
                + "\">moduleB</a></li>");
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   657
        checkOutput("script.js", true,
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   658
                "function updateModuleFrame(pFrame, cFrame)\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   659
                + "{\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   660
                + "    top.packageFrame.location = pFrame;\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   661
                + "    top.classFrame.location = cFrame;\n"
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   662
                + "}");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   663
    }
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   664
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   665
    void checkModuleClickThrough(boolean found) {
40229
09f4478d07e5 8154817: Fix the click-through navigation for modules
bpatel
parents: 39670
diff changeset
   666
        checkFiles(found,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   667
                "moduleA-type-frame.html",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   668
                "moduleB-type-frame.html");
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   669
    }
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   670
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   671
    void checkModuleFilesAndLinks(boolean found) {
42842
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   672
        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
   673
                "<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
   674
                "<div class=\"subTitle\"><span class=\"moduleLabelInPackage\">Module</span>&nbsp;"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   675
                + "<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
   676
        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
   677
                "<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
   678
                "<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span>&nbsp;"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   679
                + "<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
   680
        checkFileAndOutput("testpkgmdlB/AnnotationType.html", found,
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   681
                "<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
   682
                + "<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
   683
                "<div class=\"subTitle\"><span class=\"packageLabelInType\">"
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   684
                + "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
   685
        checkFiles(found,
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   686
                "moduleA-frame.html",
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   687
                "moduleA-summary.html",
40503
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   688
                "module-overview-frame.html");
cb34fd6e8071 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents: 40308
diff changeset
   689
    }
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   690
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   691
    void checkModulesInSearch(boolean found) {
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   692
        checkOutput("index-all.html", found,
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   693
                "<dl>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   694
                + "<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
   695
                + "<dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   696
                + "<div class=\"block\">This is a test description for the moduleA module.</div>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   697
                + "</dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   698
                + "<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
   699
                + "<dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   700
                + "<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
   701
                + "</dd>\n"
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   702
                + "</dl>",
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   703
                "<dl>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   704
                + "<dt><span class=\"searchTagLink\"><a href=\"moduleA-summary.html#searchphrase\">"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   705
                + "search phrase</a></span> - Search tag in moduleA</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   706
                + "<dd>with description</dd>\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   707
                + "<dt><span class=\"searchTagLink\"><a href=\"moduleB-summary.html#search_word\">"
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   708
                + "search_word</a></span> - Search tag in moduleB</dt>\n"
40511
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   709
                + "<dd>&nbsp;</dd>\n"
1b3c502e0bdc 8155995: Update javadoc to include module search
bpatel
parents: 40508
diff changeset
   710
                + "</dl>");
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   711
    }
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   712
42831
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   713
    void checkModuleModeCommon() {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   714
        checkOutput("overview-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   715
                "<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
   716
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   717
                + "<div class=\"block\">This is a test description for the moduleA module.</div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   718
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   719
                "<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
   720
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   721
                + "<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
   722
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   723
                "<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
   724
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   725
                + "<div class=\"block\">This is a test description for the moduleA module.<br>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   726
                + " 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
   727
                + " 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
   728
                + " 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
   729
                + "</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   730
        checkOutput("moduleA-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   731
                "<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
   732
                + "Modules</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
   733
                "<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
   734
                + "<caption><span>Indirect Exports</span><span class=\"tabEnd\">&nbsp;</span></caption>",
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   735
                "<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
   736
                + "<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
   737
                + "<tr>\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   738
                + "<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
   739
                + "<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
   740
                + "</tr>\n",
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   741
                "<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
   742
                + "<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
   743
        checkOutput("moduleB-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   744
                "<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
   745
                + "<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
   746
        checkOutput("moduletags-summary.html", true,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   747
                "<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
   748
                + "</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
   749
                "<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
   750
                + "<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
   751
                "<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
   752
                + "<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
   753
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   754
                + "<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
   755
                + "</td>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   756
                "<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
   757
                + "<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
   758
                "<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
   759
                + "<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
   760
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   761
                + "<div class=\"block\">This is a test description for the moduleA module.</div>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   762
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   763
                "<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
   764
                + "<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
   765
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   766
                + "<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
   767
                + "<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
   768
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   769
                "<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
   770
                + "<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
   771
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   772
                + "<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
   773
                + "<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
   774
                + "<th class=\"colLast\" scope=\"col\">Description</th>",
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   775
                "<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
   776
                + "<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
   777
                + "<tr>\n"
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   778
                + "<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
   779
                + "<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
   780
                + "</tr>\n",
2f0b2a65b284 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
jjg
parents: 42831
diff changeset
   781
                "<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
   782
                + "<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
   783
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   784
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   785
    void checkModuleModeApi(boolean found) {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   786
        checkOutput("moduleA-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   787
                "<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
   788
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   789
        checkOutput("moduleB-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   790
                "<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
   791
                + "<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
   792
                "<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
   793
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   794
                "<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
   795
                + "<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
   796
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   797
                + "<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
   798
                + "<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
   799
                + "</tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   800
                + "<tbody>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   801
                + "<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
   802
                + "<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
   803
                + "<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
   804
                + "</tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   805
                + "</tbody>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   806
                + "</table>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   807
        checkOutput("moduletags-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   808
                "<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
   809
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   810
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   811
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   812
    void checkModuleModeAll(boolean found) {
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   813
        checkOutput("moduleA-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   814
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   815
                + "<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
   816
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   817
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   818
                + "<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
   819
                + "<td class=\"colLast\">\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   820
                + "<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
   821
                + "</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   822
                "<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
   823
                + "<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
   824
                "<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
   825
                + "<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
   826
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   827
                "<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
   828
                + "<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
   829
                + "<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
   830
                + "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
   831
                "<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
   832
                + "<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
   833
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   834
        checkOutput("moduleB-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   835
                "<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
   836
                + "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
   837
                "<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
   838
                + "<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
   839
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   840
                "<td class=\"colFirst\"> </td>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   841
                + "<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
   842
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   843
                "<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
   844
                + "<td class=\"colLast\">&nbsp;</td>",
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   845
                "<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
   846
                + "<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
   847
                + "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
   848
                "<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
   849
                + "<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
   850
                + "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
   851
                "<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
   852
                + "<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
   853
                + "<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
   854
        checkOutput("moduleC-summary.html", found,
44564
4e1df2513486 8177562: Small updates to module summary page
jjg
parents: 44293
diff changeset
   855
                "<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
   856
                + "<tr>\n"
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   857
                + "<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
   858
                + "<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
   859
                + "<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
   860
                + "</tr>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   861
        checkOutput("moduletags-summary.html", found,
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   862
                "<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
   863
                + "<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
   864
                + "<td class=\"colLast\">&nbsp;</td>");
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   865
    }
feff6f296019 8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents: 42823
diff changeset
   866
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   867
    void checkModuleDeprecation(boolean found) {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   868
        checkOutput("moduleA-summary.html", found,
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   869
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated, for removal:"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   870
                + " 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
   871
                + "<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
   872
                + "</div>");
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   873
        checkOutput("deprecated-list.html", found,
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   874
                "<ul>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 42494
diff changeset
   875
                + "<li><a href=\"#forRemoval\">Deprecated For Removal</a></li>\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   876
                + "<li><a href=\"#module\">Deprecated Modules</a></li>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   877
                + "</ul>",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   878
                "<tr class=\"altColor\">\n"
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   879
                + "<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
   880
                + "<td class=\"colLast\">\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   881
                + "<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
   882
                + "</td>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   883
                + "</tr>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   884
        checkOutput("moduleB-summary.html", !found,
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   885
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   886
                + "<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
   887
        checkOutput("moduletags-summary.html", found,
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   888
                "<p>@Deprecated\n"
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   889
                + "</p>",
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   890
                "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span></div>");
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   891
    }
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   892
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   893
    void checkModuleAnnotation() {
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   894
        checkOutput("moduleB-summary.html", true,
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   895
                "<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
   896
                + "                <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n"
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   897
                + "</p>");
42822
a84956e7ee4d 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42494
diff changeset
   898
        checkOutput("moduleB-summary.html", false,
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41157
diff changeset
   899
                "@AnnotationTypeUndocumented");
44196
f88c0e9cb102 8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents: 44195
diff changeset
   900
    }
42494
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   901
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   902
    void checkOverviewFrame(boolean found) {
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   903
        checkOutput("index.html", !found,
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   904
                "<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
   905
        checkOutput("index.html", found,
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   906
                "<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
   907
    }
8c5efe520e34 8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents: 42407
diff changeset
   908
}