author | ksrini |
Tue, 24 Apr 2018 11:54:03 -0700 | |
changeset 49879 | 601277b1d582 |
parent 49139 | 771616d26ca1 |
child 51127 | c2e676c2cf7b |
permissions | -rw-r--r-- |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
1 |
/* |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
2 |
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
4 |
* |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
8 |
* |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
13 |
* accompanied this code). |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
14 |
* |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
18 |
* |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
21 |
* questions. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
22 |
*/ |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
23 |
|
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
24 |
/* |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
25 |
* @test |
44815
2a0f6c7033bd
8178830: standard doclet: -javafx option should be unhidden
ksrini
parents:
44297
diff
changeset
|
26 |
* @bug 7112427 8012295 8025633 8026567 8061305 8081854 8150130 8162363 |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
27 |
* 8167967 8172528 8175200 8178830 8182257 8186332 8182765 8025091 |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
28 |
* @summary Test of the JavaFX doclet features. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
29 |
* @author jvalenta |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
30 |
* @library ../lib |
36526 | 31 |
* @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
|
32 |
* @build JavadocTester |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
33 |
* @run main TestJavaFX |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
34 |
*/ |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
35 |
|
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
36 |
public class TestJavaFX extends JavadocTester { |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
37 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
38 |
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
|
39 |
TestJavaFX tester = new TestJavaFX(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
40 |
tester.runTests(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
41 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
42 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
43 |
@Test |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
44 |
void test1() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
45 |
javadoc("-d", "out1", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
46 |
"-sourcepath", testSrc, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
47 |
"-javafx", |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
48 |
"--disable-javafx-strict-checks", |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
49 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
50 |
"pkg1"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
51 |
checkExit(Exit.OK); |
17572 | 52 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
53 |
checkOutput("pkg1/C.html", true, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
54 |
"<dt><span class=\"seeLabel\">See Also:</span></dt>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
55 |
+ "<dd><a href=\"#getRate()\"><code>getRate()</code></a>, \n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
56 |
+ "<a href=\"#setRate(double)\"><code>setRate(double)</code></a></dd>", |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
43573
diff
changeset
|
57 |
"<pre>public final void setRate​(double value)</pre>\n" |
43573 | 58 |
+ "<div class=\"block\">Sets the value of the property rate.</div>\n" |
59 |
+ "<dl>\n" |
|
60 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>", |
|
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
61 |
"<pre>public final double getRate()</pre>\n" |
43573 | 62 |
+ "<div class=\"block\">Gets the value of the property rate.</div>\n" |
63 |
+ "<dl>\n" |
|
64 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>", |
|
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
65 |
"<td class=\"colFirst\"><code><a href=\"C.DoubleProperty.html\" " |
43573 | 66 |
+ "title=\"class in pkg1\">C.DoubleProperty</a></code></td>\n" |
67 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
|
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
68 |
+ "<a href=\"#rateProperty\">rate</a></span></code></th>\n" |
43573 | 69 |
+ "<td class=\"colLast\">\n" |
70 |
+ "<div class=\"block\">Defines the direction/speed at which the " |
|
71 |
+ "<code>Timeline</code> is expected to\n" |
|
72 |
+ " be played.</div>\n</td>", |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
73 |
"<span class=\"simpleTagLabel\">Default value:</span>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
74 |
"<span class=\"simpleTagLabel\">Since:</span></dt>\n" |
43573 | 75 |
+ "<dd>JavaFX 8.0</dd>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
76 |
"<p>Sets the value of the property <code>Property</code>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
77 |
"<p>Gets the value of the property <code>Property</code>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
78 |
"<span class=\"simpleTagLabel\">Property description:</span>", |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
79 |
"<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
|
80 |
+ "<a href=\"#setTestMethodProperty()\">" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
81 |
+ "setTestMethodProperty</a></span>()</code></th>", |
41452 | 82 |
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
83 |
+ "<a href=\"#pausedProperty\">paused</a></span></code></th>\n" |
43573 | 84 |
+ "<td class=\"colLast\">\n" |
85 |
+ "<div class=\"block\">Defines if paused.</div>", |
|
41452 | 86 |
"<h4>paused</h4>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
87 |
+ "<pre>public final <a href=\"C.BooleanProperty.html\" " |
43573 | 88 |
+ "title=\"class in pkg1\">C.BooleanProperty</a> pausedProperty</pre>\n" |
89 |
+ "<div class=\"block\">Defines if paused. The second line.</div>", |
|
41452 | 90 |
"<h4>isPaused</h4>\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
91 |
+ "<pre>public final double isPaused()</pre>\n" |
43573 | 92 |
+ "<div class=\"block\">Gets the value of the property paused.</div>", |
41452 | 93 |
"<h4>setPaused</h4>\n" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
43573
diff
changeset
|
94 |
+ "<pre>public final void setPaused​(boolean value)</pre>\n" |
43573 | 95 |
+ "<div class=\"block\">Sets the value of the property paused.</div>\n" |
96 |
+ "<dl>\n" |
|
97 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n" |
|
98 |
+ "<dd>Defines if paused. The second line.</dd>\n" |
|
99 |
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n" |
|
100 |
+ "<dd>false</dd>", |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
101 |
"<h4>isPaused</h4>\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
102 |
+ "<pre>public final double isPaused()</pre>\n" |
43573 | 103 |
+ "<div class=\"block\">Gets the value of the property paused.</div>\n" |
104 |
+ "<dl>\n" |
|
105 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n" |
|
106 |
+ "<dd>Defines if paused. The second line.</dd>\n" |
|
107 |
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n" |
|
108 |
+ "<dd>false</dd>", |
|
41452 | 109 |
"<h4>rate</h4>\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
110 |
+ "<pre>public final <a href=\"C.DoubleProperty.html\" " |
43573 | 111 |
+ "title=\"class in pkg1\">C.DoubleProperty</a> rateProperty</pre>\n" |
112 |
+ "<div class=\"block\">Defines the direction/speed at which the " |
|
113 |
+ "<code>Timeline</code> is expected to\n" |
|
114 |
+ " be played. This is the second line.</div>", |
|
41452 | 115 |
"<h4>setRate</h4>\n" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
43573
diff
changeset
|
116 |
+ "<pre>public final void setRate​(double value)</pre>\n" |
43573 | 117 |
+ "<div class=\"block\">Sets the value of the property rate.</div>\n" |
118 |
+ "<dl>\n" |
|
119 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n" |
|
120 |
+ "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n" |
|
121 |
+ " be played. This is the second line.</dd>\n" |
|
122 |
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n" |
|
123 |
+ "<dd>11</dd>\n" |
|
124 |
+ "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n" |
|
125 |
+ "<dd>JavaFX 8.0</dd>", |
|
41452 | 126 |
"<h4>getRate</h4>\n" |
47284
355349babaf4
8186332: Fix method signature in method summary table
bpatel
parents:
47216
diff
changeset
|
127 |
+ "<pre>public final double getRate()</pre>\n" |
43573 | 128 |
+ "<div class=\"block\">Gets the value of the property rate.</div>\n" |
129 |
+ "<dl>\n" |
|
130 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n" |
|
131 |
+ "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n" |
|
132 |
+ " be played. This is the second line.</dd>\n" |
|
133 |
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n" |
|
134 |
+ "<dd>11</dd>\n" |
|
135 |
+ "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n" |
|
136 |
+ "<dd>JavaFX 8.0</dd>", |
|
137 |
"<h3>Property Summary</h3>\n" |
|
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
138 |
+ "<table class=\"memberSummary\">\n" |
43573 | 139 |
+ "<caption><span>Properties</span><span class=\"tabEnd\"> </span></caption>", |
45908
df7fadfd702f
8182257: Duplicate anchor ids in generated javadoc pages
bpatel
parents:
44815
diff
changeset
|
140 |
"<tr class=\"altColor\">\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
141 |
+ "<td class=\"colFirst\"><code><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">C.BooleanProperty</a></code></td>\n", |
45908
df7fadfd702f
8182257: Duplicate anchor ids in generated javadoc pages
bpatel
parents:
44815
diff
changeset
|
142 |
"<tr class=\"rowColor\">\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
143 |
+ "<td class=\"colFirst\"><code><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">C.DoubleProperty</a></code></td>\n"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
144 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
145 |
checkOutput("pkg1/C.html", false, |
43573 | 146 |
"A()", |
147 |
"<h3>Property Summary</h3>\n" |
|
148 |
+ "<table class=\"memberSummary\" summary=\"Property Summary table, listing properties, and an explanation\">\n" |
|
149 |
+ "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Methods</span><span class=\"tabEnd\"> </span>" |
|
150 |
+ "</span><span id=\"t2\" class=\"tableTab\"><span><a href=\"javascript:show(2);\">Instance Methods</a>" |
|
151 |
+ "</span><span class=\"tabEnd\"> </span></span><span id=\"t4\" class=\"tableTab\"><span>" |
|
152 |
+ "<a href=\"javascript:show(8);\">Concrete Methods</a></span><span class=\"tabEnd\"> </span></span>" |
|
45908
df7fadfd702f
8182257: Duplicate anchor ids in generated javadoc pages
bpatel
parents:
44815
diff
changeset
|
153 |
+ "</caption>", |
df7fadfd702f
8182257: Duplicate anchor ids in generated javadoc pages
bpatel
parents:
44815
diff
changeset
|
154 |
"<tr id=\"i0\" class=\"altColor\">\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
155 |
+ "<td class=\"colFirst\"><code><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">C.BooleanProperty</a></code></td>\n", |
45908
df7fadfd702f
8182257: Duplicate anchor ids in generated javadoc pages
bpatel
parents:
44815
diff
changeset
|
156 |
"<tr id=\"i1\" class=\"rowColor\">\n" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
157 |
+ "<td class=\"colFirst\"><code><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">C.DoubleProperty</a></code></td>\n"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
158 |
|
41452 | 159 |
checkOutput("index-all.html", true, |
160 |
"<div class=\"block\">Gets the value of the property paused.</div>", |
|
161 |
"<div class=\"block\">Defines if paused.</div>"); |
|
162 |
||
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
163 |
checkOutput("pkg1/D.html", true, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
164 |
"<h3>Properties inherited from class pkg1." |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
165 |
+ "<a href=\"C.html\" title=\"class in pkg1\">C</a></h3>\n" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
166 |
+ "<code><a href=\"C.html#pausedProperty\">" |
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
167 |
+ "paused</a>, <a href=\"C.html#rateProperty\">rate</a></code></li>"); |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
168 |
|
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
169 |
checkOutput("pkg1/D.html", false, "shouldNotAppear"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
170 |
} |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
171 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
172 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
173 |
void test1_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
174 |
javadoc("-d", "out1-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
175 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
176 |
"-sourcepath", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
177 |
"-javafx", |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
178 |
"--disable-javafx-strict-checks", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
179 |
"-package", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
180 |
"pkg1"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
181 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
182 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
183 |
checkOutput("pkg1/C.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
184 |
"<dt><span class=\"seeLabel\">See Also:</span></dt>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
185 |
+ "<dd><a href=\"#getRate--\"><code>getRate()</code></a>, \n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
186 |
+ "<a href=\"#setRate-double-\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
187 |
+ "<code>setRate(double)</code></a></dd>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
188 |
"<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
|
189 |
+ "<a href=\"#setTestMethodProperty--\">" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
190 |
+ "setTestMethodProperty</a></span>()</code></th>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
191 |
"<h3>Property Summary</h3>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
192 |
+ "<table class=\"memberSummary\" summary=\"Property Summary table, listing properties, and an explanation\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
193 |
+ "<caption><span>Properties</span><span class=\"tabEnd\"> </span></caption>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
194 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
195 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
196 |
/* |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
197 |
* Test with -javafx option enabled, to ensure property getters and setters |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
198 |
* are treated correctly. |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
199 |
*/ |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
200 |
@Test |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
201 |
void test2() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
202 |
javadoc("-d", "out2a", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
203 |
"-sourcepath", testSrc, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
204 |
"-javafx", |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
205 |
"--disable-javafx-strict-checks", |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
206 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
207 |
"pkg2"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
208 |
checkExit(Exit.OK); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
209 |
checkOutput("pkg2/Test.html", true, |
42000
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
210 |
"<h3>Property Detail</h3>\n" |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
211 |
+ "<a id=\"betaProperty\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
212 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
213 |
+ "</a>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
214 |
+ "<ul class=\"blockList\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
215 |
+ "<li class=\"blockList\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
216 |
+ "<h4>beta</h4>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
217 |
+ "<pre>public java.lang.Object betaProperty</pre>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
218 |
+ "</li>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
219 |
+ "</ul>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
220 |
+ "<a id=\"gammaProperty\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
221 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
222 |
+ "</a>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
223 |
+ "<ul class=\"blockList\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
224 |
+ "<li class=\"blockList\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
225 |
+ "<h4>gamma</h4>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
226 |
+ "<pre>public final java.util.List<java.lang.String> gammaProperty</pre>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
227 |
+ "</li>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
228 |
+ "</ul>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
229 |
+ "<a id=\"deltaProperty\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
230 |
+ "<!-- -->\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
231 |
+ "</a>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
232 |
+ "<ul class=\"blockListLast\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
233 |
+ "<li class=\"blockList\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
234 |
+ "<h4>delta</h4>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
235 |
+ "<pre>public final java.util.List<" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
236 |
+ "java.util.Set<? super java.lang.Object>> deltaProperty</pre>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
237 |
+ "</li>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
238 |
+ "</ul>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
239 |
+ "</li>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
240 |
+ "</ul>", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
241 |
"<h3>Property Summary</h3>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
242 |
+ "<table class=\"memberSummary\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
243 |
+ "<caption><span>Properties</span><span class=\"tabEnd\"> </span></caption>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
244 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
245 |
checkOutput("pkg2/Test.html", false, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
246 |
"<h3>Property Summary</h3>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
247 |
+ "<table class=\"memberSummary\" summary=\"Property Summary table, listing properties, and an explanation\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
248 |
+ "<caption><span id=\"t0\" class=\"activeTableTab\"><span>All Methods</span><span class=\"tabEnd\"> </span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
249 |
+ "</span><span id=\"t2\" class=\"tableTab\"><span><a href=\"javascript:show(2);\">Instance Methods</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
250 |
+ "</span><span class=\"tabEnd\"> </span></span><span id=\"t4\" class=\"tableTab\"><span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
251 |
+ "<a href=\"javascript:show(8);\">Concrete Methods</a></span><span class=\"tabEnd\"> </span></span>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
252 |
+ "</caption>"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
253 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
254 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
255 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
256 |
void test2_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
257 |
javadoc("-d", "out2a-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
258 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
259 |
"-sourcepath", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
260 |
"-javafx", |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
261 |
"--disable-javafx-strict-checks", |
49139
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
262 |
"-package", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
263 |
"pkg2"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
264 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
265 |
checkOutput("pkg2/Test.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
266 |
"<h3>Property Detail</h3>\n" |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
267 |
+ "<a name=\"betaProperty\">\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
268 |
+ "<!-- -->\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
269 |
+ "</a>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
270 |
+ "<ul class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
271 |
+ "<li class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
272 |
+ "<h4>beta</h4>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
273 |
+ "<pre>public java.lang.Object betaProperty</pre>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
274 |
+ "</li>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
275 |
+ "</ul>\n" |
42000
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
276 |
+ "<a name=\"gammaProperty\">\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
277 |
+ "<!-- -->\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
278 |
+ "</a>\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
279 |
+ "<ul class=\"blockList\">\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
280 |
+ "<li class=\"blockList\">\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
281 |
+ "<h4>gamma</h4>\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
282 |
+ "<pre>public final java.util.List<java.lang.String> gammaProperty</pre>\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
283 |
+ "</li>\n" |
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
284 |
+ "</ul>\n" |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
285 |
+ "<a name=\"deltaProperty\">\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
286 |
+ "<!-- -->\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
287 |
+ "</a>\n" |
42000
8b7412f7eecd
8167967: javadoc should identify the ordinal value of enum constants
ksrini
parents:
41452
diff
changeset
|
288 |
+ "<ul class=\"blockListLast\">\n" |
35426
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
289 |
+ "<li class=\"blockList\">\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
290 |
+ "<h4>delta</h4>\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
291 |
+ "<pre>public final java.util.List<" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
292 |
+ "java.util.Set<? super java.lang.Object>> deltaProperty</pre>\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
293 |
+ "</li>\n" |
374342e56a56
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
31297
diff
changeset
|
294 |
+ "</ul>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
295 |
+ "</li>\n" |
43573 | 296 |
+ "</ul>", |
297 |
"<h3>Property Summary</h3>\n" |
|
298 |
+ "<table class=\"memberSummary\" summary=\"Property Summary table, listing properties, and an explanation\">\n" |
|
299 |
+ "<caption><span>Properties</span><span class=\"tabEnd\"> </span></caption>"); |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
300 |
} |
36276 | 301 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
302 |
/* |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
303 |
* Test without -javafx option, to ensure property getters and setters |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
304 |
* are treated just like any other java method. |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
305 |
*/ |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
306 |
@Test |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
307 |
void test3() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
308 |
javadoc("-d", "out2b", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
309 |
"-sourcepath", testSrc, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
310 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
311 |
"pkg2"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
312 |
checkExit(Exit.OK); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
313 |
checkOutput("pkg2/Test.html", false, "<h3>Property Summary</h3>"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
314 |
checkOutput("pkg2/Test.html", true, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
315 |
"<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
316 |
+ "<th class=\"colSecond\" scope=\"col\">Method</th>\n" |
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
317 |
+ "<th class=\"colLast\" scope=\"col\">Description</th>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
318 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
319 |
+ "<tr id=\"i0\" class=\"altColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
320 |
+ "<td class=\"colFirst\"><code><T> java.lang.Object</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
321 |
+ "<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
|
322 |
+ "<a href=\"#alphaProperty(java.util.List)\">alphaProperty</a>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
323 |
+ "</span>​(java.util.List<T> foo)</code></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
324 |
+ "<td class=\"colLast\"> </td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
325 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
326 |
+ "<tr id=\"i1\" class=\"rowColor\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
327 |
+ "<td class=\"colFirst\"><code>java.lang.Object</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
328 |
+ "<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
|
329 |
+ "<a href=\"#betaProperty()\">betaProperty</a></span>()</code></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
330 |
+ "<td class=\"colLast\"> </td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
331 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
332 |
+ "<tr id=\"i2\" class=\"altColor\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
333 |
+ "<td class=\"colFirst\"><code>java.util.List<java.util.Set<? super java.lang.Object>>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
334 |
+ "</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
335 |
+ "<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
|
336 |
+ "<a href=\"#deltaProperty()\">deltaProperty</a></span>()</code></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
337 |
+ "<td class=\"colLast\"> </td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
338 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
339 |
+ "<tr id=\"i3\" class=\"rowColor\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
340 |
+ "<td class=\"colFirst\"><code>java.util.List<java.lang.String></code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
341 |
+ "<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
|
342 |
+ "<a href=\"#gammaProperty()\">gammaProperty</a></span>()</code></th>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
343 |
+ "<td class=\"colLast\"> </td>" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
344 |
); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
345 |
} |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
346 |
|
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
347 |
@Test |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
348 |
void test3_html4() { |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
349 |
javadoc("-d", "out2b-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
350 |
"-html4", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
351 |
"-sourcepath", testSrc, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
352 |
"-package", |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
353 |
"pkg2"); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
354 |
checkExit(Exit.OK); |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
355 |
checkOutput("pkg2/Test.html", true, |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
356 |
"<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
|
357 |
+ "<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
|
358 |
+ "<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
|
359 |
+ "</tr>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
360 |
+ "<tr id=\"i0\" class=\"altColor\">\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
361 |
+ "<td class=\"colFirst\"><code><T> java.lang.Object</code></td>\n" |
771616d26ca1
8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents:
48654
diff
changeset
|
362 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
363 |
+ "<a href=\"#alphaProperty-java.util.List-\">alphaProperty</a>" |
44297
e03f5fb3714b
8175200: Long method signatures disturb Method Summary table
bpatel
parents:
43573
diff
changeset
|
364 |
+ "</span>​(java.util.List<T> foo)</code></th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
365 |
+ "<td class=\"colLast\"> </td>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
366 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
367 |
+ "<tr id=\"i1\" class=\"rowColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
368 |
+ "<td class=\"colFirst\"><code>java.lang.Object</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
369 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
370 |
+ "<a href=\"#betaProperty--\">betaProperty</a></span>()</code></th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
371 |
+ "<td class=\"colLast\"> </td>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
372 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
373 |
+ "<tr id=\"i2\" class=\"altColor\">\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
374 |
+ "<td class=\"colFirst\"><code>java.util.List<java.util.Set<? super java.lang.Object>>" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
375 |
+ "</code></td>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
376 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
377 |
+ "<a href=\"#deltaProperty--\">deltaProperty</a></span>()</code></th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
378 |
+ "<td class=\"colLast\"> </td>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
379 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
380 |
+ "<tr id=\"i3\" class=\"rowColor\">\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
381 |
+ "<td class=\"colFirst\"><code>java.util.List<java.lang.String></code></td>\n" |
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
382 |
+ "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">" |
48654
36f58bd6269f
8195796: Reduce the size of relative URLs in generated docs
jjg
parents:
47284
diff
changeset
|
383 |
+ "<a href=\"#gammaProperty--\">gammaProperty</a></span>()</code></th>\n" |
41157
b235a429089a
8162363: Tables in javadoc documentation missing row headers
bpatel
parents:
36526
diff
changeset
|
384 |
+ "<td class=\"colLast\"> </td>" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
385 |
); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
386 |
} |
36276 | 387 |
|
388 |
/* |
|
389 |
* Force the doclet to emit a warning when processing a synthesized, |
|
44815
2a0f6c7033bd
8178830: standard doclet: -javafx option should be unhidden
ksrini
parents:
44297
diff
changeset
|
390 |
* DocComment, and ensure that the run succeeds, using the newer |
2a0f6c7033bd
8178830: standard doclet: -javafx option should be unhidden
ksrini
parents:
44297
diff
changeset
|
391 |
* --javafx flag. |
36276 | 392 |
*/ |
393 |
@Test |
|
394 |
void test4() { |
|
395 |
javadoc("-d", "out4", |
|
44815
2a0f6c7033bd
8178830: standard doclet: -javafx option should be unhidden
ksrini
parents:
44297
diff
changeset
|
396 |
"--javafx", |
49879
601277b1d582
8025091: VisibleMemberMap.java possible performance improvements
ksrini
parents:
49139
diff
changeset
|
397 |
"--disable-javafx-strict-checks", |
36276 | 398 |
"-Xdoclint:none", |
399 |
"-sourcepath", testSrc, |
|
400 |
"-package", |
|
401 |
"pkg4"); |
|
402 |
checkExit(Exit.OK); |
|
403 |
||
404 |
// make sure the doclet indeed emits the warning |
|
405 |
checkOutput(Output.OUT, true, "C.java:0: warning - invalid usage of tag >"); |
|
406 |
} |
|
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
407 |
} |