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