author | bpatel |
Wed, 15 Mar 2017 16:12:20 -0700 | |
changeset 44297 | e03f5fb3714b |
parent 42816 | 3638773ff1b0 |
child 44567 | 126285be00b9 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
42816
diff
changeset
|
2 |
* Copyright (c) 2003, 2017, 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 |
|
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
42816
diff
changeset
|
26 |
* @bug 4927552 8026567 8071982 8162674 8175200 |
10 | 27 |
* @summary <DESC> |
28 |
* @author jamieh |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
29 |
* @library ../lib |
36526 | 30 |
* @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
|
31 |
* @build JavadocTester |
10 | 32 |
* @run main TestDeprecatedDocs |
33 |
*/ |
|
34 |
||
35 |
public class TestDeprecatedDocs extends JavadocTester { |
|
36 |
||
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
37 |
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
|
38 |
TestDeprecatedDocs tester = new TestDeprecatedDocs(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
39 |
tester.runTests(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
40 |
} |
10 | 41 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
42 |
@Test |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
43 |
void test() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
44 |
javadoc("-d", "out", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
45 |
"-sourcepath", testSrc, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
46 |
"pkg"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
47 |
checkExit(Exit.OK); |
10 | 48 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
49 |
checkOutput("deprecated-list.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
50 |
"annotation_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
51 |
"annotation_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
52 |
"annotation_test3 passes", |
36705 | 53 |
"annotation_test4 passes.", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
54 |
"class_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
55 |
"class_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
56 |
"class_test3 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
57 |
"class_test4 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
58 |
"enum_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
59 |
"enum_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
60 |
"error_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
61 |
"error_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
62 |
"error_test3 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
63 |
"error_test4 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
64 |
"exception_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
65 |
"exception_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
66 |
"exception_test3 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
67 |
"exception_test4 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
68 |
"interface_test1 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
69 |
"interface_test2 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
70 |
"interface_test3 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
71 |
"interface_test4 passes", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
72 |
"pkg.DeprecatedClassByAnnotation", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
73 |
"pkg.DeprecatedClassByAnnotation()", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
74 |
"pkg.DeprecatedClassByAnnotation.method()", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
75 |
"pkg.DeprecatedClassByAnnotation.field" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
76 |
); |
10 | 77 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
78 |
checkOutput("pkg/DeprecatedClassByAnnotation.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
79 |
"<pre>@Deprecated\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
80 |
+ "public class <span class=\"typeNameLabel\">DeprecatedClassByAnnotation</span>\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
81 |
+ "extends java.lang.Object</pre>", |
42816
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
82 |
"<pre>@Deprecated(forRemoval=true)\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
83 |
+ "public int field</pre>\n" |
42816
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
84 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
85 |
"<pre>@Deprecated(forRemoval=true)\n" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
42816
diff
changeset
|
86 |
+ "public DeprecatedClassByAnnotation​()</pre>\n" |
42816
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
87 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
88 |
"<pre>@Deprecated\n" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
42816
diff
changeset
|
89 |
+ "public void method​()</pre>\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
90 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span> </div>"); |
42816
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
91 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
92 |
checkOutput("pkg/TestAnnotationType.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
93 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
94 |
+ "<div class=\"block\"><span class=\"deprecationComment\">annotation_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
95 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
96 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
97 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
98 |
+ "@Documented\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
99 |
+ "public @interface <span class=\"memberNameLabel\">TestAnnotationType</span></pre>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
100 |
"<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
101 |
+ "static final int field</pre>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
102 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This " |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
103 |
+ "API element is subject to removal in a future version. </span> <span class=\"deprecationComment\">annotation_test4 passes.</span></div>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
104 |
"<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
105 |
+ "int required</pre>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
106 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> " |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
107 |
+ "<span class=\"deprecationComment\">annotation_test3 passes.</span></div>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
108 |
"<pre>java.lang.String optional</pre>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
109 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span> <span class=\"deprecationComment\">annotation_test2 passes.</span></div>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
110 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
111 |
checkOutput("pkg/TestClass.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
112 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
113 |
+ "<div class=\"block\"><span class=\"deprecationComment\">class_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
114 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
115 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
116 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
117 |
+ "public class <span class=\"typeNameLabel\">TestClass</span>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
118 |
+ "extends java.lang.Object</pre>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
119 |
"<pre>@Deprecated(forRemoval=true)\n" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
42816
diff
changeset
|
120 |
+ "public TestClass​()</pre>\n" |
42816
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
121 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> " |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
122 |
+ "<span class=\"deprecationComment\">class_test3 passes.</span></div>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
123 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
124 |
checkOutput("pkg/TestEnum.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
125 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
126 |
+ "<div class=\"block\"><span class=\"deprecationComment\">enum_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
127 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
128 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
129 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
130 |
+ "public enum <span class=\"typeNameLabel\">TestEnum</span>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
131 |
+ "extends java.lang.Enum<<a href=\"../pkg/TestEnum.html\" title=\"enum in pkg\">TestEnum</a>></pre>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
132 |
"<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
133 |
+ "public static final <a href=\"../pkg/TestEnum.html\" title=\"enum in pkg\">TestEnum</a> FOR_REMOVAL</pre>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
134 |
+ "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> " |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
135 |
+ "<span class=\"deprecationComment\">enum_test3 passes.</span></div>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
136 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
137 |
checkOutput("pkg/TestError.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
138 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
139 |
+ "<div class=\"block\"><span class=\"deprecationComment\">error_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
140 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
141 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
142 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
143 |
+ "public class <span class=\"typeNameLabel\">TestError</span>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
144 |
+ "extends java.lang.Error</pre>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
145 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
146 |
checkOutput("pkg/TestException.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
147 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
148 |
+ "<div class=\"block\"><span class=\"deprecationComment\">exception_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
149 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
150 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
151 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
152 |
+ "public class <span class=\"typeNameLabel\">TestException</span>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
153 |
+ "extends java.lang.Exception</pre>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
154 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
155 |
checkOutput("pkg/TestInterface.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
156 |
"<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version. </span> \n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
157 |
+ "<div class=\"block\"><span class=\"deprecationComment\">interface_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
158 |
+ "</div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
159 |
+ "<br>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
160 |
+ "<pre>@Deprecated(forRemoval=true)\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
161 |
+ "public class <span class=\"typeNameLabel\">TestInterface</span>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
162 |
+ "extends java.lang.Object</pre>"); |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
163 |
|
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
164 |
checkOutput("deprecated-list.html", true, |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
165 |
"<ul>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
166 |
+ "<li><a href=\"#forRemoval\">Deprecated For Removal</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
167 |
+ "<li><a href=\"#class\">Deprecated Classes</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
168 |
+ "<li><a href=\"#enum\">Deprecated Enums</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
169 |
+ "<li><a href=\"#exception\">Deprecated Exceptions</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
170 |
+ "<li><a href=\"#error\">Deprecated Errors</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
171 |
+ "<li><a href=\"#annotation.type\">Deprecated Annotation Types</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
172 |
+ "<li><a href=\"#field\">Deprecated Fields</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
173 |
+ "<li><a href=\"#method\">Deprecated Methods</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
174 |
+ "<li><a href=\"#constructor\">Deprecated Constructors</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
175 |
+ "<li><a href=\"#enum.constant\">Deprecated Enum Constants</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
176 |
+ "<li><a href=\"#annotation.type.member\">Deprecated Annotation Type Elements</a></li>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
177 |
+ "</ul>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
178 |
"<a name=\"forRemoval\">", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
179 |
"<table class=\"deprecatedSummary\" summary=\"Deprecated For Removal table, listing deprecated for removal, and an explanation\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
180 |
+ "<caption><span>Deprecated For Removal</span><span class=\"tabEnd\"> </span></caption>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
181 |
+ "<tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
182 |
+ "<th class=\"colFirst\" scope=\"col\">Element</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
183 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
184 |
+ "</tr>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
185 |
"<table class=\"deprecatedSummary\" summary=\"Deprecated Enums table, listing deprecated enums, and an explanation\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
186 |
+ "<caption><span>Deprecated Enums</span><span class=\"tabEnd\"> </span></caption>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
187 |
+ "<tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
188 |
+ "<th class=\"colFirst\" scope=\"col\">Enum</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
189 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
190 |
+ "</tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
191 |
+ "<tbody>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
192 |
+ "<tr class=\"altColor\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
193 |
+ "<th class=\"colFirst\" scope=\"row\"><a href=\"pkg/TestEnum.html\" title=\"enum in pkg\">pkg.TestEnum</a></th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
194 |
+ "<td class=\"colLast\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
195 |
+ "<div class=\"block\"><span class=\"deprecationComment\">enum_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
196 |
+ "</td>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
197 |
+ "</tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
198 |
+ "</tbody>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
199 |
+ "</table>", |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
200 |
"<table class=\"deprecatedSummary\" summary=\"Deprecated Exceptions table, listing deprecated exceptions, and an explanation\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
201 |
+ "<caption><span>Deprecated Exceptions</span><span class=\"tabEnd\"> </span></caption>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
202 |
+ "<tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
203 |
+ "<th class=\"colFirst\" scope=\"col\">Exceptions</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
204 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
205 |
+ "</tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
206 |
+ "<tbody>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
207 |
+ "<tr class=\"altColor\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
208 |
+ "<th class=\"colFirst\" scope=\"row\"><a href=\"pkg/TestException.html\" title=\"class in pkg\">pkg.TestException</a></th>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
209 |
+ "<td class=\"colLast\">\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
210 |
+ "<div class=\"block\"><span class=\"deprecationComment\">exception_test1 passes.</span></div>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
211 |
+ "</td>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
212 |
+ "</tr>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
213 |
+ "</tbody>\n" |
3638773ff1b0
8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents:
36709
diff
changeset
|
214 |
+ "</table>"); |
10 | 215 |
} |
216 |
} |