author | darcy |
Tue, 25 Sep 2018 13:31:51 -0700 | |
changeset 51873 | e0153fc0a843 |
parent 51127 | c2e676c2cf7b |
child 53097 | 2e82ca64b25d |
permissions | -rw-r--r-- |
10 | 1 |
/* |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
2 |
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
10 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5520 | 19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
10 | 22 |
*/ |
23 |
||
24 |
/* |
|
25 |
* @test |
|
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
26 |
* @bug 4789689 4905985 4927164 4827184 4993906 5004549 7025314 7010344 8025633 8026567 8162363 |
51873
e0153fc0a843
8211127: TestNewLanguageFeatures.java fails after JDK-8173730
darcy
parents:
51127
diff
changeset
|
27 |
* 8175200 8186332 8182765 8196202 8187288 8173730 |
10 | 28 |
* @summary Run Javadoc on a set of source files that demonstrate new |
29 |
* language features. Check the output to ensure that the new |
|
30 |
* language features are properly documented. |
|
31 |
* @author jamieh |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
32 |
* @library ../lib |
36526 | 33 |
* @modules jdk.javadoc/jdk.javadoc.internal.tool |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
34 |
* @build JavadocTester |
10 | 35 |
* @run main TestNewLanguageFeatures |
36 |
*/ |
|
37 |
||
38 |
public class TestNewLanguageFeatures extends JavadocTester { |
|
39 |
||
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
40 |
public static void main(String... args) throws Exception { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
41 |
TestNewLanguageFeatures tester = new TestNewLanguageFeatures(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
42 |
tester.runTests(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
43 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
44 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
45 |
@Test |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
46 |
void test() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
47 |
javadoc("-Xdoclint:none", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
48 |
"-d", "out", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
49 |
"-use", |
50293
edfb87b2520e
8196202: Javadoc should not generate frames by default
jjg
parents:
49139
diff
changeset
|
50 |
"--frames", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
51 |
"-sourcepath", testSrc, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
52 |
"pkg", "pkg1", "pkg2"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
53 |
checkExit(Exit.OK); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
54 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
55 |
checkEnums(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
56 |
checkTypeParameters(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
57 |
checkVarArgs(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
58 |
checkAnnotationTypeUsage(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
59 |
} |
10 | 60 |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
61 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
62 |
void test_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
63 |
javadoc("-Xdoclint:none", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
64 |
"-d", "out-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
65 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
66 |
"-use", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
67 |
"-sourcepath", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
68 |
"pkg", "pkg1", "pkg2"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
69 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
70 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
71 |
checkTypeParameters_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
72 |
checkVarArgs_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
73 |
checkAnnotationTypeUsage_html4(); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
74 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
75 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
76 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
77 |
// ENUM TESTING |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
78 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
79 |
void checkEnums() { |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
80 |
checkOutput("pkg/Coin.html", true, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
81 |
// Make sure enum header is correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
82 |
"Enum Coin</h2>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
83 |
// Make sure enum signature is correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
84 |
"<pre>public enum " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
85 |
+ "<span class=\"typeNameLabel\">Coin</span>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
86 |
+ "extends java.lang.Enum<<a href=\"Coin.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
87 |
+ "title=\"enum in pkg\">Coin</a>></pre>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
88 |
// Check for enum constant section |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
89 |
"<caption><span>Enum Constants" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
90 |
+ "</span><span class=\"tabEnd\"> </span></caption>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
91 |
// Detail for enum constant |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
92 |
"<span class=\"memberNameLink\"><a href=\"#Dime\">Dime</a></span>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
93 |
// Automatically insert documentation for values() and valueOf(). |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
94 |
"Returns an array containing the constants of this enum type,", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
95 |
"Returns the enum constant of this type with the specified name", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
96 |
"Overloaded valueOf() method has correct documentation.", |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
97 |
"Overloaded values method has correct documentation.", |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
98 |
"<pre class=\"methodSignature\">public static <a href=\"Coin.html\" title=\"enum in pkg\">Coin</a>" + |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
99 |
" valueOf​(java.lang.String name)</pre>\n" + |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
100 |
"<div class=\"block\">Returns the enum constant of this type with the specified name.\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
101 |
"The string must match <i>exactly</i> an identifier used to declare an\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
102 |
"enum constant in this type. (Extraneous whitespace characters are \n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
103 |
"not permitted.)</div>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
104 |
"<dl>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
105 |
"<dt><span class=\"paramLabel\">Parameters:</span></dt>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
106 |
"<dd><code>name</code> - the name of the enum constant to be returned.</dd>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
107 |
"<dt><span class=\"returnLabel\">Returns:</span></dt>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
108 |
"<dd>the enum constant with the specified name</dd>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
109 |
"<dt><span class=\"throwsLabel\">Throws:</span></dt>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
110 |
"<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no " + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
111 |
"constant with the specified name</dd>\n" + |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
112 |
"<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>"); |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
113 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
114 |
// NO constructor section |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
115 |
checkOutput("pkg/Coin.html", false, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
116 |
"<h3>Constructor Summary</h3>"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
117 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
118 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
119 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
120 |
// TYPE PARAMETER TESTING |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
121 |
//================================= |
10 | 122 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
123 |
void checkTypeParameters() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
124 |
checkOutput("pkg/TypeParameters.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
125 |
// Make sure the header is correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
126 |
"Class TypeParameters<E></h2>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
127 |
// Check class type parameters section. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
128 |
"<dt><span class=\"paramLabel\">Type Parameters:</span></dt>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
129 |
+ "<dd><code>E</code> - " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
130 |
+ "the type parameter for this class.", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
131 |
// Type parameters in @see/@link |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
132 |
"<dl>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
133 |
+ "<dt><span class=\"seeLabel\">See Also:</span></dt>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
134 |
+ "<dd>" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
135 |
+ "<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
136 |
+ "<code>TypeParameters</code></a></dd>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
137 |
+ "</dl>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
138 |
// Method that uses class type parameter. |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
139 |
"(<a href=\"TypeParameters.html\" title=\"type " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
140 |
+ "parameter in TypeParameters\">E</a> param)", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
141 |
// Method type parameter section. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
142 |
"<span class=\"paramLabel\">Type Parameters:</span></dt>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
143 |
+ "<dd><code>T</code> - This is the first " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
144 |
+ "type parameter.</dd>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
145 |
+ "<dd><code>V</code> - This is the second type " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
146 |
+ "parameter.", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
147 |
// Signature of method with type parameters |
50810
0358dad944c7
8187288: bad (no) wrapping for modifier and type column
pmuthuswamy
parents:
50293
diff
changeset
|
148 |
"public <T extends java.util.List,​V> " |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
149 |
+ "java.lang.String[] methodThatHasTypeParameters", |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
150 |
// Method that returns TypeParameters |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
151 |
"<td class=\"colFirst\"><code><a href=\"TypeParameters.html\" " |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
152 |
+ "title=\"type parameter in TypeParameters\">E</a>[]</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
153 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
154 |
+ "<a href=\"#methodThatReturnsTypeParameterA(E%5B%5D)\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
155 |
+ "methodThatReturnsTypeParameterA</a></span>​(<a href=\"TypeParameters.html\" " |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
156 |
+ "title=\"type parameter in TypeParameters\">E</a>[] e)</code>", |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
157 |
"<pre class=\"methodSignature\">public <a href=\"TypeParameters.html\" " |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
158 |
+ "title=\"type parameter in TypeParameters\">E</a>[] " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
159 |
+ "methodThatReturnsTypeParameterA​(<a href=\"TypeParameters.html\" " |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
160 |
+ "title=\"type parameter in TypeParameters\">E</a>[] e)</pre>\n", |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
161 |
"<td class=\"colFirst\"><code><T extends java.lang.Object & java.lang.Comparable<? super T>>" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
162 |
+ "<br>T</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
163 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
164 |
+ "<a href=\"#methodtThatReturnsTypeParametersB(java.util.Collection)\">" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
165 |
+ "methodtThatReturnsTypeParametersB</a></span>​(java.util.Collection<? extends T> coll)</code>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
166 |
"<div class=\"block\">Returns TypeParameters</div>\n", |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
167 |
// Method takes a TypeVariable |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
168 |
"<td class=\"colFirst\"><code><X extends java.lang.Throwable><br>" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
169 |
+ "<a href=\"TypeParameters.html\" title=\"type parameter in TypeParameters\">E</a>" |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
170 |
+ "</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
171 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
172 |
+ "<a href=\"#orElseThrow(java.util.function.Supplier)\">" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
173 |
+ "orElseThrow</a></span>​(java.util.function.Supplier<? extends X> exceptionSupplier)</code>" |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
174 |
); |
10 | 175 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
176 |
checkOutput("pkg/Wildcards.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
177 |
// Wildcard testing. |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
178 |
"<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
179 |
+ "TypeParameters</a><? super java.lang.String> a", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
180 |
"<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
181 |
+ "TypeParameters</a><? extends java.lang.StringBuffer> b", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
182 |
"<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
183 |
+ "TypeParameters</a> c"); |
10 | 184 |
|
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
185 |
checkOutput(Output.OUT, true, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
186 |
// Bad type parameter warnings. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
187 |
"warning - @param argument " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
188 |
+ "\"<BadClassTypeParam>\" is not a type parameter name.", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
189 |
"warning - @param argument " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
190 |
+ "\"<BadMethodTypeParam>\" is not a type parameter name."); |
10 | 191 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
192 |
// Signature of subclass that has type parameters. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
193 |
checkOutput("pkg/TypeParameterSubClass.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
194 |
"<pre>public class <span class=\"typeNameLabel\">TypeParameterSubClass<T extends " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
195 |
+ "java.lang.String></span>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
196 |
+ "extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
197 |
+ "<a href=\"TypeParameterSuperClass.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
198 |
+ "TypeParameterSuperClass</a><T></pre>"); |
10 | 199 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
200 |
// Interface generic parameter substitution |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
201 |
// Signature of subclass that has type parameters. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
202 |
checkOutput("pkg/TypeParameters.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
203 |
"<dl>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
204 |
+ "<dt>All Implemented Interfaces:</dt>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
205 |
+ "<dd><code><a href=\"SubInterface.html\" title=\"interface in pkg\">" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
206 |
+ "SubInterface</a><E></code>, <code><a href=\"SuperInterface.html\" " |
40506
258ad5fd9b57
8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
jjg
parents:
36526
diff
changeset
|
207 |
+ "title=\"interface in pkg\">SuperInterface</a><E></code></dd>\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
208 |
+ "</dl>"); |
10 | 209 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
210 |
checkOutput("pkg/SuperInterface.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
211 |
"<dl>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
212 |
+ "<dt>All Known Subinterfaces:</dt>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
213 |
+ "<dd><code><a href=\"SubInterface.html\" title=\"interface in pkg\">" |
40506
258ad5fd9b57
8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
jjg
parents:
36526
diff
changeset
|
214 |
+ "SubInterface</a><V></code></dd>\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
215 |
+ "</dl>"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
216 |
checkOutput("pkg/SubInterface.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
217 |
"<dl>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
218 |
+ "<dt>All Superinterfaces:</dt>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
219 |
+ "<dd><code><a href=\"SuperInterface.html\" title=\"interface in pkg\">" |
40506
258ad5fd9b57
8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
jjg
parents:
36526
diff
changeset
|
220 |
+ "SuperInterface</a><V></code></dd>\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
221 |
+ "</dl>"); |
10 | 222 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
223 |
//============================================================== |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
224 |
// Handle multiple bounds. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
225 |
//============================================================== |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
226 |
checkOutput("pkg/MultiTypeParameters.html", true, |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
227 |
"public <T extends java.lang.Number & java.lang.Runnable> T foo​(T t)"); |
10 | 228 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
229 |
//============================================================== |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
230 |
// Test Class-Use Documentation for Type Parameters. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
231 |
//============================================================== |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
232 |
// ClassUseTest1: <T extends Foo & Foo2> |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
233 |
checkOutput("pkg2/class-use/Foo.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
234 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
235 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
236 |
+ "type <a href=\"../Foo.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
237 |
+ "Foo</a></span><span class=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
238 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest1.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
239 |
+ "title=\"class in pkg2\">ClassUseTest1</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
240 |
+ "<a href=\"../Foo.html\" title=\"class in pkg2\">Foo" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
241 |
+ "</a> & <a href=\"../Foo2.html\" title=\"interface in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
242 |
+ "Foo2</a>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
243 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
244 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
245 |
+ "type <a href=\"../Foo.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
246 |
+ "pkg2\">Foo</a></span><span class=\"tabEnd\"> </span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
247 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest1." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
248 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
249 |
+ "ClassUseTest1.html#method(T)\">method</a></span>" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
250 |
+ "​(T t)</code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
251 |
"<caption><span>Fields in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
252 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
253 |
+ "type <a href=\"../Foo.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
254 |
+ "Foo</a></span><span class=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
255 |
"td class=\"colFirst\"><code><a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
256 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest</a>" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
257 |
+ "<<a href=\"../Foo.html\" title=\"class in pkg2\"" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
258 |
+ ">Foo</a>></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
259 |
); |
10 | 260 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
261 |
checkOutput("pkg2/class-use/ParamTest.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
262 |
"<caption><span>Fields in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
263 |
+ "package-summary.html\">pkg2</a> declared as <a href=\"../" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
264 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
265 |
+ "</a></span><span class=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
266 |
"<td class=\"colFirst\"><code><a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
267 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest</a><<a " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
268 |
+ "href=\"../Foo.html\" title=\"class in pkg2\">Foo</a" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
269 |
+ ">></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
270 |
); |
10 | 271 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
272 |
checkOutput("pkg2/class-use/Foo2.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
273 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
274 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
275 |
+ "type <a href=\"../Foo2.html\" title=\"interface " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
276 |
+ "in pkg2\">Foo2</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
277 |
+ "</span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
278 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest1.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
279 |
+ "title=\"class in pkg2\">ClassUseTest1</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
280 |
+ "<a href=\"../Foo.html\" title=\"class in pkg2\">Foo" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
281 |
+ "</a> & <a href=\"../Foo2.html\" title=\"interface in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
282 |
+ "Foo2</a>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
283 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
284 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
285 |
+ "type <a href=\"../Foo2.html\" title=\"interface " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
286 |
+ "in pkg2\">Foo2</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
287 |
+ "</span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
288 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
289 |
+ "ClassUseTest1.</span><code><span class=\"memberNameLink\"><a href=\"../" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
290 |
+ "ClassUseTest1.html#method(T)\">method</a></span>" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
291 |
+ "​(T t)</code></th>" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
292 |
); |
10 | 293 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
294 |
// ClassUseTest2: <T extends ParamTest<Foo3>> |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
295 |
checkOutput("pkg2/class-use/ParamTest.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
296 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
297 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
298 |
+ "type <a href=\"../ParamTest.html\" title=\"class " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
299 |
+ "in pkg2\">ParamTest</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
300 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
301 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest2.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
302 |
+ "title=\"class in pkg2\">ClassUseTest2</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
303 |
+ "<a href=\"../ParamTest.html\" title=\"class in pkg2\">" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
304 |
+ "ParamTest</a><<a href=\"../Foo3.html\" title=\"class in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
305 |
+ "Foo3</a>>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
306 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
307 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
308 |
+ "type <a href=\"../ParamTest.html\" title=\"class " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
309 |
+ "in pkg2\">ParamTest</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
310 |
+ " </span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
311 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest2." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
312 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
313 |
+ "ClassUseTest2.html#method(T)\">method</a></span>" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
314 |
+ "​(T t)</code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
315 |
"<caption><span>Fields in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
316 |
+ "package-summary.html\">pkg2</a> declared as <a href=\"../" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
317 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
318 |
+ "</a></span><span class=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
319 |
"<td class=\"colFirst\"><code><a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
320 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest</a>" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
321 |
+ "<<a href=\"../Foo.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
322 |
+ "Foo</a>></code></td>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
323 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
324 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
325 |
+ "type <a href=\"../ParamTest.html\" title=\"class " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
326 |
+ "in pkg2\">ParamTest</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
327 |
+ " </span></caption>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
328 |
"<td class=\"colFirst\"><code><T extends <a href=\"../" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
329 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
330 |
+ "</a><<a href=\"../Foo3.html\" title=\"class in " |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
331 |
+ "pkg2\">Foo3</a>>><br><a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
332 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest</a>" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
333 |
+ "<<a href=\"../Foo3.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
334 |
+ "pkg2\">Foo3</a>></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
335 |
); |
10 | 336 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
337 |
checkOutput("pkg2/class-use/Foo3.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
338 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
339 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
340 |
+ "type <a href=\"../Foo3.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
341 |
+ "Foo3</a></span><span class=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
342 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest2.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
343 |
+ "title=\"class in pkg2\">ClassUseTest2</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
344 |
+ "<a href=\"../ParamTest.html\" title=\"class in pkg2\">" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
345 |
+ "ParamTest</a><<a href=\"../Foo3.html\" title=\"class in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
346 |
+ "Foo3</a>>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
347 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
348 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
349 |
+ "type <a href=\"../Foo3.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
350 |
+ "pkg2\">Foo3</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
351 |
+ "</span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
352 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest2." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
353 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
354 |
+ "ClassUseTest2.html#method(T)\">method</a></span>" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
355 |
+ "​(T t)</code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
356 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
357 |
+ "package-summary.html\">pkg2</a> that return types with " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
358 |
+ "arguments of type <a href=\"../Foo3.html\" title" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
359 |
+ "=\"class in pkg2\">Foo3</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
360 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
361 |
"<td class=\"colFirst\"><code><T extends <a href=\"../" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
362 |
+ "ParamTest.html\" title=\"class in pkg2\">ParamTest</a><" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
363 |
+ "<a href=\"../Foo3.html\" title=\"class in pkg2\">Foo3" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
364 |
+ "</a>>><br><a href=\"../ParamTest.html\" " |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
365 |
+ "title=\"class in pkg2\">ParamTest</a><<a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
366 |
+ "Foo3.html\" title=\"class in pkg2\">Foo3</a>></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
367 |
); |
10 | 368 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
369 |
// ClassUseTest3: <T extends ParamTest2<List<? extends Foo4>>> |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
370 |
checkOutput("pkg2/class-use/ParamTest2.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
371 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
372 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
373 |
+ "type <a href=\"../ParamTest2.html\" title=\"class " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
374 |
+ "in pkg2\">ParamTest2</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
375 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
376 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
377 |
+ "title=\"class in pkg2\">ClassUseTest3</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
378 |
+ "<a href=\"../ParamTest2.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
379 |
+ "ParamTest2</a><java.util.List<? extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
380 |
+ "<a href=\"../Foo4.html\" title=\"class in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
381 |
+ "Foo4</a>>>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
382 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
383 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
384 |
+ "type <a href=\"../ParamTest2.html\" title=\"class " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
385 |
+ "in pkg2\">ParamTest2</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
386 |
+ " </span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
387 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
388 |
+ ".</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
389 |
+ "html#method(T)\">method</a></span>​(T t)</code></th>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
390 |
"<td class=\"colFirst\"><code><T extends <a href=\"../" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
391 |
+ "ParamTest2.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
392 |
+ "ParamTest2</a><java.util.List<? extends <a href=\".." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
393 |
+ "/Foo4.html\" title=\"class in pkg2\">Foo4</a>>" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
394 |
+ ">><br><a href=\"../ParamTest2.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
395 |
+ "title=\"class in pkg2\">ParamTest2</a><java.util.List" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
396 |
+ "<? extends <a href=\"../Foo4.html\" title=\"" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
397 |
+ "class in pkg2\">Foo4</a>>></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
398 |
); |
10 | 399 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
400 |
checkOutput("pkg2/class-use/Foo4.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
401 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
402 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
403 |
+ "type <a href=\"../Foo4.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
404 |
+ "pkg2\">Foo4</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
405 |
+ "</span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
406 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
407 |
+ "title=\"class in pkg2\">ClassUseTest3</a><T extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
408 |
+ "<a href=\"../ParamTest2.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
409 |
+ "ParamTest2</a><java.util.List<? extends " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
410 |
+ "<a href=\"../Foo4.html\" title=\"class in pkg2\">" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
411 |
+ "Foo4</a>>>></span></code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
412 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
413 |
+ "package-summary.html\">pkg2</a> with type parameters of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
414 |
+ "type <a href=\"../Foo4.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
415 |
+ "pkg2\">Foo4</a></span><span class=\"tabEnd\"> </span></caption>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
416 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
417 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
418 |
+ "html#method(T)\">method</a></span>​(T t)</code>" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
419 |
+ "</th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
420 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
421 |
+ "package-summary.html\">pkg2</a> that return types with " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
422 |
+ "arguments of type <a href=\"../Foo4.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
423 |
+ "title=\"class in pkg2\">Foo4</a></span><span class=\"" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
424 |
+ "tabEnd\"> </span></caption>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
425 |
"<td class=\"colFirst\"><code><T extends <a href=\"../" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
426 |
+ "ParamTest2.html\" title=\"class in pkg2\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
427 |
+ "ParamTest2</a><java.util.List<? extends <a href=\".." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
428 |
+ "/Foo4.html\" title=\"class in pkg2\">Foo4</a>>" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
429 |
+ ">><br><a href=\"../ParamTest2.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
430 |
+ "title=\"class in pkg2\">ParamTest2</a><java.util.List" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
431 |
+ "<? extends <a href=\"../Foo4.html\" title=\"" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
432 |
+ "class in pkg2\">Foo4</a>>></code></td>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
433 |
); |
10 | 434 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
435 |
// Type parameters in constructor and method args |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
436 |
checkOutput("pkg2/class-use/Foo4.html", true, |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
437 |
"<caption><span>Method parameters in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
438 |
+ "package-summary.html\">pkg2</a> with type arguments of " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
439 |
+ "type <a href=\"../Foo4.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
440 |
+ "pkg2\">Foo4</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
441 |
+ "</span></caption>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
442 |
+ "<tr>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
443 |
+ "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
444 |
+ "<th class=\"colSecond\" scope=\"col\">Method</th>\n" |
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
445 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
446 |
+ "</tr>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
447 |
+ "<tbody>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
448 |
+ "<tr class=\"altColor\">\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
449 |
+ "<td class=\"colFirst\"><code>void</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
450 |
+ "<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
451 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
452 |
+ "html#method(java.util.Set)\">method</a></span>​(java." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
453 |
+ "util.Set<<a href=\"../Foo4.html\" title=\"" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
40506
diff
changeset
|
454 |
+ "class in pkg2\">Foo4</a>> p)</code></th>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
455 |
"<caption><span>Constructor parameters in <a href=\"../" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
456 |
+ "package-summary.html\">pkg2</a> with type arguments " |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
457 |
+ "of type <a href=\"../Foo4.html\" title=\"class in " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
458 |
+ "pkg2\">Foo4</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
459 |
+ "</span></caption>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
460 |
); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
461 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
462 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
463 |
// TYPE PARAMETER IN INDEX |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
464 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
465 |
checkOutput("index-all.html", true, |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
466 |
"<span class=\"memberNameLink\"><a href=\"pkg2/Foo.html#method(java.util.Vector)\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
467 |
+ "method(Vector<Object>)</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
468 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
469 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
470 |
// TODO: duplicate of previous case; left in delibarately for now to simplify comparison testing |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
471 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
472 |
// TYPE PARAMETER IN INDEX |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
473 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
474 |
checkOutput("index-all.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
475 |
"<span class=\"memberNameLink\"><a href=\"pkg2/Foo.html#method(java.util.Vector)\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
476 |
+ "method(Vector<Object>)</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
477 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
478 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
479 |
// No type parameters in class frame. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
480 |
checkOutput("allclasses-frame.html", false, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
481 |
"<a href=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
482 |
+ "TypeParameters</a><<a href=\"../pkg/TypeParameters.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
483 |
+ "title=\"type parameter in TypeParameters\">E</a>>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
484 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
485 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
486 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
487 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
488 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
489 |
// TYPE PARAMETER TESTING |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
490 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
491 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
492 |
void checkTypeParameters_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
493 |
checkOutput("pkg/TypeParameters.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
494 |
// Make sure the header is correct. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
495 |
"<td class=\"colFirst\"><code><a href=\"TypeParameters.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
496 |
+ "title=\"type parameter in TypeParameters\">E</a>[]</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
497 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
498 |
+ "<a href=\"#methodThatReturnsTypeParameterA-E:A-\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
499 |
+ "methodThatReturnsTypeParameterA</a></span>​(<a href=\"TypeParameters.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
500 |
+ "title=\"type parameter in TypeParameters\">E</a>[] e)</code>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
501 |
"<td class=\"colFirst\"><code><T extends java.lang.Object & java.lang.Comparable<? super T>>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
502 |
+ "<br>T</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
503 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
504 |
+ "<a href=\"#methodtThatReturnsTypeParametersB-java.util.Collection-\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
505 |
+ "methodtThatReturnsTypeParametersB</a></span>​(java.util.Collection<? extends T> coll)</code>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
506 |
"<div class=\"block\">Returns TypeParameters</div>\n", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
507 |
// Method takes a TypeVariable |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
508 |
"<td class=\"colFirst\"><code><X extends java.lang.Throwable><br>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
509 |
+ "<a href=\"TypeParameters.html\" title=\"type parameter in TypeParameters\">E</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
510 |
+ "</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
511 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
512 |
+ "<a href=\"#orElseThrow-java.util.function.Supplier-\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
513 |
+ "orElseThrow</a></span>​(java.util.function.Supplier<? extends X> exceptionSupplier)</code>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
514 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
515 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
516 |
//============================================================== |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
517 |
// Test Class-Use Documentation for Type Parameters. |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
518 |
//============================================================== |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
519 |
// ClassUseTest1: <T extends Foo & Foo2> |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
520 |
checkOutput("pkg2/class-use/Foo.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
521 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest1." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
522 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
523 |
+ "ClassUseTest1.html#method-T-\">method</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
524 |
+ "​(T t)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
525 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
526 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
527 |
checkOutput("pkg2/class-use/Foo2.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
528 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
529 |
+ "ClassUseTest1.</span><code><span class=\"memberNameLink\"><a href=\"../" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
530 |
+ "ClassUseTest1.html#method-T-\">method</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
531 |
+ "​(T t)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
532 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
533 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
534 |
// ClassUseTest2: <T extends ParamTest<Foo3>> |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
535 |
checkOutput("pkg2/class-use/ParamTest.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
536 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest2." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
537 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
538 |
+ "ClassUseTest2.html#method-T-\">method</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
539 |
+ "​(T t)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
540 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
541 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
542 |
checkOutput("pkg2/class-use/Foo3.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
543 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest2." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
544 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
545 |
+ "ClassUseTest2.html#method-T-\">method</a></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
546 |
+ "​(T t)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
547 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
548 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
549 |
// ClassUseTest3: <T extends ParamTest2<List<? extends Foo4>>> |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
550 |
checkOutput("pkg2/class-use/ParamTest2.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
551 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
552 |
+ ".</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
553 |
+ "html#method-T-\">method</a></span>​(T t)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
554 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
555 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
556 |
checkOutput("pkg2/class-use/Foo4.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
557 |
"<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
558 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
559 |
+ "html#method-T-\">method</a></span>​(T t)</code>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
560 |
+ "</th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
561 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
562 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
563 |
// Type parameters in constructor and method args |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
564 |
checkOutput("pkg2/class-use/Foo4.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
565 |
"<caption><span>Method parameters in <a href=\"../" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
566 |
+ "package-summary.html\">pkg2</a> with type arguments of " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
567 |
+ "type <a href=\"../Foo4.html\" title=\"class in " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
568 |
+ "pkg2\">Foo4</a></span><span class=\"tabEnd\"> " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
569 |
+ "</span></caption>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
570 |
+ "<tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
571 |
+ "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
572 |
+ "<th class=\"colSecond\" scope=\"col\">Method</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
573 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
574 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
575 |
+ "<tbody>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
576 |
+ "<tr class=\"altColor\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
577 |
+ "<td class=\"colFirst\"><code>void</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
578 |
+ "<th class=\"colSecond\" scope=\"row\"><span class=\"typeNameLabel\">ClassUseTest3." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
579 |
+ "</span><code><span class=\"memberNameLink\"><a href=\"../ClassUseTest3." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
580 |
+ "html#method-java.util.Set-\">method</a></span>​(java." |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
581 |
+ "util.Set<<a href=\"../Foo4.html\" title=\"" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
582 |
+ "class in pkg2\">Foo4</a>> p)</code></th>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
583 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
584 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
585 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
586 |
// TYPE PARAMETER IN INDEX |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
587 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
588 |
checkOutput("index-all.html", true, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
589 |
"<span class=\"memberNameLink\"><a href=\"pkg2/Foo.html#method-java.util.Vector-\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
590 |
+ "method(Vector<Object>)</a></span>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
591 |
); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
592 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
593 |
// TODO: duplicate of previous case; left in delibarately for now to simplify comparison testing |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
594 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
595 |
// TYPE PARAMETER IN INDEX |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
596 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
597 |
checkOutput("index-all.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
598 |
"<span class=\"memberNameLink\"><a href=\"pkg2/Foo.html#method-java.util.Vector-\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
599 |
+ "method(Vector<Object>)</a></span>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
600 |
); |
10 | 601 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
602 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
603 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
604 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
605 |
// VAR ARG TESTING |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
606 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
607 |
void checkVarArgs() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
608 |
checkOutput("pkg/VarArgs.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
609 |
"(int... i)", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
610 |
"(int[][]... i)", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
611 |
"(int[]...)", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
612 |
"<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
613 |
+ "TypeParameters</a>... t"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
614 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
615 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
616 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
617 |
// VAR ARG TESTING |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
618 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
619 |
void checkVarArgs_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
620 |
checkOutput("pkg/VarArgs.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
621 |
"(int... i)", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
622 |
"(int[][]... i)", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
623 |
"-int:A...-", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
624 |
"<a href=\"TypeParameters.html\" title=\"class in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
625 |
+ "TypeParameters</a>... t"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
626 |
} |
10 | 627 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
628 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
629 |
// ANNOTATION TYPE TESTING |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
630 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
631 |
void checkAnnotationTypes() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
632 |
checkOutput("pkg/AnnotationType.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
633 |
// Make sure the summary links are correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
634 |
"<li>Summary: </li>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
635 |
+ "<li>Field | </li>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
636 |
+ "<li><a href=\"#annotation.type.required.element.summary\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
637 |
+ "Required</a> | </li>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
638 |
+ "<li>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
639 |
+ "<a href=\"#annotation.type.optional.element.summary\">Optional</a></li>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
640 |
// Make sure the detail links are correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
641 |
"<li>Detail: </li>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
642 |
+ "<li>Field | </li>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
643 |
+ "<li><a href=\"#annotation.type.element.detail\">Element</a></li>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
644 |
// Make sure the heading is correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
645 |
"Annotation Type AnnotationType</h2>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
646 |
// Make sure the signature is correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
647 |
"public @interface <span class=\"memberNameLabel\">AnnotationType</span>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
648 |
// Make sure member summary headings are correct. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
649 |
"<h3>Required Element Summary</h3>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
650 |
"<h3>Optional Element Summary</h3>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
651 |
// Make sure element detail heading is correct |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
652 |
"Element Detail", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
653 |
// Make sure default annotation type value is printed when necessary. |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
654 |
"<dl>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
655 |
+ "<dt>Default:</dt>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
656 |
+ "<dd>\"unknown\"</dd>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
657 |
+ "</dl>"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
658 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
659 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
660 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
661 |
// ANNOTATION TYPE USAGE TESTING |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
662 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
663 |
void checkAnnotationTypeUsage() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
664 |
checkOutput("pkg/package-summary.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
665 |
// PACKAGE |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
666 |
"<a href=\"AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</a>(<a href=\"AnnotationType.html#optional()\">optional</a>=\"Package Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
667 |
+ " <a href=\"AnnotationType.html#required()\">required</a>=1994)"); |
10 | 668 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
669 |
checkOutput("pkg/AnnotationTypeUsage.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
670 |
// CLASS |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
671 |
"<pre><a href=\"AnnotationType.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
672 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
673 |
+ "<a href=\"AnnotationType.html#optional()\">optional</a>" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
674 |
+ "=\"Class Annotation\",\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
675 |
+ " <a href=\"AnnotationType.html#required()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
676 |
+ "required</a>=1994)\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
677 |
+ "public class <span class=\"typeNameLabel\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
678 |
+ "AnnotationTypeUsage</span>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
679 |
+ "extends java.lang.Object</pre>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
680 |
// FIELD |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
681 |
"<pre><a href=\"AnnotationType.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
682 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
683 |
+ "<a href=\"AnnotationType.html#optional()\">optional</a>" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
684 |
+ "=\"Field Annotation\",\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
685 |
+ " <a href=\"AnnotationType.html#required()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
686 |
+ "required</a>=1994)\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
687 |
+ "public int field</pre>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
688 |
// CONSTRUCTOR |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
689 |
"<pre><a href=\"AnnotationType.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
690 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
691 |
+ "<a href=\"AnnotationType.html#optional()\">optional</a>" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
692 |
+ "=\"Constructor Annotation\",\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
693 |
+ " <a href=\"AnnotationType.html#required()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
694 |
+ "required</a>=1994)\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
695 |
+ "public AnnotationTypeUsage()</pre>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
696 |
// METHOD |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
697 |
"<pre class=\"methodSignature\"><a href=\"AnnotationType.html\" " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
698 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
699 |
+ "<a href=\"AnnotationType.html#optional()\">optional</a>" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
700 |
+ "=\"Method Annotation\",\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
701 |
+ " <a href=\"AnnotationType.html#required()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
702 |
+ "required</a>=1994)\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
703 |
+ "public void method()</pre>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
704 |
// METHOD PARAMS |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
705 |
"<pre class=\"methodSignature\">public void methodWithParams​(" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
706 |
+ "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
707 |
+ "@AnnotationType</a>(<a href=\"AnnotationType.html#optional()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
708 |
+ "optional</a>=\"Parameter Annotation\",<a " |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
709 |
+ "href=\"AnnotationType.html#required()\">required</a>=1994)\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
710 |
+ " int documented,\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
711 |
+ " int undocmented)</pre>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
712 |
// CONSTRUCTOR PARAMS |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
41157
diff
changeset
|
713 |
"<pre>public AnnotationTypeUsage​(<a " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
714 |
+ "href=\"AnnotationType.html\" title=\"annotation in pkg\">" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
715 |
+ "@AnnotationType</a>(<a href=\"AnnotationType.html#optional()\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
716 |
+ "optional</a>=\"Constructor Param Annotation\",<a " |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
717 |
+ "href=\"AnnotationType.html#required()\">required</a>=1994)\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
718 |
+ " int documented,\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
719 |
+ " int undocmented)</pre>"); |
10 | 720 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
721 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
722 |
// Annotatation Type Usage |
10 | 723 |
//================================= |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
724 |
checkOutput("pkg/class-use/AnnotationType.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
725 |
"<caption><span>Packages with annotations of type <a href=\"" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
726 |
+ "../AnnotationType.html\" title=\"annotation in pkg\">" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
727 |
+ "AnnotationType</a></span><span class=\"tabEnd\"> " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
728 |
+ "</span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
729 |
"<caption><span>Classes in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
730 |
+ "package-summary.html\">pkg</a> with annotations of type " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
731 |
+ "<a href=\"../AnnotationType.html\" title=\"" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
732 |
+ "annotation in pkg\">AnnotationType</a></span><span class" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
733 |
+ "=\"tabEnd\"> </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
734 |
"<caption><span>Fields in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
735 |
+ "package-summary.html\">pkg</a> with annotations of type " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
736 |
+ "<a href=\"../AnnotationType.html\" title=\"annotation " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
737 |
+ "in pkg\">AnnotationType</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
738 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
739 |
"<caption><span>Methods in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
740 |
+ "package-summary.html\">pkg</a> with annotations of type " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
741 |
+ "<a href=\"../AnnotationType.html\" title=\"annotation " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
742 |
+ "in pkg\">AnnotationType</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
743 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
744 |
"<caption><span>Method parameters in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
745 |
+ "package-summary.html\">pkg</a> with annotations of type " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
746 |
+ "<a href=\"../AnnotationType.html\" title=\"annotation " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
747 |
+ "in pkg\">AnnotationType</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
748 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
749 |
"<caption><span>Constructors in <a href=\"../" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
750 |
+ "package-summary.html\">pkg</a> with annotations of type " |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
751 |
+ "<a href=\"../AnnotationType.html\" title=\"annotation " |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
752 |
+ "in pkg\">AnnotationType</a></span><span class=\"tabEnd\">" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
753 |
+ " </span></caption>", |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
754 |
"<caption><span>Constructor parameters in <a href=\"../" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
755 |
+ "package-summary.html\">pkg</a> with annotations of " |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
756 |
+ "type <a href=\"../AnnotationType.html\" title=\"" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
757 |
+ "annotation in pkg\">AnnotationType</a></span><span class=\"" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
758 |
+ "tabEnd\"> </span></caption>" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
759 |
); |
10 | 760 |
|
761 |
//============================================================== |
|
762 |
// ANNOTATION TYPE USAGE TESTING (When @Documented is omitted) |
|
763 |
//=============================================================== |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
764 |
checkOutput("pkg/AnnotationTypeUsage.html", false, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
765 |
// CLASS |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
766 |
"<a href=\"AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</a>(<a href=\"AnnotationType.html#optional\">optional</a>=\"Class Annotation\",\n" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
767 |
+ " <a href=\"AnnotationType.html#required\">required</a>=1994)\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
768 |
+ "public class <span class=\"typeNameLabel\">AnnotationTypeUsage</span></dt><dt>extends java.lang.Object</dt>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
769 |
// FIELD |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
770 |
"<a href=\"AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</a>(<a href=\"AnnotationType.html#optional\">optional</a>=\"Field Annotation\",\n" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
771 |
+ " <a href=\"AnnotationType.html#required\">required</a>=1994)\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
772 |
+ "public int <span class=\"memberNameLabel\">field</span>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
773 |
// CONSTRUCTOR |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
774 |
"<a href=\"AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</a>(<a href=\"AnnotationType.html#optional\">optional</a>=\"Constructor Annotation\",\n" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
775 |
+ " <a href=\"AnnotationType.html#required\">required</a>=1994)\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
776 |
+ "public <span class=\"typeNameLabel\">AnnotationTypeUsage</span>()", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
777 |
// METHOD |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
778 |
"<a href=\"AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</a>(<a href=\"AnnotationType.html#optional\">optional</a>=\"Method Annotation\",\n" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
779 |
+ " <a href=\"AnnotationType.html#required\">required</a>=1994)\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
780 |
+ "public void <span class=\"memberNameLabel\">method</span>()"); |
10 | 781 |
|
782 |
//================================= |
|
783 |
// Make sure annotation types do not |
|
784 |
// trigger this warning. |
|
785 |
//================================= |
|
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
30730
diff
changeset
|
786 |
checkOutput(Output.OUT, false, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
787 |
"Internal error: package sets don't match: [] with: null"); |
10 | 788 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
789 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
790 |
// ANNOTATION TYPE USAGE TESTING (All Different Types). |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
791 |
//================================= |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
792 |
checkOutput("pkg1/B.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
793 |
// Integer |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
794 |
"<a href=\"A.html#d()\">d</a>=3.14,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
795 |
// Double |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
796 |
"<a href=\"A.html#d()\">d</a>=3.14,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
797 |
// Boolean |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
798 |
"<a href=\"A.html#b()\">b</a>=true,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
799 |
// String |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
800 |
"<a href=\"A.html#s()\">s</a>=\"sigh\",", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
801 |
// Class |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
802 |
"<a href=\"A.html#c()\">c</a>=<a href=\"../pkg2/Foo.html\" title=\"class in pkg2\">Foo.class</a>,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
803 |
// Bounded Class |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
804 |
"<a href=\"A.html#w()\">w</a>=<a href=\"../pkg/TypeParameterSubClass.html\" title=\"class in pkg\">TypeParameterSubClass.class</a>,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
805 |
// Enum |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
806 |
"<a href=\"A.html#e()\">e</a>=<a href=\"../pkg/Coin.html#Penny\">Penny</a>,", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
807 |
// Annotation Type |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
808 |
"<a href=\"A.html#a()\">a</a>=<a href=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</a>(<a href=\"../pkg/AnnotationType.html#optional()\">optional</a>=\"foo\",<a href=\"../pkg/AnnotationType.html#required()\">required</a>=1994),", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
809 |
// String Array |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
810 |
"<a href=\"A.html#sa()\">sa</a>={\"up\",\"down\"},", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
811 |
// Primitive |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
812 |
"<a href=\"A.html#primitiveClassTest()\">primitiveClassTest</a>=boolean.class,"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
813 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
814 |
// XXX: Add array test case after this if fixed: |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
815 |
//5020899: Incorrect internal representation of class-valued annotation elements |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
816 |
// Make sure that annotations are surrounded by <pre> and </pre> |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
817 |
checkOutput("pkg1/B.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
818 |
"<pre><a href=\"A.html\" title=\"annotation in pkg1\">@A</a>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
819 |
"public interface <span class=\"typeNameLabel\">B</span></pre>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
820 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
821 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
822 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
823 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
824 |
// ANNOTATION TYPE USAGE TESTING |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
825 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
826 |
void checkAnnotationTypeUsage_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
827 |
checkOutput("pkg/package-summary.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
828 |
// PACKAGE |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
829 |
"<a href=\"AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</a>(<a href=\"AnnotationType.html#optional--\">optional</a>=\"Package Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
830 |
+ " <a href=\"AnnotationType.html#required--\">required</a>=1994)"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
831 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
832 |
checkOutput("pkg/AnnotationTypeUsage.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
833 |
// CLASS |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
834 |
"<pre><a href=\"AnnotationType.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
835 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
836 |
+ "<a href=\"AnnotationType.html#optional--\">optional</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
837 |
+ "=\"Class Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
838 |
+ " <a href=\"AnnotationType.html#required--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
839 |
+ "required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
840 |
+ "public class <span class=\"typeNameLabel\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
841 |
+ "AnnotationTypeUsage</span>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
842 |
+ "extends java.lang.Object</pre>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
843 |
// FIELD |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
844 |
"<pre><a href=\"AnnotationType.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
845 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
846 |
+ "<a href=\"AnnotationType.html#optional--\">optional</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
847 |
+ "=\"Field Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
848 |
+ " <a href=\"AnnotationType.html#required--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
849 |
+ "required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
850 |
+ "public int field</pre>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
851 |
// CONSTRUCTOR |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
852 |
"<pre><a href=\"AnnotationType.html\" " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
853 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
854 |
+ "<a href=\"AnnotationType.html#optional--\">optional</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
855 |
+ "=\"Constructor Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
856 |
+ " <a href=\"AnnotationType.html#required--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
857 |
+ "required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
858 |
+ "public AnnotationTypeUsage()</pre>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
859 |
// METHOD |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
860 |
"<pre class=\"methodSignature\"><a href=\"AnnotationType.html\" " |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
861 |
+ "title=\"annotation in pkg\">@AnnotationType</a>(" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
862 |
+ "<a href=\"AnnotationType.html#optional--\">optional</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
863 |
+ "=\"Method Annotation\",\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
864 |
+ " <a href=\"AnnotationType.html#required--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
865 |
+ "required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
866 |
+ "public void method()</pre>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
867 |
// METHOD PARAMS |
51127
c2e676c2cf7b
8207190: JDK 11 javadoc generates bad code example
pmuthuswamy
parents:
50810
diff
changeset
|
868 |
"<pre class=\"methodSignature\">public void methodWithParams​(" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
869 |
+ "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
870 |
+ "@AnnotationType</a>(<a href=\"AnnotationType.html#optional--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
871 |
+ "optional</a>=\"Parameter Annotation\",<a " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
872 |
+ "href=\"AnnotationType.html#required--\">required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
873 |
+ " int documented,\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
874 |
+ " int undocmented)</pre>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
875 |
// CONSTRUCTOR PARAMS |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
876 |
"<pre>public AnnotationTypeUsage​(<a " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
877 |
+ "href=\"AnnotationType.html\" title=\"annotation in pkg\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
878 |
+ "@AnnotationType</a>(<a href=\"AnnotationType.html#optional--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
879 |
+ "optional</a>=\"Constructor Param Annotation\",<a " |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
880 |
+ "href=\"AnnotationType.html#required--\">required</a>=1994)\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
881 |
+ " int documented,\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
882 |
+ " int undocmented)</pre>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
883 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
884 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
885 |
// ANNOTATION TYPE USAGE TESTING (All Different Types). |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
886 |
//================================= |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
887 |
checkOutput("pkg1/B.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
888 |
// Integer |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
889 |
"<a href=\"A.html#d--\">d</a>=3.14,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
890 |
// Double |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
891 |
"<a href=\"A.html#d--\">d</a>=3.14,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
892 |
// Boolean |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
893 |
"<a href=\"A.html#b--\">b</a>=true,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
894 |
// String |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
895 |
"<a href=\"A.html#s--\">s</a>=\"sigh\",", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
896 |
// Class |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
897 |
"<a href=\"A.html#c--\">c</a>=<a href=\"../pkg2/Foo.html\" title=\"class in pkg2\">Foo.class</a>,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
898 |
// Bounded Class |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
899 |
"<a href=\"A.html#w--\">w</a>=<a href=\"../pkg/TypeParameterSubClass.html\" title=\"class in pkg\">TypeParameterSubClass.class</a>,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
900 |
// Enum |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
901 |
"<a href=\"A.html#e--\">e</a>=<a href=\"../pkg/Coin.html#Penny\">Penny</a>,", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
902 |
// Annotation Type |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
903 |
"<a href=\"A.html#a--\">a</a>=<a href=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</a>(<a href=\"../pkg/AnnotationType.html#optional--\">optional</a>=\"foo\",<a href=\"../pkg/AnnotationType.html#required--\">required</a>=1994),", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
904 |
// String Array |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
905 |
"<a href=\"A.html#sa--\">sa</a>={\"up\",\"down\"},", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
906 |
// Primitive |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
907 |
"<a href=\"A.html#primitiveClassTest--\">primitiveClassTest</a>=boolean.class,"); |
10 | 908 |
} |
909 |
} |