author | pmuthuswamy |
Tue, 20 Nov 2018 10:50:54 +0530 | |
changeset 52616 | 1a395165c09b |
parent 51895 | 707e4291f685 |
child 53097 | 2e82ca64b25d |
permissions | -rw-r--r-- |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
1 |
/* |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
48437
diff
changeset
|
2 |
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
4 |
* |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
8 |
* |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
13 |
* accompanied this code). |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
14 |
* |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
18 |
* |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
21 |
* questions. |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
22 |
*/ |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
23 |
|
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
24 |
/* |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
25 |
* @test |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
26 |
* @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363 |
47861
4fab795915b6
8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed
jjg
parents:
47847
diff
changeset
|
27 |
* 8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218 |
4fab795915b6
8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed
jjg
parents:
47847
diff
changeset
|
28 |
* 8175823 8166306 8178043 8181622 8183511 8169819 8074407 8183037 8191464 |
51895
707e4291f685
8202628: javadoc generates bad links in TestModules.java
pmuthuswamy
parents:
51862
diff
changeset
|
29 |
8164407 8192007 8182765 8196200 8196201 8196202 8196202 8205593 8202462 |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
30 |
8184205 |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
31 |
* @summary Test modules support in javadoc. |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
32 |
* @author bpatel |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
33 |
* @library ../lib |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
34 |
* @modules jdk.javadoc/jdk.javadoc.internal.tool |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
35 |
* @build JavadocTester |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
36 |
* @run main TestModules |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
37 |
*/ |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
38 |
public class TestModules extends JavadocTester { |
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 |
public static void main(String... args) throws Exception { |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
41 |
TestModules tester = new TestModules(); |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
42 |
tester.runTests(); |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
43 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
44 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
45 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
46 |
* Test generated module pages for HTML 4. |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
47 |
*/ |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
48 |
@Test |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
49 |
void testHtml4() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
50 |
javadoc("-d", "out", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
51 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
52 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
53 |
"-Xdoclint:none", |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
54 |
"-overview", testSrc("overview.html"), |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
55 |
"--frames", |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
40229
diff
changeset
|
56 |
"--module-source-path", testSrc, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
57 |
"--module", "moduleA,moduleB", |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
58 |
"testpkgmdlA", "testpkgmdlB"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
59 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
60 |
checkDescription(true); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
61 |
checkNoDescription(false); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
62 |
checkOverviewSummaryModules(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
63 |
checkModuleLink(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
64 |
checkModuleClickThroughLinks(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
65 |
checkModuleClickThrough(true); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
66 |
checkModuleFilesAndLinks(true); |
40511 | 67 |
checkModulesInSearch(true); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
68 |
checkOverviewFrame(true); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
69 |
checkAllPkgsAllClasses(false); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
70 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
71 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
72 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
73 |
* Test generated module pages for HTML 5. |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
74 |
*/ |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
75 |
@Test |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
76 |
void testHtml5() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
77 |
javadoc("-d", "out-html5", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
78 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
79 |
"-Xdoclint:none", |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
80 |
"-overview", testSrc("overview.html"), |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
81 |
"--frames", |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
40229
diff
changeset
|
82 |
"--module-source-path", testSrc, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
83 |
"--module", "moduleA,moduleB", |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
84 |
"testpkgmdlA", "testpkgmdlB"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
85 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
86 |
checkHtml5Description(true); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
87 |
checkHtml5NoDescription(false); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
88 |
checkHtml5OverviewSummaryModules(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
89 |
checkModuleLink(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
90 |
checkModuleClickThroughLinks(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
91 |
checkModuleClickThrough(true); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
92 |
checkModuleFilesAndLinks(true); |
40511 | 93 |
checkModulesInSearch(true); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
94 |
checkOverviewFrame(true); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
95 |
checkAllPkgsAllClasses(true); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
96 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
97 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
98 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
99 |
* 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
|
100 |
*/ |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
101 |
@Test |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
102 |
void testHtml4NoComment() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
103 |
javadoc("-d", "out-nocomment", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
104 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
105 |
"-nocomment", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
106 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
107 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
108 |
"--frames", |
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 |
checkDescription(false); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
115 |
checkNoDescription(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); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
119 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
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 module pages for HTML 5 with -nocomment option. |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
123 |
*/ |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
124 |
@Test |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
125 |
void testHtml5NoComment() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
126 |
javadoc("-d", "out-html5-nocomment", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
127 |
"-nocomment", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
128 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
129 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
130 |
"--frames", |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
131 |
"-overview", testSrc("overview.html"), |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
40229
diff
changeset
|
132 |
"--module-source-path", testSrc, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
133 |
"--module", "moduleA,moduleB", |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
134 |
"testpkgmdlA", "testpkgmdlB"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
135 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
136 |
checkHtml5Description(false); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
137 |
checkHtml5NoDescription(true); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
138 |
checkModuleLink(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
139 |
checkModuleFilesAndLinks(true); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
140 |
checkOverviewFrame(true); |
37943
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
141 |
} |
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
142 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
143 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
144 |
* 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
|
145 |
*/ |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
146 |
@Test |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
147 |
void testHtml4UnnamedModule() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
148 |
javadoc("-d", "out-nomodule", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
149 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
150 |
"-use", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
151 |
"--frames", |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
152 |
"-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
|
153 |
"-sourcepath", testSrc, |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
154 |
"testpkgnomodule", "testpkgnomodule1"); |
37943
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
155 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
156 |
checkOverviewSummaryPackages(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
157 |
checkModuleClickThrough(false); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
158 |
checkModuleFilesAndLinks(false); |
40511 | 159 |
checkModulesInSearch(false); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
160 |
checkOverviewFrame(false); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
161 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
162 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
163 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
164 |
* 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
|
165 |
*/ |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
166 |
@Test |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
167 |
void testHtml5UnnamedModule() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
168 |
javadoc("-d", "out-html5-nomodule", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
169 |
"-use", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
170 |
"--frames", |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
171 |
"-overview", testSrc("overview.html"), |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
172 |
"-sourcepath", testSrc, |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
173 |
"testpkgnomodule", "testpkgnomodule1"); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
174 |
checkExit(Exit.OK); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
175 |
checkHtml5OverviewSummaryPackages(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
176 |
checkModuleFilesAndLinks(false); |
40511 | 177 |
checkModulesInSearch(false); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
178 |
checkOverviewFrame(false); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
179 |
} |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
180 |
|
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
181 |
/** |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
182 |
* Test generated module pages with javadoc tags. |
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 |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
185 |
void testJDTagsInModules() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
186 |
javadoc("-d", "out-mdltags", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
187 |
"-author", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
188 |
"-version", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
189 |
"-Xdoclint:none", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
190 |
"-tag", "regular:a:Regular Tag:", |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
191 |
"-tag", "moduletag:s:Module Tag:", |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
40229
diff
changeset
|
192 |
"--module-source-path", testSrc, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
193 |
"--module", "moduletags,moduleB", |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
194 |
"testpkgmdltags", "testpkgmdlB"); |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
195 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
196 |
checkModuleTags(); |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
197 |
} |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
198 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
199 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
200 |
* Test generated module pages with javadoc tags. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
201 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
202 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
203 |
void testJDTagsInModules_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
204 |
javadoc("-d", "out-mdltags-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
205 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
206 |
"-author", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
207 |
"-version", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
208 |
"-Xdoclint:none", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
209 |
"-tag", "regular:a:Regular Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
210 |
"-tag", "moduletag:s:Module Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
211 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
212 |
"--module", "moduletags,moduleB", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
213 |
"testpkgmdltags", "testpkgmdlB"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
214 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
215 |
checkModuleTags_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
216 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
217 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
218 |
/** |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
219 |
* Test generated module summary page. |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
220 |
*/ |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
221 |
@Test |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
222 |
void testModuleSummary() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
223 |
javadoc("-d", "out-moduleSummary", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
224 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
225 |
"-Xdoclint:none", |
40599
be40838eb215
8164887: update tests to remove use of old-style options
jjg
parents:
40511
diff
changeset
|
226 |
"--module-source-path", testSrc, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
227 |
"--module", "moduleA,moduleB", |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
228 |
"testpkgmdlA", "testpkgmdlB", "moduleB/testpkg2mdlB"); |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
229 |
checkExit(Exit.OK); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
230 |
checkModuleSummary(); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
231 |
checkNegatedModuleSummary(); |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
232 |
} |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
233 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
234 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
235 |
* Test generated module summary page. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
236 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
237 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
238 |
void testModuleSummary_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
239 |
javadoc("-d", "out-moduleSummary-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
240 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
241 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
242 |
"-Xdoclint:none", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
243 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
244 |
"--module", "moduleA,moduleB", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
245 |
"testpkgmdlA", "testpkgmdlB", "moduleB/testpkg2mdlB"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
246 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
247 |
checkModuleSummary_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
248 |
checkNegatedModuleSummary_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
249 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
250 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
251 |
/** |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
252 |
* Test generated module summary page of an aggregating module. |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
253 |
*/ |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
254 |
@Test |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
255 |
void testAggregatorModuleSummary() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
256 |
javadoc("-d", "out-aggregatorModuleSummary", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
257 |
"-use", |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
258 |
"--module-source-path", testSrc, |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
259 |
"--expand-requires", "transitive", |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
260 |
"--module", "moduleT"); |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
261 |
checkExit(Exit.OK); |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
262 |
checkAggregatorModuleSummary(); |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
263 |
} |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
264 |
|
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
265 |
/** |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
266 |
* 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
|
267 |
*/ |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
268 |
@Test |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
269 |
void testModuleFilesAndLinks() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
270 |
javadoc("-d", "out-modulelinks", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
271 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
272 |
"--frames", |
40599
be40838eb215
8164887: update tests to remove use of old-style options
jjg
parents:
40511
diff
changeset
|
273 |
"--module-source-path", testSrc, |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
274 |
"--module", "moduleA,moduleB", |
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
275 |
"testpkgmdlA", "testpkgmdlB"); |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
276 |
checkExit(Exit.OK); |
40508
74ef30d16fb9
8159305: Enhance the javadoc tool to support module related options
ksrini
parents:
40503
diff
changeset
|
277 |
checkModuleFilesAndLinks(true); |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
278 |
checkOverviewFrame(true); |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
279 |
} |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
280 |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
281 |
/** |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
282 |
* Test generated module pages for a deprecated module. |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
283 |
*/ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
284 |
@Test |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
285 |
void testModuleDeprecation() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
286 |
javadoc("-d", "out-moduledepr", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
287 |
"-Xdoclint:none", |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
288 |
"-tag", "regular:a:Regular Tag:", |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
289 |
"-tag", "moduletag:s:Module Tag:", |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
290 |
"--module-source-path", testSrc, |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
291 |
"--module", "moduleA,moduleB,moduletags", |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
292 |
"testpkgmdlA", "testpkgmdlB", "testpkgmdltags"); |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
293 |
checkExit(Exit.OK); |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
294 |
checkModuleDeprecation(true); |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
295 |
} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
296 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
297 |
/** |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
298 |
* Test annotations on modules. |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
299 |
*/ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
300 |
@Test |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
301 |
void testModuleAnnotation() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
302 |
javadoc("-d", "out-moduleanno", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
303 |
"-Xdoclint:none", |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
304 |
"--module-source-path", testSrc, |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
305 |
"--module", "moduleA,moduleB", |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
306 |
"testpkgmdlA", "testpkgmdlB"); |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
307 |
checkExit(Exit.OK); |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
308 |
checkModuleAnnotation(); |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
309 |
} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
310 |
|
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
311 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
312 |
* Test annotations on modules. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
313 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
314 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
315 |
void testModuleAnnotation_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
316 |
javadoc("-d", "out-moduleanno-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
317 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
318 |
"-Xdoclint:none", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
319 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
320 |
"--module", "moduleA,moduleB", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
321 |
"testpkgmdlA", "testpkgmdlB"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
322 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
323 |
checkModuleAnnotation_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
324 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
325 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
326 |
/** |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
327 |
* 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
|
328 |
*/ |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
329 |
@Test |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
330 |
void testApiMode() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
331 |
javadoc("-d", "out-api", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
332 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
333 |
"--show-module-contents=api", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
334 |
"-author", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
335 |
"-version", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
336 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
337 |
"--frames", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
338 |
"-tag", "regular:a:Regular Tag:", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
339 |
"-tag", "moduletag:s:Module Tag:", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
340 |
"--module-source-path", testSrc, |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
341 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
342 |
"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
|
343 |
checkExit(Exit.OK); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
344 |
checkModuleModeCommon(); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
345 |
checkModuleModeApi(true); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
346 |
checkModuleModeAll(false); |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
347 |
checkModuleFrameFiles(true); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
348 |
checkAllModulesLink(true); |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
349 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
350 |
|
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
351 |
/** |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
352 |
* 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
|
353 |
*/ |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
354 |
@Test |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
355 |
void testAllMode() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
356 |
javadoc("-d", "out-all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
357 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
358 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
359 |
"-author", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
360 |
"-version", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
361 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
362 |
"--frames", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
363 |
"-tag", "regular:a:Regular Tag:", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
364 |
"-tag", "moduletag:s:Module Tag:", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
365 |
"--module-source-path", testSrc, |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
366 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
367 |
"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
|
368 |
checkExit(Exit.OK); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
369 |
checkModuleModeCommon(); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
370 |
checkModuleModeApi(false); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
371 |
checkModuleModeAll(true); |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
372 |
checkModuleFrameFiles(true); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
373 |
checkAllModulesLink(true); |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
374 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
375 |
|
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
376 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
377 |
* Test module summary pages in "all" mode. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
378 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
379 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
380 |
void testAllModeHtml4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
381 |
javadoc("-d", "out-all-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
382 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
383 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
384 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
385 |
"-author", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
386 |
"-version", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
387 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
388 |
"--frames", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
389 |
"-tag", "regular:a:Regular Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
390 |
"-tag", "moduletag:s:Module Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
391 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
392 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
393 |
"testpkgmdlA", "moduleA/concealedpkgmdlA", "testpkgmdlB", "testpkg2mdlB", "testpkgmdlC", "testpkgmdltags"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
394 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
395 |
checkModuleModeCommon_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
396 |
checkModuleModeApi_html4(false); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
397 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
398 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
399 |
/** |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
400 |
* Test generated module summary page of a module with no exported package. |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
401 |
*/ |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
402 |
@Test |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
403 |
void testModuleSummaryNoExportedPkgAll() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
404 |
javadoc("-d", "out-ModuleSummaryNoExportedPkgAll", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
405 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
406 |
"--show-module-contents=all", |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
407 |
"-sourcepath", testSrc + "/moduleNoExport", |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
408 |
"--module", "moduleNoExport", |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
409 |
"testpkgmdlNoExport"); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
410 |
checkExit(Exit.OK); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
411 |
checkModuleSummaryNoExported(true); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
412 |
} |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
413 |
|
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
414 |
/** |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
415 |
* Test generated module summary page of a module with no exported package. |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
416 |
*/ |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
417 |
@Test |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
418 |
void testModuleSummaryNoExportedPkgAll_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
419 |
javadoc("-d", "out-ModuleSummaryNoExportedPkgAll-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
420 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
421 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
422 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
423 |
"-sourcepath", testSrc + "/moduleNoExport", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
424 |
"--module", "moduleNoExport", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
425 |
"testpkgmdlNoExport"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
426 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
427 |
checkModuleSummaryNoExported_html4(true); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
428 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
429 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
430 |
/** |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
431 |
* Test generated module summary page of a module with no exported package. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
432 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
433 |
@Test |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
434 |
void testModuleSummaryNoExportedPkgApi() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
435 |
javadoc("-d", "out-ModuleSummaryNoExportedPkgApi", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
436 |
"-use", |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
437 |
"-sourcepath", testSrc + "/moduleNoExport", |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
438 |
"--module", "moduleNoExport", |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
439 |
"testpkgmdlNoExport"); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
440 |
checkExit(Exit.OK); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
441 |
checkModuleSummaryNoExported(false); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
442 |
} |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
443 |
|
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
444 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
445 |
* Test generated module summary page of a module with no exported package. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
446 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
447 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
448 |
void testModuleSummaryNoExportedPkgApi_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
449 |
javadoc("-d", "out-ModuleSummaryNoExportedPkgApi-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
450 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
451 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
452 |
"-sourcepath", testSrc + "/moduleNoExport", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
453 |
"--module", "moduleNoExport", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
454 |
"testpkgmdlNoExport"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
455 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
456 |
checkModuleSummaryNoExported_html4(false); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
457 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
458 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
459 |
/** |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
460 |
* Test generated module pages for javadoc run for a single module having a single package. |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
461 |
*/ |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
462 |
@Test |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
463 |
void testSingleModuleSinglePkg() { |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
464 |
javadoc("-d", "out-singlemod", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
465 |
"--frames", |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
466 |
"--module-source-path", testSrc, |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
467 |
"--module", "moduleC", |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
468 |
"testpkgmdlC"); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
469 |
checkExit(Exit.OK); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
470 |
checkModuleFrameFiles(false); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
471 |
} |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
472 |
|
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
473 |
/** |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
474 |
* Test generated module pages for javadoc run for a single module having multiple packages. |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
475 |
*/ |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
476 |
@Test |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
477 |
void testSingleModuleMultiplePkg() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
478 |
javadoc("-d", "out-singlemodmultiplepkg", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
479 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
480 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
481 |
"--frames", |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
482 |
"--module-source-path", testSrc, |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
483 |
"--module", "moduleB", |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
484 |
"testpkg2mdlB", "testpkgmdlB"); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
485 |
checkExit(Exit.OK); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
486 |
checkAllModulesLink(false); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
487 |
} |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
488 |
|
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
489 |
/** |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
490 |
* Test -group option for modules. The overview-summary.html page should group the modules accordingly. |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
491 |
*/ |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
492 |
@Test |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
493 |
void testGroupOption() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
494 |
javadoc("-d", "out-group", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
495 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
496 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
497 |
"--frames", |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
498 |
"-tag", "regular:a:Regular Tag:", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
499 |
"-tag", "moduletag:s:Module Tag:", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
500 |
"--module-source-path", testSrc, |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
501 |
"-group", "Module Group A", "moduleA*", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
502 |
"-group", "Module Group B & C", "moduleB*:moduleC*", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
503 |
"-group", "Java SE Modules", "java*", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
504 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
505 |
"moduleA/concealedpkgmdlA", "testpkgmdlA", "testpkg2mdlB", "testpkgmdlB", "testpkgmdlC", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
506 |
"testpkgmdltags"); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
507 |
checkExit(Exit.OK); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
508 |
checkGroupOption(); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
509 |
} |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
510 |
|
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
511 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
512 |
* Test -group option for modules. The overview-summary.html page should group the modules accordingly. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
513 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
514 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
515 |
void testGroupOption_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
516 |
javadoc("-d", "out-group-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
517 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
518 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
519 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
520 |
"--frames", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
521 |
"-tag", "regular:a:Regular Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
522 |
"-tag", "moduletag:s:Module Tag:", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
523 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
524 |
"-group", "Module Group A", "moduleA*", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
525 |
"-group", "Module Group B & C", "moduleB*:moduleC*", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
526 |
"-group", "Java SE Modules", "java*", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
527 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
528 |
"moduleA/concealedpkgmdlA", "testpkgmdlA", "testpkg2mdlB", "testpkgmdlB", "testpkgmdlC", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
529 |
"testpkgmdltags"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
530 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
531 |
checkGroupOption_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
532 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
533 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
534 |
/** |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
535 |
* Test -group option for modules and the ordering of module groups. |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
536 |
* The overview-summary.html page should group the modules accordingly and display the group tabs in |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
537 |
* the order it was provided on the command-line. |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
538 |
*/ |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
539 |
@Test |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
540 |
void testGroupOptionOrdering() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
541 |
javadoc("-d", "out-groupOrder", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
542 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
543 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
544 |
"--frames", |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
545 |
"-tag", "regular:a:Regular Tag:", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
546 |
"-tag", "moduletag:s:Module Tag:", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
547 |
"--module-source-path", testSrc, |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
548 |
"-group", "B Group", "moduleB*", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
549 |
"-group", "C Group", "moduleC*", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
550 |
"-group", "A Group", "moduleA*", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
551 |
"-group", "Java SE Modules", "java*", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
552 |
"--module", "moduleA,moduleB,moduleC,moduletags", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
553 |
"moduleA/concealedpkgmdlA", "testpkgmdlA", "testpkg2mdlB", "testpkgmdlB", "testpkgmdlC", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
554 |
"testpkgmdltags"); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
555 |
checkExit(Exit.OK); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
556 |
checkGroupOptionOrdering(); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
557 |
} |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
558 |
|
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
559 |
/** |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
560 |
* Test -group option for unnamed modules. The overview-summary.html page should group the packages accordingly. |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
561 |
*/ |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
562 |
@Test |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
563 |
void testUnnamedModuleGroupOption() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
564 |
javadoc("-d", "out-groupnomodule", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
565 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
566 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
567 |
"--frames", |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
568 |
"-overview", testSrc("overview.html"), |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
569 |
"-sourcepath", testSrc, |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
570 |
"-group", "Package Group 0", "testpkgnomodule", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
571 |
"-group", "Package Group 1", "testpkgnomodule1", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
572 |
"testpkgnomodule", "testpkgnomodule1"); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
573 |
checkExit(Exit.OK); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
574 |
checkUnnamedModuleGroupOption(); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
575 |
} |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
576 |
|
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
577 |
/** |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
578 |
* Test -group option for unnamed modules. The overview-summary.html page should group the packages accordingly. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
579 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
580 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
581 |
void testUnnamedModuleGroupOption_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
582 |
javadoc("-d", "out-groupnomodule-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
583 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
584 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
585 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
586 |
"--frames", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
587 |
"-overview", testSrc("overview.html"), |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
588 |
"-sourcepath", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
589 |
"-group", "Package Group 0", "testpkgnomodule", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
590 |
"-group", "Package Group 1", "testpkgnomodule1", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
591 |
"testpkgnomodule", "testpkgnomodule1"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
592 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
593 |
checkUnnamedModuleGroupOption_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
594 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
595 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
596 |
/** |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
597 |
* Test -group option for unnamed modules and the ordering of package groups. |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
598 |
* The overview-summary.html page should group the packages accordingly and display the group tabs in |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
599 |
* the order it was provided on the command-line. |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
600 |
*/ |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
601 |
@Test |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
602 |
void testGroupOptionPackageOrdering() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
603 |
javadoc("-d", "out-groupPkgOrder", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
604 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
605 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
606 |
"--frames", |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
607 |
"-overview", testSrc("overview.html"), |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
608 |
"-sourcepath", testSrc, |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
609 |
"-group", "Z Group", "testpkgnomodule", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
610 |
"-group", "A Group", "testpkgnomodule1", |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
611 |
"testpkgnomodule", "testpkgnomodule1"); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
612 |
checkExit(Exit.OK); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
613 |
checkGroupOptionPackageOrdering(); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
614 |
} |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
615 |
|
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
616 |
/** |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
617 |
* Test -group option for a single module. |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
618 |
*/ |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
619 |
@Test |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
620 |
void testGroupOptionSingleModule() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
621 |
javadoc("-d", "out-groupsinglemodule", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
622 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
623 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
624 |
"--frames", |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
625 |
"--module-source-path", testSrc, |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
626 |
"-group", "Module Group B", "moduleB*", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
627 |
"--module", "moduleB", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
628 |
"testpkg2mdlB", "testpkgmdlB"); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
629 |
checkExit(Exit.OK); |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
630 |
checkGroupOptionSingleModule(); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
631 |
} |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
632 |
|
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
633 |
/** |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
634 |
* Test -group option for a single module. |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
635 |
*/ |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
636 |
@Test |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
637 |
void testGroupOptionSingleModule_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
638 |
javadoc("-d", "out-groupsinglemodule-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
639 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
640 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
641 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
642 |
"--frames", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
643 |
"--module-source-path", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
644 |
"-group", "Module Group B", "moduleB*", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
645 |
"--module", "moduleB", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
646 |
"testpkg2mdlB", "testpkgmdlB"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
647 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
648 |
checkGroupOptionSingleModule_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
649 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
650 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
651 |
/** |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
652 |
* Test -group option for a single module. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
653 |
*/ |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
654 |
@Test |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
655 |
void testModuleName() { |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
656 |
javadoc("-d", "out-modulename", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
657 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
658 |
"-Xdoclint:none", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
50167
diff
changeset
|
659 |
"--frames", |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
660 |
"--module-source-path", testSrc, |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
661 |
"--module", "moduleB,test.moduleFullName", |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
662 |
"testpkg2mdlB", "testpkgmdlB", "testpkgmdlfullname"); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
663 |
checkExit(Exit.OK); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
664 |
checkModuleName(true); |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
665 |
} |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
666 |
|
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
667 |
/** |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
668 |
* Test -linkoffline option. |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
669 |
*/ |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
670 |
@Test |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
671 |
void testLinkOffline() { |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
672 |
String url = "https://docs.oracle.com/javase/9/docs/api/"; |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
673 |
javadoc("-d", "out-linkoffline", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
674 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
675 |
"--show-module-contents=all", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
676 |
"-Xdoclint:none", |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
677 |
"--module-source-path", testSrc, |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
678 |
"--module", "moduleA,moduleB", |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
679 |
"-linkoffline", url, testSrc + "/jdk", |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
680 |
"testpkgmdlA", "testpkgmdlB", "testpkg3mdlB"); |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
681 |
checkExit(Exit.OK); |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
682 |
checkLinkOffline(); |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
683 |
} |
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
684 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
685 |
void checkDescription(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
686 |
checkOutput("moduleA/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
687 |
"<!-- ============ MODULE DESCRIPTION =========== -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
688 |
+ "<a name=\"module.description\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
689 |
+ "<!-- -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
690 |
+ "</a>\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
691 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
692 |
+ "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
693 |
checkOutput("moduleB/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
694 |
"<!-- ============ MODULE DESCRIPTION =========== -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
695 |
+ "<a name=\"module.description\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
696 |
+ "<!-- -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
697 |
+ "</a>\n" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
698 |
+ "<div class=\"block\">This is a test description for the moduleB module. Search " |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
699 |
+ "word <a id=\"search_word\" class=\"searchTagResult\">search_word</a> with no description.</div>"); |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
700 |
checkOutput("overview-summary.html", found, |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
701 |
"</script>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
702 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
703 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
704 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
705 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
706 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
707 |
+ "<table summary=\"Module Summary table, listing modules, and an explanation\">\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
708 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>"); |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
709 |
checkOutput("overview-summary.html", false, |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
710 |
"</table>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
711 |
+ "</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
712 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
713 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
714 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
715 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
716 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
717 |
+ "<table summary=\"Module Summary table, listing modules, and an explanation\">\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
718 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
719 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
720 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
721 |
void checkNoDescription(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
722 |
checkOutput("moduleA/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
723 |
"<div class=\"contentContainer\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
724 |
+ "<ul class=\"blockList\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
725 |
+ "<li class=\"blockList\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
726 |
+ "<ul class=\"blockList\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
727 |
+ "<li class=\"blockList\">\n" |
44564 | 728 |
+ "<!-- ============ PACKAGES SUMMARY =========== -->"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
729 |
checkOutput("moduleB/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
730 |
"<div class=\"contentContainer\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
731 |
+ "<ul class=\"blockList\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
732 |
+ "<li class=\"blockList\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
733 |
+ "<ul class=\"blockList\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
734 |
+ "<li class=\"blockList\">\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
735 |
+ "<!-- ============ PACKAGES SUMMARY =========== -->"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
736 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
737 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
738 |
void checkHtml5Description(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
739 |
checkOutput("moduleA/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
740 |
"<section role=\"region\">\n" |
47272 | 741 |
+ "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:" |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
742 |
+ " This API element is subject to removal in a future version.</span>\n" |
47300
a905ce398074
8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents:
47299
diff
changeset
|
743 |
+ "<div class=\"deprecationComment\">This module is deprecated.</div>\n" |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
744 |
+ "</div>\n" |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
745 |
+ "<!-- ============ MODULE DESCRIPTION =========== -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
746 |
+ "<a id=\"module.description\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
747 |
+ "<!-- -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
748 |
+ "</a>\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
749 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
750 |
+ "phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>.</div>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
751 |
checkOutput("moduleB/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
752 |
"<section role=\"region\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
753 |
+ "<!-- ============ MODULE DESCRIPTION =========== -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
754 |
+ "<a id=\"module.description\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
755 |
+ "<!-- -->\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
756 |
+ "</a>\n" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
757 |
+ "<div class=\"block\">This is a test description for the moduleB module. Search " |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
758 |
+ "word <a id=\"search_word\" class=\"searchTagResult\">search_word</a> with no description.</div>"); |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
759 |
checkOutput("overview-summary.html", found, |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
760 |
"</nav>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
761 |
+ "</header>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
762 |
+ "<main role=\"main\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
763 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
764 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
765 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
766 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
767 |
+ "<div class=\"overviewSummary\">\n<table>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
768 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>"); |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
769 |
checkOutput("overview-summary.html", false, |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
770 |
"</table>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
771 |
+ "</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
772 |
+ "</main>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
773 |
+ "<main role=\"main\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
774 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
775 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
776 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
777 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
778 |
+ "<div class=\"overviewSummary\">\n<table>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
779 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
780 |
} |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
781 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
782 |
void checkHtml5NoDescription(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
783 |
checkOutput("moduleA/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
784 |
"<div class=\"contentContainer\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
785 |
+ "<ul class=\"blockList\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
786 |
+ "<li class=\"blockList\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
787 |
+ "<ul class=\"blockList\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
788 |
+ "<li class=\"blockList\">\n" |
44564 | 789 |
+ "<!-- ============ PACKAGES SUMMARY =========== -->"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
790 |
checkOutput("moduleB/module-summary.html", found, |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
791 |
"<div class=\"contentContainer\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
792 |
+ "<ul class=\"blockList\">\n" |
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
793 |
+ "<li class=\"blockList\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
794 |
+ "<ul class=\"blockList\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
795 |
+ "<li class=\"blockList\">\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
796 |
+ "<!-- ============ PACKAGES SUMMARY =========== -->"); |
37747
878801512393
8154119: Module summary page should display module description
bpatel
parents:
diff
changeset
|
797 |
} |
37943
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
798 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
799 |
void checkModuleLink() { |
37943
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
800 |
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
|
801 |
"<li>Module</li>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
802 |
checkOutput("moduleA/module-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
|
803 |
"<li class=\"navBarCell1Rev\">Module</li>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
804 |
checkOutput("moduleB/module-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
|
805 |
"<li class=\"navBarCell1Rev\">Module</li>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
806 |
checkOutput("moduleA/testpkgmdlA/class-use/TestClassInModuleA.html", true, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
807 |
"<li><a href=\"../../module-summary.html\">Module</a></li>"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
808 |
checkOutput("moduleB/testpkgmdlB/package-summary.html", true, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
809 |
"<li><a href=\"../module-summary.html\">Module</a></li>"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
810 |
checkOutput("moduleB/testpkgmdlB/TestClassInModuleB.html", true, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
811 |
"<li><a href=\"../module-summary.html\">Module</a></li>"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
812 |
checkOutput("moduleB/testpkgmdlB/class-use/TestClassInModuleB.html", true, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
813 |
"<li><a href=\"../../module-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
|
814 |
} |
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
815 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
816 |
void checkNoModuleLink() { |
37943
2efb75c09230
8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
bpatel
parents:
37747
diff
changeset
|
817 |
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
|
818 |
"<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
|
819 |
+ "<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
|
820 |
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
|
821 |
"<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
|
822 |
+ "<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
|
823 |
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
|
824 |
"<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
|
825 |
+ "<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
|
826 |
} |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
827 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
828 |
void checkModuleTags() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
829 |
checkOutput("moduletags/module-summary.html", true, |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
830 |
"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
|
831 |
+ "testpkgmdltags\"><code>TestClassInModuleTags</code></a>.", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
832 |
"Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
833 |
+ "testMethod(java.lang.String)\"><code>testMethod(String)</code></a>.", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
834 |
"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
|
835 |
"<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
|
836 |
+ "<dd>JDK 9</dd>", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
837 |
"<dt><span class=\"seeLabel\">See Also:</span></dt>\n" |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
838 |
+ "<dd>\"Test see tag\", \n" |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
839 |
+ "<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
|
840 |
+ "TestClassInModuleTags</code></a></dd>", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
841 |
"<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
|
842 |
+ "<dd>Just a regular simple tag.</dd>", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
843 |
"<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
|
844 |
+ "<dd>Just a simple module tag.</dd>", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
845 |
"<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
|
846 |
+ "<dd>1.0</dd>", |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
847 |
"<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n" |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
848 |
+ "<dd>Bhavesh Patel</dd>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
849 |
checkOutput("moduletags/testpkgmdltags/TestClassInModuleTags.html", false, |
38911
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
850 |
"<dt><span class=\"simpleTagLabel\">Module Tag:</span></dt>\n" |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
851 |
+ "<dd>Just a simple module tag.</dd>"); |
48a00b5ee366
8156077: Support javadoc tags in module documentation
bpatel
parents:
37943
diff
changeset
|
852 |
} |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
853 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
854 |
void checkModuleTags_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
855 |
checkOutput("moduletags/module-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
856 |
"Member Link: <a href=\"testpkgmdltags/TestClassInModuleTags.html#" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
857 |
+ "testMethod-java.lang.String-\"><code>testMethod(String)</code></a>."); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
858 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
859 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
860 |
void checkOverviewSummaryModules() { |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
861 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
862 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
863 |
+ "<table summary=\"Module Summary table, listing modules, and an explanation\">\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
864 |
+ "<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
|
865 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
866 |
+ "<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
|
867 |
+ "<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
|
868 |
+ "</tr>"); |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
869 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
870 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
871 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\">\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
872 |
+ "<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
|
873 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
874 |
+ "<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
|
875 |
+ "<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
|
876 |
+ "</tr>"); |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
877 |
} |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
878 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
879 |
void checkOverviewSummaryPackages() { |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
880 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
881 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
882 |
+ "<table summary=\"Module Summary table, listing modules, and an explanation\">\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
883 |
+ "<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
|
884 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
885 |
+ "<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
|
886 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
887 |
+ "</tr>", |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
888 |
"</table>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
889 |
+ "</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
890 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
891 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
892 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
893 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
894 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
895 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\">\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
896 |
+ "<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
|
897 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
898 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
899 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\">\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
900 |
+ "<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
|
901 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
902 |
+ "<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
|
903 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
904 |
+ "</tr>", |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
905 |
"</script>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
906 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
907 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
908 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
909 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
910 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
911 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\">\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
912 |
+ "<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
|
913 |
} |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
914 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
915 |
void checkHtml5OverviewSummaryModules() { |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
916 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
917 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
918 |
+ "<table>\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
919 |
+ "<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
|
920 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
921 |
+ "<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
|
922 |
+ "<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
|
923 |
+ "</tr>"); |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
924 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
925 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
926 |
+ "<table>\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
927 |
+ "<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
|
928 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
929 |
+ "<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
|
930 |
+ "<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
|
931 |
+ "</tr>"); |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
932 |
} |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
933 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
934 |
void checkHtml5OverviewSummaryPackages() { |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
935 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
936 |
"<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
937 |
+ "<table>\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
938 |
+ "<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
|
939 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
940 |
+ "<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
|
941 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
942 |
+ "</tr>", |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
943 |
"</table>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
944 |
+ "</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
945 |
+ "</main>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
946 |
+ "<main role=\"main\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
947 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
948 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
949 |
+ "</div>\n" |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
950 |
+ "<div class=\"contentContainer\"><a id=\"Packages\">\n" |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
951 |
+ "<!-- -->\n" |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
952 |
+ "</a>\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
953 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
954 |
+ "<table>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
955 |
+ "<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
|
956 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
957 |
"<div class=\"overviewSummary\">\n<table>\n" |
39586
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
958 |
+ "<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
|
959 |
+ "<tr>\n" |
e35b6ab55e00
8157987: overview-summary.html generated by javadoc should include module information
bpatel
parents:
38911
diff
changeset
|
960 |
+ "<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
|
961 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
962 |
+ "</tr>", |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
963 |
"</script>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
964 |
+ "</nav>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
965 |
+ "</header>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
966 |
+ "<main role=\"main\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
967 |
+ "<div class=\"contentContainer\">\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
968 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
969 |
+ "</div>\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
970 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
971 |
+ "<div class=\"overviewSummary\">\n<table>\n" |
44195
5860769fe2f4
8175799: module summary page shows duplicated output
bpatel
parents:
42842
diff
changeset
|
972 |
+ "<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
|
973 |
} |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
974 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
975 |
void checkModuleSummary() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
976 |
checkOutput("moduleA/module-summary.html", true, |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
977 |
"<ul class=\"subNavList\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
978 |
+ "<li>Module: </li>\n" |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
979 |
+ "<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
980 |
+ "<li><a href=\"#modules.summary\">Modules</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
981 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
982 |
+ "<li>Services</li>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
983 |
+ "</ul>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
984 |
"<!-- ============ MODULES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
985 |
+ "<a id=\"modules.summary\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
986 |
+ "<!-- -->\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
987 |
+ "</a>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
988 |
"<tr class=\"altColor\" id=\"i0\">\n" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
989 |
+ "<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
|
990 |
+ "<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
|
991 |
+ "</tr>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
992 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
993 |
+ "<a id=\"packages.summary\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
994 |
+ "<!-- -->\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
995 |
+ "</a>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
996 |
"<tr class=\"altColor\">\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
997 |
+ "<td class=\"colFirst\">transitive</td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
998 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
999 |
+ "<td class=\"colLast\">\n" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
1000 |
+ "<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
|
1001 |
+ "</td>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1002 |
+ "</tr>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1003 |
checkOutput("moduleB/module-summary.html", true, |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1004 |
"<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1005 |
+ "<li>Modules | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1006 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1007 |
+ "<li><a href=\"#services.summary\">Services</a></li>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1008 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1009 |
+ "<a id=\"packages.summary\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1010 |
+ "<!-- -->\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1011 |
+ "</a>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1012 |
"<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
|
1013 |
+ "<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
|
1014 |
+ "<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
|
1015 |
+ "</tr>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1016 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1017 |
+ "<a id=\"packages.summary\">\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1018 |
+ "<!-- -->\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1019 |
+ "</a>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1020 |
"<!-- ============ SERVICES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1021 |
+ "<a id=\"services.summary\">\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1022 |
+ "<!-- -->\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1023 |
+ "</a>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1024 |
"<tr class=\"altColor\">\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1025 |
+ "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" |
48437
dd3b97564ed7
8192007: javadoc @uses and @provides tags in the modules documentation appears before the first-sentence summary of the service type.
bpatel
parents:
48325
diff
changeset
|
1026 |
+ "<td class=\"colLast\">\n" |
dd3b97564ed7
8192007: javadoc @uses and @provides tags in the modules documentation appears before the first-sentence summary of the service type.
bpatel
parents:
48325
diff
changeset
|
1027 |
+ "<div class=\"block\">With a test description for uses.</div>\n</td>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1028 |
+ "</tr>", |
44564 | 1029 |
"<caption><span>Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1030 |
+ "<tr>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1031 |
+ "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1032 |
+ "<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
|
1033 |
+ "</tr>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1034 |
"<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
|
1035 |
+ "<tr>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1036 |
+ "<th class=\"colFirst\" scope=\"col\">Type</th>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1037 |
+ "<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
|
1038 |
+ "</tr>", |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1039 |
"<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
|
1040 |
+ "<tr>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1041 |
+ "<th class=\"colFirst\" scope=\"col\">Type</th>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1042 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1043 |
+ "</tr>"); |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1044 |
} |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1045 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1046 |
void checkModuleSummary_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1047 |
checkOutput("moduleA/module-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1048 |
"<!-- ============ MODULES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1049 |
+ "<a name=\"modules.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1050 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1051 |
+ "</a>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1052 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1053 |
+ "<a name=\"packages.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1054 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1055 |
+ "</a>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1056 |
checkOutput("moduleB/module-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1057 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1058 |
+ "<a name=\"packages.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1059 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1060 |
+ "</a>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1061 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1062 |
+ "<a name=\"packages.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1063 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1064 |
+ "</a>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1065 |
"<!-- ============ SERVICES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1066 |
+ "<a name=\"services.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1067 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1068 |
+ "</a>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1069 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1070 |
|
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1071 |
void checkAggregatorModuleSummary() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1072 |
checkOutput("moduleT/module-summary.html", true, |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1073 |
"<div class=\"header\">\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1074 |
+ "<h1 title=\"Module\" class=\"title\">Module moduleT</h1>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1075 |
+ "</div>", |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1076 |
"<div class=\"block\">This is a test description for the moduleT module. " |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
1077 |
+ "Search phrase <a id=\"searchphrase\" class=\"searchTagResult\">search phrase</a>. " |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1078 |
+ "Make sure there are no exported packages.</div>", |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1079 |
"<tbody>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1080 |
+ "<tr class=\"altColor\">\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1081 |
+ "<td class=\"colFirst\">transitive</td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1082 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleA/module-summary.html\">moduleA</a></th>\n" |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1083 |
+ "<td class=\"colLast\">\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1084 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
51862 | 1085 |
+ "phrase search phrase.</div>\n" |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1086 |
+ "</td>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1087 |
+ "</tr>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1088 |
+ "<tr class=\"rowColor\">\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1089 |
+ "<td class=\"colFirst\">transitive</td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1090 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n" |
44293
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1091 |
+ "<td class=\"colLast\">\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1092 |
+ "<div class=\"block\">This is a test description for the moduleB module.</div>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1093 |
+ "</td>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1094 |
+ "</tr>\n" |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1095 |
+ "</tbody>"); |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1096 |
} |
2f47b2c16612
8176778: javadoc does not produce summary pages for aggregated modules
ksrini
parents:
44196
diff
changeset
|
1097 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1098 |
void checkNegatedModuleSummary() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1099 |
checkOutput("moduleA/module-summary.html", false, |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1100 |
"<!-- ============ SERVICES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1101 |
+ "<a id=\"services.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1102 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1103 |
+ "</a>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1104 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1105 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1106 |
void checkNegatedModuleSummary_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1107 |
checkOutput("moduleA/module-summary.html", false, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1108 |
"<!-- ============ SERVICES SUMMARY =========== -->\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1109 |
+ "<a name=\"services.summary\">\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1110 |
+ "<!-- -->\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1111 |
+ "</a>"); |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
39586
diff
changeset
|
1112 |
} |
40229
09f4478d07e5
8154817: Fix the click-through navigation for modules
bpatel
parents:
39670
diff
changeset
|
1113 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1114 |
void checkModuleClickThroughLinks() { |
40229
09f4478d07e5
8154817: Fix the click-through navigation for modules
bpatel
parents:
39670
diff
changeset
|
1115 |
checkOutput("module-overview-frame.html", true, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1116 |
"<li><a href=\"moduleA/module-frame.html\" target=\"packageListFrame\" " |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1117 |
+ "onclick=\"updateModuleFrame('moduleA/module-type-frame.html','moduleA/module-summary.html');" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1118 |
+ "\">moduleA</a></li>", |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1119 |
"<li><a href=\"moduleB/module-frame.html\" target=\"packageListFrame\" " |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1120 |
+ "onclick=\"updateModuleFrame('moduleB/module-type-frame.html','moduleB/module-summary.html');" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
1121 |
+ "\">moduleB</a></li>"); |
40229
09f4478d07e5
8154817: Fix the click-through navigation for modules
bpatel
parents:
39670
diff
changeset
|
1122 |
checkOutput("script.js", true, |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1123 |
"function updateModuleFrame(pFrame, cFrame) {\n" |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1124 |
+ " top.packageFrame.location = pFrame;\n" |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1125 |
+ " top.classFrame.location = cFrame;\n" |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1126 |
+ "}"); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1127 |
} |
40229
09f4478d07e5
8154817: Fix the click-through navigation for modules
bpatel
parents:
39670
diff
changeset
|
1128 |
|
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1129 |
void checkModuleClickThrough(boolean found) { |
40229
09f4478d07e5
8154817: Fix the click-through navigation for modules
bpatel
parents:
39670
diff
changeset
|
1130 |
checkFiles(found, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1131 |
"moduleA/module-type-frame.html", |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1132 |
"moduleB/module-type-frame.html"); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1133 |
} |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1134 |
|
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1135 |
void checkModuleFilesAndLinks(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1136 |
checkFileAndOutput("moduleA/testpkgmdlA/package-summary.html", found, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1137 |
"<li><a href=\"../module-summary.html\">Module</a></li>", |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1138 |
"<div class=\"subTitle\"><span class=\"moduleLabelInPackage\">Module</span> " |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1139 |
+ "<a href=\"../module-summary.html\">moduleA</a></div>"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1140 |
checkFileAndOutput("moduleA/testpkgmdlA/TestClassInModuleA.html", found, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1141 |
"<li><a href=\"../module-summary.html\">Module</a></li>", |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1142 |
"<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span> " |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1143 |
+ "<a href=\"../module-summary.html\">moduleA</a></div>"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1144 |
checkFileAndOutput("moduleB/testpkgmdlB/AnnotationType.html", found, |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1145 |
"<div class=\"subTitle\"><span class=\"moduleLabelInType\">Module</span> " |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1146 |
+ "<a href=\"../module-summary.html\">moduleB</a></div>", |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1147 |
"<div class=\"subTitle\"><span class=\"packageLabelInType\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
48437
diff
changeset
|
1148 |
+ "Package</span> <a href=\"package-summary.html\">testpkgmdlB</a></div>"); |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1149 |
checkFiles(found, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1150 |
"moduleA/module-frame.html", |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1151 |
"moduleA/module-summary.html", |
40503
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1152 |
"module-overview-frame.html"); |
cb34fd6e8071
8135291: [javadoc] broken link in Package com.sun.tools.jconsole
bpatel
parents:
40308
diff
changeset
|
1153 |
} |
40511 | 1154 |
|
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1155 |
void checkModuleFrameFiles(boolean found) { |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1156 |
checkFiles(found, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1157 |
"moduleC/module-frame.html", |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1158 |
"moduleC/module-type-frame.html", |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1159 |
"module-overview-frame.html"); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1160 |
checkFiles(true, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1161 |
"moduleC/module-summary.html", |
50895
83ed34655f59
8202959: Rearrange the top and bottom navigation bar in the javadoc generated pages
jjg
parents:
50856
diff
changeset
|
1162 |
"allclasses-frame.html"); |
83ed34655f59
8202959: Rearrange the top and bottom navigation bar in the javadoc generated pages
jjg
parents:
50856
diff
changeset
|
1163 |
checkFiles(false, |
44879
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1164 |
"allclasses-noframe.html"); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1165 |
} |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1166 |
|
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1167 |
void checkAllModulesLink(boolean found) { |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1168 |
checkOutput("overview-frame.html", found, |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1169 |
"<li><a href=\"module-overview-frame.html\" target=\"packageListFrame\">All Modules</a></li>"); |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1170 |
} |
49beafe2faf3
8166306: Broken link for All Packages in java.jnlp module
bpatel
parents:
44807
diff
changeset
|
1171 |
|
40511 | 1172 |
void checkModulesInSearch(boolean found) { |
1173 |
checkOutput("index-all.html", found, |
|
1174 |
"<dl>\n" |
|
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1175 |
+ "<dt><a href=\"moduleA/module-summary.html\">moduleA</a> - module moduleA</dt>\n" |
40511 | 1176 |
+ "<dd>\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1177 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
51862 | 1178 |
+ "phrase search phrase.</div>\n" |
40511 | 1179 |
+ "</dd>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1180 |
+ "<dt><a href=\"moduleB/module-summary.html\">moduleB</a> - module moduleB</dt>\n" |
40511 | 1181 |
+ "<dd>\n" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
1182 |
+ "<div class=\"block\">This is a test description for the moduleB module.</div>\n" |
40511 | 1183 |
+ "</dd>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1184 |
+ "</dl>", |
40511 | 1185 |
"<dl>\n" |
50856
1857ca5aca37
8190876: javadoc search on "java.se" shows "java.se" the last one among other modules
hannesw
parents:
50421
diff
changeset
|
1186 |
+ "<dt><span class=\"searchTagLink\"><a href=\"moduleB/module-summary.html#search_word\">" |
1857ca5aca37
8190876: javadoc search on "java.se" shows "java.se" the last one among other modules
hannesw
parents:
50421
diff
changeset
|
1187 |
+ "search_word</a></span> - Search tag in moduleB</dt>\n" |
1857ca5aca37
8190876: javadoc search on "java.se" shows "java.se" the last one among other modules
hannesw
parents:
50421
diff
changeset
|
1188 |
+ "<dd> </dd>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1189 |
+ "<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">" |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
1190 |
+ "search phrase</a></span> - Search tag in moduleA</dt>\n" |
40511 | 1191 |
+ "<dd>with description</dd>\n" |
1192 |
+ "</dl>"); |
|
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1193 |
checkOutput("index-all.html", false, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1194 |
"<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1195 |
+ "search phrase</a></span> - Search tag in moduleA</dt>\n" |
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1196 |
+ "<dd>with description</dd>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1197 |
+ "<dt><span class=\"searchTagLink\"><a href=\"moduleA/module-summary.html#searchphrase\">" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1198 |
+ "search phrase</a></span> - Search tag in moduleA</dt>\n" |
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1199 |
+ "<dd>with description</dd>"); |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1200 |
} |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1201 |
|
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1202 |
void checkModuleModeCommon() { |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1203 |
checkOutput("overview-summary.html", true, |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1204 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"moduleA/module-summary.html\">moduleA</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1205 |
+ "<td class=\"colLast\">\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1206 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
51862 | 1207 |
+ "phrase search phrase.</div>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1208 |
+ "</td>", |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1209 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"moduleB/module-summary.html\">moduleB</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1210 |
+ "<td class=\"colLast\">\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1211 |
+ "<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
|
1212 |
+ "</td>", |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1213 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags/module-summary.html\">moduletags</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1214 |
+ "<td class=\"colLast\">\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1215 |
+ "<div class=\"block\">This is a test description for the moduletags module.<br>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1216 |
+ " Type Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1217 |
+ " Member Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html#testMethod(java.lang.String)\"><code>testMethod(String)</code></a>.<br>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1218 |
+ " Package Link: <a href=\"moduletags/testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1219 |
+ "</td>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1220 |
checkOutput("moduleA/module-summary.html", true, |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1221 |
"<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1222 |
+ "<li><a href=\"#modules.summary\">Modules</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1223 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1224 |
+ "<li>Services</li>", |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1225 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n" |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1226 |
+ "<td class=\"colLast\"><a href=\"../moduleB/testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n"); |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1227 |
checkOutput("moduleB/module-summary.html", true, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1228 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/TestClassInModuleB.html\" title=\"class in testpkgmdlB\">TestClassInModuleB</a></th>\n" |
48437
dd3b97564ed7
8192007: javadoc @uses and @provides tags in the modules documentation appears before the first-sentence summary of the service type.
bpatel
parents:
48325
diff
changeset
|
1229 |
+ "<td class=\"colLast\">\n" |
dd3b97564ed7
8192007: javadoc @uses and @provides tags in the modules documentation appears before the first-sentence summary of the service type.
bpatel
parents:
48325
diff
changeset
|
1230 |
+ "<div class=\"block\">With a test description for uses.</div>\n</td>\n"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1231 |
checkOutput("moduletags/module-summary.html", true, |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1232 |
"<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1233 |
+ "<li><a href=\"#modules.summary\">Modules</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1234 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1235 |
+ "<li>Services</li>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1236 |
"<div class=\"requiresSummary\">\n<table>\n" |
44564 | 1237 |
+ "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1238 |
"<td class=\"colFirst\">transitive</td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1239 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1240 |
+ "<td class=\"colLast\">\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1241 |
+ "<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
|
1242 |
+ "</td>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1243 |
"<div class=\"packagesSummary\">\n<table>\n" |
44564 | 1244 |
+ "<caption><span>Indirect Exports</span><span class=\"tabEnd\"> </span></caption>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1245 |
"<td class=\"colFirst\">transitive static</td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1246 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleA/module-summary.html\">moduleA</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1247 |
+ "<td class=\"colLast\">\n" |
45913
90f6a96c1603
8181622: new {@index} tag generates multiple index entries
bpatel
parents:
45771
diff
changeset
|
1248 |
+ "<div class=\"block\">This is a test description for the moduleA module with a Search " |
51862 | 1249 |
+ "phrase search phrase.</div>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1250 |
+ "</td>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1251 |
"<div class=\"requiresSummary\">\n<table>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1252 |
+ "<caption><span>Requires</span><span class=\"tabEnd\"> </span></caption>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1253 |
+ "<tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1254 |
+ "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1255 |
+ "<th class=\"colSecond\" scope=\"col\">Module</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1256 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1257 |
"<div class=\"requiresSummary\">\n<table>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1258 |
+ "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1259 |
+ "<tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1260 |
+ "<th class=\"colFirst\" scope=\"col\">Modifier</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1261 |
+ "<th class=\"colSecond\" scope=\"col\">Module</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1262 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1263 |
"<div class=\"packagesSummary\">\n<table>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1264 |
+ "<caption><span>Indirect Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1265 |
+ "<tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1266 |
+ "<th class=\"colFirst\" scope=\"col\">From</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1267 |
+ "<th class=\"colLast\" scope=\"col\">Packages</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1268 |
+ "</tr>\n", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1269 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleB/module-summary.html\">moduleB</a></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1270 |
+ "<td class=\"colLast\"><a href=\"../moduleB/testpkgmdlB/package-summary.html\">testpkgmdlB</a></td>\n"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1271 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1272 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1273 |
void checkModuleModeCommon_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1274 |
checkOutput("overview-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1275 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"moduletags/module-summary.html\">moduletags</a></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1276 |
+ "<td class=\"colLast\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1277 |
+ "<div class=\"block\">This is a test description for the moduletags module.<br>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1278 |
+ " Type Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html\" title=\"class in testpkgmdltags\"><code>TestClassInModuleTags</code></a>.<br>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1279 |
+ " Member Link: <a href=\"moduletags/testpkgmdltags/TestClassInModuleTags.html#testMethod-java.lang.String-\"><code>testMethod(String)</code></a>.<br>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1280 |
+ " Package Link: <a href=\"moduletags/testpkgmdltags/package-summary.html\"><code>testpkgmdltags</code></a>.<br></div>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1281 |
+ "</td>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1282 |
checkOutput("moduletags/module-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1283 |
"<div class=\"requiresSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1284 |
+ "<table summary=\"Indirect Requires table, listing modules, and an explanation\">\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1285 |
+ "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1286 |
"<div class=\"packagesSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1287 |
+ "<table summary=\"Indirect Exports table, listing modules, and packages\">\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1288 |
+ "<caption><span>Indirect Exports</span><span class=\"tabEnd\"> </span></caption>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1289 |
"<div class=\"requiresSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1290 |
+ "<table summary=\"Requires table, listing modules, and an explanation\">\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1291 |
+ "<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
|
1292 |
+ "<tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1293 |
+ "<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
|
1294 |
+ "<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
|
1295 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1296 |
"<div class=\"requiresSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1297 |
+ "<table summary=\"Indirect Requires table, listing modules, and an explanation\">\n" |
44564 | 1298 |
+ "<caption><span>Indirect Requires</span><span class=\"tabEnd\"> </span></caption>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1299 |
+ "<tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1300 |
+ "<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
|
1301 |
+ "<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
|
1302 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1303 |
"<div class=\"packagesSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1304 |
+ "<table summary=\"Indirect Opens table, listing modules, and packages\">\n" |
44564 | 1305 |
+ "<caption><span>Indirect Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1306 |
+ "<tr>\n" |
44564 | 1307 |
+ "<th class=\"colFirst\" scope=\"col\">From</th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1308 |
+ "<th class=\"colLast\" scope=\"col\">Packages</th>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1309 |
+ "</tr>\n"); |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1310 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1311 |
|
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1312 |
void checkModuleModeApi(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1313 |
checkOutput("moduleA/module-summary.html", found, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1314 |
"<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
|
1315 |
+ "<td class=\"colLast\"> </td>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1316 |
checkOutput("moduleB/module-summary.html", found, |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1317 |
"<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1318 |
+ "<li>Modules | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1319 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1320 |
+ "<li><a href=\"#services.summary\">Services</a></li>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1321 |
"<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
|
1322 |
+ "<td class=\"colLast\"> </td>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1323 |
"<div class=\"packagesSummary\">\n<table>\n" |
44564 | 1324 |
+ "<caption><span>Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1325 |
+ "<tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1326 |
+ "<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
|
1327 |
+ "<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
|
1328 |
+ "</tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1329 |
+ "<tbody>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1330 |
+ "<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
|
1331 |
+ "<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
|
1332 |
+ "<td class=\"colLast\"> </td>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1333 |
+ "</tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1334 |
+ "</tbody>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1335 |
+ "</table>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1336 |
checkOutput("moduletags/module-summary.html", true, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1337 |
"<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
|
1338 |
+ "<td class=\"colLast\"> </td>"); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1339 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1340 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1341 |
void checkModuleModeApi_html4(boolean found) { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1342 |
checkOutput("moduleB/module-summary.html", found, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1343 |
"<div class=\"packagesSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1344 |
+ "<table summary=\"Packages table, listing packages, and an explanation\">\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1345 |
+ "<caption><span>Opens</span><span class=\"tabEnd\"> </span></caption>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1346 |
+ "<tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1347 |
+ "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1348 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1349 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1350 |
+ "<tbody>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1351 |
+ "<tr class=\"altColor\" id=\"i0\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1352 |
+ "<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1353 |
+ "<td class=\"colLast\"> </td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1354 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1355 |
+ "</tbody>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1356 |
+ "</table>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1357 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1358 |
|
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1359 |
void checkModuleModeAll(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1360 |
checkOutput("moduleA/module-summary.html", found, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1361 |
"<td class=\"colFirst\"> </td>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1362 |
+ "<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
|
1363 |
+ "<td class=\"colLast\"> </td>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1364 |
"<td class=\"colFirst\"> </td>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1365 |
+ "<th class=\"colSecond\" scope=\"row\"><a href=\"../moduleC/module-summary.html\">moduleC</a></th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1366 |
+ "<td class=\"colLast\">\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1367 |
+ "<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
|
1368 |
+ "</td>", |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1369 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleC/module-summary.html\">moduleC</a></th>\n" |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1370 |
+ "<td class=\"colLast\"><a href=\"../moduleC/testpkgmdlC/package-summary.html\">testpkgmdlC</a></td>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1371 |
"<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
|
1372 |
+ "<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
|
1373 |
+ "<td class=\"colLast\"> </td>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1374 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\" aria-selected=\"true\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1375 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"0\" onkeydown=\"switchTab(event)\" id=\"t0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1376 |
+ " class=\"activeTableTab\">All Packages</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1377 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1378 |
+ " class=\"tableTab\" onclick=\"show(1);\">Exports</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1379 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t3\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1380 |
+ " class=\"tableTab\" onclick=\"show(4);\">Concealed</button></div>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1381 |
"<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
|
1382 |
+ "<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
|
1383 |
+ "<td class=\"colLast\"> </td>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1384 |
checkOutput("moduleB/module-summary.html", found, |
49551
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1385 |
"<li><a href=\"#module.description\">Description</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1386 |
+ "<li><a href=\"#modules.summary\">Modules</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1387 |
+ "<li><a href=\"#packages.summary\">Packages</a> | </li>\n" |
0d4786e42471
8196200: Implement a navigation builder in javadoc
bpatel
parents:
49139
diff
changeset
|
1388 |
+ "<li><a href=\"#services.summary\">Services</a></li>", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1389 |
"<th class=\"colFirst\" scope=\"row\"><a href=\"testpkgmdlB/package-summary.html\">testpkgmdlB</a></th>\n" |
48325 | 1390 |
+ "<td class=\"colSecond\">None</td>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1391 |
+ "<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
|
1392 |
+ "<td class=\"colLast\"> </td>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1393 |
"<td class=\"colFirst\"> </td>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1394 |
+ "<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
|
1395 |
+ "<td class=\"colLast\"> </td>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1396 |
"<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
|
1397 |
+ "<td class=\"colLast\"> </td>", |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1398 |
"<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
|
1399 |
+ "<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
|
1400 |
+ "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
|
1401 |
"<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
|
1402 |
+ "<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
|
1403 |
+ "title=\"class in testpkgmdlB\">TestClassInModuleB</a>)</td>", |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1404 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\" aria-selected=\"true\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1405 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"0\" onkeydown=\"switchTab(event)\" id=\"t0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1406 |
+ " class=\"activeTableTab\">All Packages</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1407 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1408 |
+ " class=\"tableTab\" onclick=\"show(1);\">Exports</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1409 |
+ " aria-controls=\"packagesSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t2\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1410 |
+ " class=\"tableTab\" onclick=\"show(2);\">Opens</button></div>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1411 |
checkOutput("moduleC/module-summary.html", found, |
44564 | 1412 |
"<caption><span>Exports</span><span class=\"tabEnd\"> </span></caption>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1413 |
+ "<tr>\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1414 |
+ "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
48325 | 1415 |
+ "<th class=\"colSecond\" scope=\"col\">Exported To Modules</th>\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1416 |
+ "<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
|
1417 |
+ "</tr>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1418 |
checkOutput("moduletags/module-summary.html", true, |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1419 |
"<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
|
1420 |
+ "<td class=\"colLast\"> </td>"); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1421 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
42823
diff
changeset
|
1422 |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1423 |
void checkModuleDeprecation(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1424 |
checkOutput("moduleA/module-summary.html", found, |
47272 | 1425 |
"<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal:" |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44564
diff
changeset
|
1426 |
+ " This API element is subject to removal in a future version.</span>\n" |
47300
a905ce398074
8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents:
47299
diff
changeset
|
1427 |
+ "<div class=\"deprecationComment\">This module is deprecated.</div>\n" |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1428 |
+ "</div>"); |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1429 |
checkOutput("deprecated-list.html", found, |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1430 |
"<ul>\n" |
47299 | 1431 |
+ "<li><a href=\"#forRemoval\">For Removal</a></li>\n" |
1432 |
+ "<li><a href=\"#module\">Modules</a></li>\n" |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1433 |
+ "</ul>", |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1434 |
"<tr class=\"altColor\">\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1435 |
+ "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"moduleA/module-summary.html\">moduleA</a></th>\n" |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1436 |
+ "<td class=\"colLast\">\n" |
47300
a905ce398074
8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents:
47299
diff
changeset
|
1437 |
+ "<div class=\"deprecationComment\">This module is deprecated.</div>\n" |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1438 |
+ "</td>\n" |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1439 |
+ "</tr>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1440 |
checkOutput("moduleB/module-summary.html", !found, |
47272 | 1441 |
"<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span>\n" |
47300
a905ce398074
8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents:
47299
diff
changeset
|
1442 |
+ "<div class=\"deprecationComment\">This module is deprecated using just the javadoc tag.</div>\n"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1443 |
checkOutput("moduletags/module-summary.html", found, |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1444 |
"<p>@Deprecated\n" |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1445 |
+ "</p>", |
47272 | 1446 |
"<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span></div>"); |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1447 |
} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1448 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1449 |
void checkModuleAnnotation() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1450 |
checkOutput("moduleB/module-summary.html", true, |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1451 |
"<p><a href=\"testpkgmdlB/AnnotationType.html\" title=\"annotation in testpkgmdlB\">@AnnotationType</a>(<a href=\"testpkgmdlB/AnnotationType.html#optional()\">optional</a>=\"Module Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1452 |
+ " <a href=\"testpkgmdlB/AnnotationType.html#required()\">required</a>=2016)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1453 |
+ "</p>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1454 |
checkOutput("moduleB/module-summary.html", false, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1455 |
"@AnnotationTypeUndocumented"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1456 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1457 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1458 |
void checkModuleAnnotation_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1459 |
checkOutput("moduleB/module-summary.html", true, |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42494
diff
changeset
|
1460 |
"<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
|
1461 |
+ " <a href=\"testpkgmdlB/AnnotationType.html#required--\">required</a>=2016)\n" |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41157
diff
changeset
|
1462 |
+ "</p>"); |
44196
f88c0e9cb102
8174974: Annotation type pages generated by javadoc is missing module information
bpatel
parents:
44195
diff
changeset
|
1463 |
} |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1464 |
|
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1465 |
void checkOverviewFrame(boolean found) { |
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1466 |
checkOutput("index.html", !found, |
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1467 |
"<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
|
1468 |
checkOutput("index.html", found, |
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1469 |
"<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
|
1470 |
} |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1471 |
|
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1472 |
void checkModuleSummaryNoExported(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1473 |
checkOutput("moduleNoExport/module-summary.html", found, |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1474 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1475 |
+ "<a id=\"packages.summary\">\n" |
44689
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1476 |
+ "<!-- -->\n" |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1477 |
+ "</a>", |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1478 |
"<caption><span>Concealed</span><span class=\"tabEnd\"> </span></caption>"); |
53c703004306
8175823: doclet crashes when documenting a single class in a module.
bpatel
parents:
44684
diff
changeset
|
1479 |
} |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1480 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1481 |
void checkModuleSummaryNoExported_html4(boolean found) { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1482 |
checkOutput("moduleNoExport/module-summary.html", found, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1483 |
"<!-- ============ PACKAGES SUMMARY =========== -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1484 |
+ "<a name=\"packages.summary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1485 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1486 |
+ "</a>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1487 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1488 |
|
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1489 |
void checkGroupOption() { |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1490 |
checkOutput("overview-summary.html", true, |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1491 |
"<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1492 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1493 |
+ "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1494 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1495 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Modules</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1496 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1497 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1498 |
+ " onclick=\"show(1);\">Module Group A</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1499 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1500 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">Module Group B & C</button><button" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1501 |
+ " role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1502 |
+ " onkeydown=\"switchTab(event)\" id=\"t4\" class=\"tableTab\" onclick=\"show(4);\">" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1503 |
+ "Other Modules</button></div>\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1504 |
+ "<div id=\"overviewSummary_tabpanel\" role=\"tabpanel\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1505 |
+ "<table aria-labelledby=\"t0\">", |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1506 |
"var data = {\"i0\":1,\"i1\":2,\"i2\":2,\"i3\":4};\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1507 |
+ "var tabs = {65535:[\"t0\",\"All Modules\"],1:[\"t1\",\"Module Group A\"],2:[\"t2\",\"Module Group B & C\"],4:[\"t4\",\"Other Modules\"]};\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1508 |
+ "var altColor = \"altColor\";\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1509 |
+ "var rowColor = \"rowColor\";\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1510 |
+ "var tableTab = \"tableTab\";\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1511 |
+ "var activeTableTab = \"activeTableTab\";"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1512 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1513 |
"<div class=\"overviewSummary\">\n<table>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1514 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1515 |
"Java SE Modules"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1516 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1517 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1518 |
void checkGroupOption_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1519 |
checkOutput("overview-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1520 |
"<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1521 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1522 |
+ "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1523 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1524 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Modules</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1525 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1526 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1527 |
+ " onclick=\"show(1);\">Module Group A</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1528 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1529 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">Module Group B & C</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1530 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1531 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t4\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1532 |
+ " onclick=\"show(4);\">Other Modules</button></div>\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1533 |
+ "<div id=\"overviewSummary_tabpanel\" role=\"tabpanel\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1534 |
+ "<table summary=\"Module Summary table, listing modules, and an explanation\" aria-labe", |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1535 |
"var data = {\"i0\":1,\"i1\":2,\"i2\":2,\"i3\":4};\n" |
47847 | 1536 |
+ "var tabs = {65535:[\"t0\",\"All Modules\"],1:[\"t1\",\"Module Group A\"],2:[\"t2\",\"Module Group B & C\"],4:[\"t4\",\"Other Modules\"]};\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1537 |
+ "var altColor = \"altColor\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1538 |
+ "var rowColor = \"rowColor\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1539 |
+ "var tableTab = \"tableTab\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1540 |
+ "var activeTableTab = \"activeTableTab\";"); |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1541 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1542 |
"<div class=\"overviewSummary\">\n<table summary=\"Module Summary table, listing modules, and an explanation\">\n" |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1543 |
+ "<caption><span>Modules</span><span class=\"tabEnd\"> </span></caption>", |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1544 |
"Java SE Modules"); |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1545 |
} |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1546 |
|
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1547 |
void checkGroupOptionOrdering() { |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1548 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1549 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1550 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1551 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Modules</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1552 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1553 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1554 |
+ " onclick=\"show(1);\">B Group</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1555 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1556 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">C Group</button><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1557 |
+ " aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1558 |
+ " onkeydown=\"switchTab(event)\" id=\"t4\" class=\"tableTab\" onclick=\"show(4);\">A Group" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1559 |
+ "</button><button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1560 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t8\" class=\"tableTab\" onclick=\"show(8);\">" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1561 |
+ "Other Modules</button></div>", |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1562 |
"var tabs = {65535:[\"t0\",\"All Modules\"],1:[\"t1\",\"B Group\"],2:[\"t2\",\"C Group\"]," |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1563 |
+ "4:[\"t4\",\"A Group\"],8:[\"t8\",\"Other Modules\"]};"); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1564 |
checkOutput("overview-summary.html", false, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1565 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1566 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1567 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Modules</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1568 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1569 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1570 |
+ " onclick=\"show(1);\">A Group</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1571 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1572 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">B Group</button><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1573 |
+ " aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1574 |
+ " onkeydown=\"switchTab(event)\" id=\"t4\" class=\"tableTab\" onclick=\"show(4);\">C Group" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1575 |
+ "</button><button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1576 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t8\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1577 |
+ " onclick=\"show(8);\">Other Modules</button></div>", |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1578 |
"Java SE Modules"); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1579 |
} |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1580 |
|
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1581 |
void checkUnnamedModuleGroupOption() { |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1582 |
checkOutput("overview-summary.html", true, |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1583 |
"<div class=\"contentContainer\">\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1584 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1585 |
+ "</div>\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1586 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1587 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1588 |
+ "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1589 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1590 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Packages</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1591 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1592 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1593 |
+ " onclick=\"show(1);\">Package Group 0</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1594 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1595 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">Package Group 1</button></div>\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1596 |
+ "<div id=\"overviewSummary_tabpanel\" role=\"tabpanel\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1597 |
+ "<table aria-labelledby=\"t0\">", |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1598 |
"var data = {\"i0\":1,\"i1\":2};\n" |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1599 |
+ "var tabs = {65535:[\"t0\",\"All Packages\"],1:[\"t1\",\"Package Group 0\"],2:[\"t2\",\"Package Group 1\"]};\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1600 |
+ "var altColor = \"altColor\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1601 |
+ "var rowColor = \"rowColor\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1602 |
+ "var tableTab = \"tableTab\";\n" |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1603 |
+ "var activeTableTab = \"activeTableTab\";"); |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1604 |
} |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1605 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1606 |
void checkUnnamedModuleGroupOption_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1607 |
checkOutput("overview-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1608 |
"<div class=\"contentContainer\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1609 |
+ "<div class=\"block\">The overview summary page header.</div>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1610 |
+ "</div>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1611 |
+ "<div class=\"contentContainer\">\n" |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1612 |
+ "<div class=\"overviewSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1613 |
+ "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1614 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1615 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Packages" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1616 |
+ "</button><button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1617 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\" onclick=\"show(1);\">" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1618 |
+ "Package Group 0</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1619 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t2\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1620 |
+ " class=\"tableTab\" onclick=\"show(2);\">Package Group 1</button></div>\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1621 |
+ "<div id=\"overviewSummary_tabpanel\" role=\"tabpanel\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1622 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\" aria-labelledby=\"t0\">"); |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1623 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1624 |
|
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1625 |
void checkGroupOptionPackageOrdering() { |
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1626 |
checkOutput("overview-summary.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1627 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1628 |
+ " aria-selected=\"true\" aria-controls=\"overviewSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1629 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Packages</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1630 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"overviewSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1631 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t1\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1632 |
+ " onclick=\"show(1);\">Z Group</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1633 |
+ " aria-controls=\"overviewSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1634 |
+ " id=\"t2\" class=\"tableTab\" onclick=\"show(2);\">A Group</button></div>", |
47447
9887d1bc3e9c
8183037: Overview summary page should have a table with tabs for groups
bpatel
parents:
47300
diff
changeset
|
1635 |
"var tabs = {65535:[\"t0\",\"All Packages\"],1:[\"t1\",\"Z Group\"],2:[\"t2\",\"A Group\"]};"); |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1636 |
} |
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1637 |
|
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1638 |
void checkGroupOptionSingleModule() { |
50421
ac888403369e
8190875: modules not listed in overview/index page
pmuthuswamy
parents:
50293
diff
changeset
|
1639 |
checkOutput("index.html", true, |
ac888403369e
8190875: modules not listed in overview/index page
pmuthuswamy
parents:
50293
diff
changeset
|
1640 |
"window.location.replace('moduleB/module-summary.html')"); |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1641 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1642 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48759
diff
changeset
|
1643 |
void checkGroupOptionSingleModule_html4() { |
50421
ac888403369e
8190875: modules not listed in overview/index page
pmuthuswamy
parents:
50293
diff
changeset
|
1644 |
checkOutput("index.html", true, |
ac888403369e
8190875: modules not listed in overview/index page
pmuthuswamy
parents:
50293
diff
changeset
|
1645 |
"window.location.replace('moduleB/module-summary.html')"); |
45157
f5f796453339
8178043: Support grouping modules in unified javadoc
bpatel
parents:
44879
diff
changeset
|
1646 |
} |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1647 |
|
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1648 |
void checkModuleName(boolean found) { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1649 |
checkOutput("test.moduleFullName/module-summary.html", found, |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1650 |
"<div class=\"header\">\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1651 |
+ "<h1 title=\"Module\" class=\"title\">Module test.moduleFullName</h1>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1652 |
+ "</div>"); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1653 |
checkOutput("index-all.html", found, |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1654 |
"<h2 class=\"title\">T</h2>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1655 |
+ "<dl>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1656 |
+ "<dt><a href=\"test.moduleFullName/module-summary.html\">test.moduleFullName</a> - module test.moduleFullName</dt>\n" |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1657 |
+ "<dd>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1658 |
+ "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1659 |
+ "</dd>"); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1660 |
checkOutput("module-overview-frame.html", found, |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1661 |
"<h2 title=\"Modules\">Modules</h2>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1662 |
+ "<ul title=\"Modules\">\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1663 |
+ "<li><a href=\"moduleB/module-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('moduleB/module-type-frame.html','moduleB/module-summary.html');\">moduleB</a></li>\n" |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1664 |
+ "<li><a href=\"test.moduleFullName/module-frame.html\" target=\"packageListFrame\" onclick=\"updateModuleFrame('test.moduleFullName/module-type-frame.html','test.moduleFullName/module-summary.html');\">test.moduleFullName</a></li>\n" |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1665 |
+ "</ul>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1666 |
checkOutput("test.moduleFullName/module-summary.html", !found, |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1667 |
"<div class=\"header\">\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1668 |
+ "<h1 title=\"Module\" class=\"title\">Module moduleFullName</h1>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1669 |
+ "</div>"); |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1670 |
checkOutput("index-all.html", !found, |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1671 |
"<dl>\n" |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1672 |
+ "<dt><a href=\"test.moduleFullName/module-summary.html\">moduleFullName</a> - module moduleFullName</dt>\n" |
45771
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1673 |
+ "<dd>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1674 |
+ "<div class=\"block\">This is a test description for the test.moduleFullName.</div>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1675 |
+ "</dd>\n" |
e447c20c3ff9
8182736: javadoc generates bad names and broken module graph links
jjg
parents:
45157
diff
changeset
|
1676 |
+ "</dl>"); |
47300
a905ce398074
8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents:
47299
diff
changeset
|
1677 |
} |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1678 |
|
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1679 |
void checkLinkOffline() { |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1680 |
checkOutput("moduleB/testpkg3mdlB/package-summary.html", true, |
51861
f7d40158eb2f
8205593: Javadoc -link makes broken links if module name matches package name
pmuthuswamy
parents:
50895
diff
changeset
|
1681 |
"<a href=\"https://docs.oracle.com/javase/9/docs/api/java.base/java/lang/String.html?is-external=true\" " |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1682 |
+ "title=\"class or interface in java.lang\" class=\"externalLink\"><code>Link to String Class</code></a>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1683 |
checkOutput("moduleB/testpkg3mdlB/package-summary.html", true, |
51861
f7d40158eb2f
8205593: Javadoc -link makes broken links if module name matches package name
pmuthuswamy
parents:
50895
diff
changeset
|
1684 |
"<a href=\"https://docs.oracle.com/javase/9/docs/api/java.base/java/lang/package-summary.html?is-external=true\" " |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1685 |
+ "class=\"externalLink\"><code>Link to java.lang package</code></a>"); |
48759
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1686 |
checkOutput("moduleB/testpkg3mdlB/package-summary.html", true, |
ffa68af7da87
8195795: Organize output files by module/package, not just package
jjg
parents:
48654
diff
changeset
|
1687 |
"<a href=\"https://docs.oracle.com/javase/9/docs/api/java.base/module-summary.html?is-external=true\" " |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1688 |
+ "class=\"externalLink\"><code>Link to java.base module</code></a>"); |
42494
8c5efe520e34
8168688: javadoc top left frame should display all modules while in module mode
bpatel
parents:
42407
diff
changeset
|
1689 |
} |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1690 |
|
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1691 |
void checkAllPkgsAllClasses(boolean found) { |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1692 |
checkOutput("allclasses-index.html", true, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1693 |
"<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1694 |
+ " aria-selected=\"true\" aria-controls=\"typeSummary_tabpanel\" tabindex=\"0\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1695 |
+ " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Classes</button>" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1696 |
+ "<button role=\"tab\" aria-selected=\"false\" aria-controls=\"typeSummary_tabpanel\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1697 |
+ " tabindex=\"-1\" onkeydown=\"switchTab(event)\" id=\"t2\" class=\"tableTab\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1698 |
+ " onclick=\"show(2);\">Class Summary</button><button role=\"tab\" aria-selected=\"false\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1699 |
+ " aria-controls=\"typeSummary_tabpanel\" tabindex=\"-1\" onkeydown=\"switchTab(event)\"" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1700 |
+ " id=\"t6\" class=\"tableTab\" onclick=\"show(32);\">Annotation Types Summary</button></div>\n", |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1701 |
"<tr>\n" |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1702 |
+ "<th class=\"colFirst\" scope=\"col\">Class</th>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1703 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1704 |
+ "</tr>"); |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1705 |
checkOutput("allpackages-index.html", true, |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1706 |
"<caption><span>Package Summary</span><span class=\"tabEnd\"> </span></caption>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1707 |
+ "<tr>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1708 |
+ "<th class=\"colFirst\" scope=\"col\">Package</th>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1709 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1710 |
+ "</tr>\n"); |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1711 |
checkOutput("allclasses-index.html", found, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1712 |
"<table aria-labelledby=\"t0\">\n"); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1713 |
checkOutput("allpackages-index.html", found, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1714 |
"<div class=\"packagesSummary\">\n<table>\n"); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1715 |
checkOutput("allclasses-index.html", !found, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1716 |
"<table summary=\"Class Summary table, listing classes, and an explanation\" aria-labelledby=\"t0\">"); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1717 |
checkOutput("allpackages-index.html", !found, |
52616
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1718 |
"<div class=\"packagesSummary\">\n" |
1a395165c09b
8184205: Captions on tabbed tables are squashed together
pmuthuswamy
parents:
51895
diff
changeset
|
1719 |
+ "<table summary=\"Package Summary table, listing packages, and an explanation\">"); |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1720 |
checkOutput("type-search-index.js", true, |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1721 |
"{\"l\":\"All Classes\",\"url\":\"allclasses-index.html\"}"); |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1722 |
checkOutput("package-search-index.js", true, |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1723 |
"{\"l\":\"All Packages\",\"url\":\"allpackages-index.html\"}"); |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1724 |
checkOutput("index-all.html", true, |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1725 |
"<br><a href=\"allclasses-index.html\">All Classes</a> " |
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1726 |
+ "<a href=\"allpackages-index.html\">All Packages</a>"); |
48295
c79d31ba84b9
8164407: Add module support for -link and -linkoffline javadoc option
bpatel
parents:
47861
diff
changeset
|
1727 |
} |
50167
cc705c956798
8196201: Generate pages to list all classes and all packages in javadoc output
bpatel
parents:
50118
diff
changeset
|
1728 |
} |