author | ysuenaga |
Wed, 30 Mar 2016 21:05:13 +0900 | |
changeset 37218 | c7241bc368bf |
parent 31297 | 86fe1414f12c |
permissions | -rw-r--r-- |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
1 |
/* |
29957
7740f9657f56
8072945: Javadoc should generate valid and compliant HTML5 output
bpatel
parents:
27381
diff
changeset
|
2 |
* Copyright (c) 2012, 2015, 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 |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
26 |
* @bug 7112427 8012295 8025633 8026567 8061305 8081854 |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
27 |
* @summary Test of the JavaFX doclet features. |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
28 |
* @author jvalenta |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
29 |
* @library ../lib |
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
29957
diff
changeset
|
30 |
* @modules jdk.javadoc |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
31 |
* @build JavadocTester |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
32 |
* @run main TestJavaFX |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
33 |
*/ |
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 |
public class TestJavaFX extends JavadocTester { |
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
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 |
TestJavaFX tester = new TestJavaFX(); |
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 |
} |
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 |
@Test |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
43 |
void test1() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
44 |
javadoc("-d", "out1", |
24399
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 |
"-javafx", |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
47 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
48 |
"pkg1"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
49 |
checkExit(Exit.OK); |
17572 | 50 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
51 |
checkOutput("pkg1/C.html", true, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
52 |
"<dt><span class=\"seeLabel\">See Also:</span></dt>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
53 |
+ "<dd><a href=\"../pkg1/C.html#getRate--\"><code>getRate()</code></a>, \n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
54 |
+ "<a href=\"../pkg1/C.html#setRate-double-\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
55 |
+ "<code>setRate(double)</code></a></dd>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
56 |
"<pre>public final void setRate(double value)</pre>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
57 |
+ "<div class=\"block\">Sets the value of the property rate.</div>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
58 |
+ "<dl>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
59 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
60 |
"<pre>public final double getRate()</pre>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
61 |
+ "<div class=\"block\">Gets the value of the property rate.</div>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
62 |
+ "<dl>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
63 |
+ "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
64 |
"<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
65 |
+ "<a href=\"../pkg1/C.html#rateProperty\">rate</a></span></code>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
66 |
+ "<div class=\"block\">Defines the direction/speed at which the " |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
67 |
+ "<code>Timeline</code> is expected to", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
68 |
"<span class=\"simpleTagLabel\">Default value:</span>", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
69 |
"<span class=\"simpleTagLabel\">Since:</span></dt>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
70 |
+ "<dd>JavaFX 8.0</dd>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
71 |
"<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
|
72 |
"<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
|
73 |
"<span class=\"simpleTagLabel\">Property description:</span>", |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
74 |
"<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
75 |
+ "<a href=\"../pkg1/C.html#setTestMethodProperty--\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
76 |
+ "setTestMethodProperty</a></span>()</code> </td>", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
77 |
"<h4>isPaused</h4>\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
78 |
+ "<pre>public final double isPaused()</pre>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
79 |
+ "<div class=\"block\">Gets the value of the property paused.</div>"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
80 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
81 |
checkOutput("pkg1/C.html", false, |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
82 |
"A()"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
83 |
|
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
84 |
checkOutput("pkg1/D.html", true, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
85 |
"<h3>Properties inherited from class pkg1." |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
86 |
+ "<a href=\"../pkg1/C.html\" title=\"class in pkg1\">C</a></h3>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
87 |
+ "<code><a href=\"../pkg1/C.html#pausedProperty\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
88 |
+ "paused</a>, <a href=\"../pkg1/C.html#rateProperty\">rate</a></code></li>"); |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
89 |
} |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
90 |
/* |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
91 |
* 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
|
92 |
* are treated correctly. |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
93 |
*/ |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
94 |
@Test |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
95 |
void test2() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
96 |
javadoc("-d", "out2a", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
97 |
"-sourcepath", testSrc, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
98 |
"-javafx", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
99 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
100 |
"pkg2"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
101 |
checkExit(Exit.OK); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
102 |
checkOutput("pkg2/Test.html", true, |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
103 |
"<li class=\"blockList\"><a name=\"property.detail\">\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
104 |
+ "<!-- -->\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
105 |
+ "</a>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
106 |
+ "<h3>Property Detail</h3>\n" |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
107 |
+ "<a name=\"betaProperty\">\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
108 |
+ "<!-- -->\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
109 |
+ "</a>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
110 |
+ "<ul class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
111 |
+ "<li class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
112 |
+ "<h4>beta</h4>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
113 |
+ "<pre>public java.lang.Object betaProperty</pre>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
114 |
+ "</li>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
115 |
+ "</ul>\n" |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
116 |
+ "<a name=\"gammaProperty\">\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
117 |
+ "<!-- -->\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
118 |
+ "</a>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
119 |
+ "<ul class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
120 |
+ "<li class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
121 |
+ "<h4>gamma</h4>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
122 |
+ "<pre>public final java.util.List<" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
123 |
+ "java.lang.String> gammaProperty</pre>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
124 |
+ "</li>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
125 |
+ "</ul>\n" |
31297
86fe1414f12c
8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents:
30730
diff
changeset
|
126 |
+ "<a name=\"deltaProperty\">\n" |
27381
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
127 |
+ "<!-- -->\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
128 |
+ "</a>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
129 |
+ "<ul class=\"blockListLast\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
130 |
+ "<li class=\"blockList\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
131 |
+ "<h4>delta</h4>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
132 |
+ "<pre>public final java.util.List<" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
133 |
+ "java.util.Set<? super java.lang.Object>> deltaProperty</pre>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
134 |
+ "</li>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
135 |
+ "</ul>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
136 |
+ "</li>"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
137 |
} |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
138 |
/* |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
139 |
* 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
|
140 |
* are treated just like any other java method. |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
141 |
*/ |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
142 |
@Test |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
143 |
void test3() { |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
144 |
javadoc("-d", "out2b", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
145 |
"-sourcepath", testSrc, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
146 |
"-package", |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
147 |
"pkg2"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
148 |
checkExit(Exit.OK); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
149 |
checkOutput("pkg2/Test.html", false, "<h3>Property Summary</h3>"); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
150 |
checkOutput("pkg2/Test.html", true, |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
151 |
"<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
152 |
+ "<th class=\"colLast\" scope=\"col\">Method and Description</th>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
153 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
154 |
+ "<tr id=\"i0\" class=\"altColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
155 |
+ "<td class=\"colFirst\"><code><T> java.lang.Object</code></td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
156 |
+ "<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
157 |
+ "<a href=\"../pkg2/Test.html#alphaProperty-java.util.List-\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
158 |
+ "alphaProperty</a></span>(java.util.List<T> foo)</code> </td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
159 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
160 |
+ "<tr id=\"i1\" class=\"rowColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
161 |
+ "<td class=\"colFirst\"><code>java.lang.Object</code></td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
162 |
+ "<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
163 |
+ "<a href=\"../pkg2/Test.html#betaProperty--\">betaProperty</a></span>()</code>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
164 |
+ " </td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
165 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
166 |
+ "<tr id=\"i2\" class=\"altColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
167 |
+ "<td class=\"colFirst\"><code>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
168 |
+ "java.util.List<java.util.Set<? super java.lang.Object>>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
169 |
+ "</code></td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
170 |
+ "<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
171 |
+ "<a href=\"../pkg2/Test.html#deltaProperty--\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
172 |
+ "deltaProperty</a></span>()</code> </td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
173 |
+ "</tr>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
174 |
+ "<tr id=\"i3\" class=\"rowColor\">\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
175 |
+ "<td class=\"colFirst\"><code>java.util.List<java.lang.String>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
176 |
+ "</code></td>\n" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
177 |
+ "<td class=\"colLast\"><code><span class=\"memberNameLink\">" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
178 |
+ "<a href=\"../pkg2/Test.html#gammaProperty--\">gammaProperty</a>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
179 |
+ "</span>()</code> </td>" |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
180 |
); |
46ea7c75828e
8061305: Javadoc crashes when method name ends with "Property"
ksrini
parents:
24399
diff
changeset
|
181 |
} |
16319
e586bfeb39c5
7112427: The doclet needs to be able to generate JavaFX documentation.
jjg
parents:
diff
changeset
|
182 |
} |