2015-11-29 02:52:17 +00:00
|
|
|
/*
|
2020-02-27 20:16:03 +00:00
|
|
|
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
2015-11-29 02:52:17 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* This code is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 only, as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
* accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version
|
|
|
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*
|
|
|
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
* or visit www.oracle.com if you need additional information or have any
|
|
|
|
* questions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @test
|
2017-04-20 21:37:15 +00:00
|
|
|
* @bug 7112427 8012295 8025633 8026567 8061305 8081854 8150130 8162363
|
2018-04-24 18:54:03 +00:00
|
|
|
* 8167967 8172528 8175200 8178830 8182257 8186332 8182765 8025091
|
2018-11-20 05:20:54 +00:00
|
|
|
* 8203791 8184205
|
2015-11-29 02:52:17 +00:00
|
|
|
* @summary Test of the JavaFX doclet features.
|
2018-12-21 18:38:33 +00:00
|
|
|
* @library ../../lib
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.tool
|
2018-12-21 18:38:33 +00:00
|
|
|
* @build javadoc.tester.*
|
2015-11-29 02:52:17 +00:00
|
|
|
* @run main TestJavaFX
|
|
|
|
*/
|
|
|
|
|
2018-12-21 18:38:33 +00:00
|
|
|
import javadoc.tester.JavadocTester;
|
|
|
|
|
2015-11-29 02:52:17 +00:00
|
|
|
public class TestJavaFX extends JavadocTester {
|
|
|
|
|
|
|
|
public static void main(String... args) throws Exception {
|
|
|
|
TestJavaFX tester = new TestJavaFX();
|
2020-06-18 21:07:49 +00:00
|
|
|
tester.setAutomaticCheckAccessibility(false);
|
|
|
|
tester.setAutomaticCheckLinks(false);
|
2015-11-29 02:52:17 +00:00
|
|
|
tester.runTests();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Test
|
2018-12-21 18:38:33 +00:00
|
|
|
public void test1() {
|
2015-11-29 02:52:17 +00:00
|
|
|
javadoc("-d", "out1",
|
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"-javafx",
|
2018-04-24 18:54:03 +00:00
|
|
|
"--disable-javafx-strict-checks",
|
2015-11-29 02:52:17 +00:00
|
|
|
"-package",
|
|
|
|
"pkg1");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
|
|
|
|
checkOutput("pkg1/C.html", true,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<dt>See Also:</dt>
|
|
|
|
<dd><a href="#getRate()"><code>getRate()</code></a>,\s
|
|
|
|
<a href="#setRate(double)"><code>setRate(double)</code></a></dd>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">void</span> <span class="element-name">setRate</span>̴\
|
|
|
|
3;<span class="parameters">(double value)</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Sets the value of the property rate.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">double</span> <span class="element-name">getRate</span>()<\
|
|
|
|
/div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Gets the value of the property rate.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-first odd-row-color"><code><a href="C.DoubleProperty.html" title="class in pkg1">C.DoubleProperty</a></code></div>
|
|
|
|
<div class="col-second odd-row-color"><code><span class="member-name-link"><a href="#rateProperty">rate</a></span></code></div>
|
|
|
|
<div class="col-last odd-row-color">
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Defines the direction/speed at which the <code>Timeline</code> is expected to
|
2020-10-12 09:36:43 +00:00
|
|
|
be played.</div>""",
|
2020-02-27 20:16:03 +00:00
|
|
|
"<dt>Default value:</dt>",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<dt>Since:</dt>
|
|
|
|
<dd>JavaFX 8.0</dd>""",
|
2020-02-27 20:16:03 +00:00
|
|
|
"<dt>Property description:</dt>",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-\
|
|
|
|
tab4 method-summary-table"><code><span class="member-name-link"><a href="#setTes\
|
|
|
|
tMethodProperty()">setTestMethodProperty</a></span>()</code></div>""",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-second even-row-color"><code><span class="member-name-link"><a href="\
|
|
|
|
#pausedProperty">paused</a></span></code></div>
|
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Defines if paused.</div>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="pausedProperty">
|
|
|
|
<h3>paused</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
|
|
|
span class="return-type"><a href="C.BooleanProperty.html" title="class in pkg1">\
|
2020-11-27 19:12:31 +00:00
|
|
|
C.BooleanProperty</a></span> <span class="element-name">pausedProperty</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Defines if paused. The second line.</div>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="isPaused()">
|
|
|
|
<h3>isPaused</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">double</span> <span class="element-name">isPaused</span>()\
|
|
|
|
</div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Gets the value of the property paused.</div>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="setPaused(boolean)">
|
|
|
|
<h3>setPaused</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">void</span> <span class="element-name">setPaused</span>\
|
|
|
|
203;<span class="parameters">(boolean value)</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Sets the value of the property paused.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>
|
|
|
|
<dd>Defines if paused. The second line.</dd>
|
|
|
|
<dt>Default value:</dt>
|
|
|
|
<dd>false</dd>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="isPaused()">
|
|
|
|
<h3>isPaused</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">double</span> <span class="element-name">isPaused</span>()\
|
|
|
|
</div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Gets the value of the property paused.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>
|
|
|
|
<dd>Defines if paused. The second line.</dd>
|
|
|
|
<dt>Default value:</dt>
|
|
|
|
<dd>false</dd>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="rateProperty">
|
|
|
|
<h3>rate</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
|
|
|
span class="return-type"><a href="C.DoubleProperty.html" title="class in pkg1">C\
|
2020-11-27 19:12:31 +00:00
|
|
|
.DoubleProperty</a></span> <span class="element-name">rateProperty</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Defines the direction/speed at which the <code>Timeline</code> is expected to
|
|
|
|
be played. This is the second line.</div>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="setRate(double)">
|
|
|
|
<h3>setRate</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">void</span> <span class="element-name">setRate</span>̴\
|
|
|
|
3;<span class="parameters">(double value)</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Sets the value of the property rate.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>
|
|
|
|
<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to
|
|
|
|
be played. This is the second line.</dd>
|
|
|
|
<dt>Default value:</dt>
|
|
|
|
<dd>11</dd>
|
|
|
|
<dt>Since:</dt>
|
|
|
|
<dd>JavaFX 8.0</dd>""",
|
|
|
|
"""
|
|
|
|
<section class="detail" id="getRate()">
|
|
|
|
<h3>getRate</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
2020-11-27 19:12:31 +00:00
|
|
|
span class="return-type">double</span> <span class="element-name">getRate</span>()<\
|
|
|
|
/div>
|
2020-05-05 20:02:30 +00:00
|
|
|
<div class="block">Gets the value of the property rate.</div>
|
|
|
|
<dl class="notes">
|
|
|
|
<dt>Property description:</dt>
|
|
|
|
<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to
|
|
|
|
be played. This is the second line.</dd>
|
|
|
|
<dt>Default value:</dt>
|
|
|
|
<dd>11</dd>
|
|
|
|
<dt>Since:</dt>
|
|
|
|
<dd>JavaFX 8.0</dd>""",
|
|
|
|
"""
|
|
|
|
<section class="property-summary" id="property.summary">
|
|
|
|
<h2>Property Summary</h2>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="caption"><span>Properties</span></div>
|
|
|
|
<div class="summary-table three-column-summary">""",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-first even-row-color"><code><a href="C.BooleanProperty.html" title="class in pkg1">C.BooleanProperty</a></code></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-first odd-row-color"><code><a href="C.DoubleProperty.html" title="class in pkg1">C.DoubleProperty</a></code></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
""");
|
2015-11-29 02:52:17 +00:00
|
|
|
|
|
|
|
checkOutput("pkg1/C.html", false,
|
2017-02-02 04:14:52 +00:00
|
|
|
"A()",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<h2>Property Summary</h2>
|
|
|
|
<div id="method-summary-table">
|
|
|
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal">\
|
|
|
|
<button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-cont\
|
|
|
|
rols="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" o\
|
|
|
|
nclick="show('method-summary-table', 'method-summary-table', 3)" class="active-t\
|
|
|
|
able-tab">All Methods</button>\
|
|
|
|
<button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-con\
|
|
|
|
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
|
|
|
|
onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="t\
|
|
|
|
able-tab">Instance Methods</button>\
|
|
|
|
<button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-con\
|
|
|
|
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
|
|
|
|
onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="t\
|
|
|
|
able-tab">Concrete Methods</button>\
|
|
|
|
</div>""",
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<tr id="i0" class="even-row-color">
|
2020-05-05 20:02:30 +00:00
|
|
|
<td class="col-first"><code><a href="C.BooleanProperty.html" title="class in pkg1">C.BooleanProperty</a></code></td>
|
|
|
|
""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<tr id="i1" class="odd-row-color">
|
2020-05-05 20:02:30 +00:00
|
|
|
<td class="col-first"><code><a href="C.DoubleProperty.html" title="class in pkg1">C.DoubleProperty</a></code></td>
|
|
|
|
""");
|
2015-11-29 02:52:17 +00:00
|
|
|
|
2016-10-10 18:21:00 +00:00
|
|
|
checkOutput("index-all.html", true,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<div class="block">Gets the value of the property paused.</div>""",
|
|
|
|
"""
|
|
|
|
<div class="block">Defines if paused.</div>""");
|
2016-10-10 18:21:00 +00:00
|
|
|
|
2015-11-29 02:52:17 +00:00
|
|
|
checkOutput("pkg1/D.html", true,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<h3 id="properties.inherited.from.class.pkg1.C">Properties inherited from class&\
|
|
|
|
nbsp;pkg1.<a href="C.html" title="class in pkg1">C</a></h3>
|
|
|
|
<code><a href="C.html#pausedProperty">paused</a>, <a href="C.html#rateProperty">rate</a></code></div>""");
|
2015-11-29 02:52:17 +00:00
|
|
|
|
|
|
|
checkOutput("pkg1/D.html", false, "shouldNotAppear");
|
|
|
|
}
|
2018-03-06 18:45:47 +00:00
|
|
|
|
2015-11-29 02:52:17 +00:00
|
|
|
/*
|
|
|
|
* Test with -javafx option enabled, to ensure property getters and setters
|
|
|
|
* are treated correctly.
|
|
|
|
*/
|
|
|
|
@Test
|
2018-12-21 18:38:33 +00:00
|
|
|
public void test2() {
|
2015-11-29 02:52:17 +00:00
|
|
|
javadoc("-d", "out2a",
|
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"-javafx",
|
2018-04-24 18:54:03 +00:00
|
|
|
"--disable-javafx-strict-checks",
|
2020-10-07 13:08:34 +00:00
|
|
|
"--no-platform-links",
|
2015-11-29 02:52:17 +00:00
|
|
|
"-package",
|
|
|
|
"pkg2");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
checkOutput("pkg2/Test.html", true,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<section class="property-details" id="property.detail">
|
|
|
|
<h2>Property Details</h2>
|
|
|
|
<ul class="member-list">
|
|
|
|
<li>
|
|
|
|
<section class="detail" id="betaProperty">
|
|
|
|
<h3>beta</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public</span> <span c\
|
2020-11-27 19:12:31 +00:00
|
|
|
lass="return-type">java.lang.Object</span> <span class="element-name">betaProperty<\
|
|
|
|
/span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
</section>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<section class="detail" id="gammaProperty">
|
|
|
|
<h3>gamma</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
|
|
|
span class="return-type">java.util.List<java.lang.String></span> <spa\
|
2020-11-27 19:12:31 +00:00
|
|
|
n class="element-name">gammaProperty</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
</section>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<section class="detail" id="deltaProperty">
|
|
|
|
<h3>delta</h3>
|
|
|
|
<div class="member-signature"><span class="modifiers">public final</span> <\
|
|
|
|
span class="return-type">java.util.List<java.util.Set<? super java.lang.Ob\
|
2020-11-27 19:12:31 +00:00
|
|
|
ject>></span> <span class="element-name">deltaProperty</span></div>
|
2020-05-05 20:02:30 +00:00
|
|
|
</section>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>""",
|
|
|
|
"""
|
|
|
|
<section class="property-summary" id="property.summary">
|
|
|
|
<h2>Property Summary</h2>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="caption"><span>Properties</span></div>
|
|
|
|
<div class="summary-table three-column-summary">""");
|
2017-02-02 04:14:52 +00:00
|
|
|
|
|
|
|
checkOutput("pkg2/Test.html", false,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
|
|
|
<h2>Property Summary</h2>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div id="method-summary-table">
|
|
|
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal">\
|
|
|
|
<button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-cont\
|
|
|
|
rols="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" o\
|
|
|
|
nclick="show('method-summary-table', 'method-summary-table', 3)" class="active-t\
|
|
|
|
able-tab">All Methods</button>\
|
|
|
|
<button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-con\
|
|
|
|
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
|
|
|
|
onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="t\
|
|
|
|
able-tab">Instance Methods</button>\
|
|
|
|
<button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-con\
|
|
|
|
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
|
|
|
|
onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="t\
|
|
|
|
able-tab">Concrete Methods</button>\
|
|
|
|
</div>""");
|
2015-11-29 02:52:17 +00:00
|
|
|
}
|
2016-03-03 22:54:44 +00:00
|
|
|
|
2015-11-29 02:52:17 +00:00
|
|
|
/*
|
|
|
|
* Test without -javafx option, to ensure property getters and setters
|
|
|
|
* are treated just like any other java method.
|
|
|
|
*/
|
|
|
|
@Test
|
2018-12-21 18:38:33 +00:00
|
|
|
public void test3() {
|
2015-11-29 02:52:17 +00:00
|
|
|
javadoc("-d", "out2b",
|
|
|
|
"-sourcepath", testSrc,
|
2020-10-07 13:08:34 +00:00
|
|
|
"--no-platform-links",
|
2015-11-29 02:52:17 +00:00
|
|
|
"-package",
|
|
|
|
"pkg2");
|
|
|
|
checkExit(Exit.OK);
|
2019-03-04 19:19:34 +00:00
|
|
|
checkOutput("pkg2/Test.html", false, "<h2>Property Summary</h2>");
|
2018-03-06 18:45:47 +00:00
|
|
|
checkOutput("pkg2/Test.html", true,
|
2020-05-05 20:02:30 +00:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
|
|
<div class="table-header col-second">Method</div>
|
|
|
|
<div class="table-header col-last">Description</div>
|
|
|
|
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-t\
|
|
|
|
ab4 method-summary-table"><code><T> java.lang.Object</code></div>
|
|
|
|
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-\
|
|
|
|
tab4 method-summary-table"><code><span class="member-name-link"><a href="#alphaP\
|
|
|
|
roperty(java.util.List)">alphaProperty</a></span>​(java.util.List<T>\
|
|
|
|
foo)</code></div>
|
|
|
|
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-ta\
|
|
|
|
b4 method-summary-table"> </div>
|
|
|
|
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-t\
|
|
|
|
ab4 method-summary-table"><code>java.lang.Object</code></div>
|
|
|
|
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-\
|
|
|
|
tab4 method-summary-table"><code><span class="member-name-link"><a href="#betaPr\
|
|
|
|
operty()">betaProperty</a></span>()</code></div>
|
|
|
|
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-ta\
|
|
|
|
b4 method-summary-table"> </div>
|
|
|
|
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-t\
|
|
|
|
ab4 method-summary-table"><code>java.util.List<java.util.Set<? super java.\
|
|
|
|
lang.Object>></code></div>
|
|
|
|
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-\
|
|
|
|
tab4 method-summary-table"><code><span class="member-name-link"><a href="#deltaP\
|
|
|
|
roperty()">deltaProperty</a></span>()</code></div>
|
|
|
|
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-ta\
|
|
|
|
b4 method-summary-table"> </div>
|
|
|
|
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-t\
|
|
|
|
ab4 method-summary-table"><code>java.util.List<java.lang.String></code></d\
|
|
|
|
iv>
|
|
|
|
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-\
|
|
|
|
tab4 method-summary-table"><code><span class="member-name-link"><a href="#gammaP\
|
|
|
|
roperty()">gammaProperty</a></span>()</code></div>
|
|
|
|
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-ta\
|
|
|
|
b4 method-summary-table"> </div>"""
|
2018-03-06 18:45:47 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2016-03-03 22:54:44 +00:00
|
|
|
/*
|
|
|
|
* Force the doclet to emit a warning when processing a synthesized,
|
2017-04-20 21:37:15 +00:00
|
|
|
* DocComment, and ensure that the run succeeds, using the newer
|
|
|
|
* --javafx flag.
|
2016-03-03 22:54:44 +00:00
|
|
|
*/
|
|
|
|
@Test
|
2018-12-21 18:38:33 +00:00
|
|
|
public void test4() {
|
2016-03-03 22:54:44 +00:00
|
|
|
javadoc("-d", "out4",
|
2017-04-20 21:37:15 +00:00
|
|
|
"--javafx",
|
2018-04-24 18:54:03 +00:00
|
|
|
"--disable-javafx-strict-checks",
|
2016-03-03 22:54:44 +00:00
|
|
|
"-Xdoclint:none",
|
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"-package",
|
|
|
|
"pkg4");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
|
|
|
|
// make sure the doclet indeed emits the warning
|
2020-06-18 21:07:49 +00:00
|
|
|
checkOutput(Output.OUT, true, "C.java:0: warning - invalid usage of tag <");
|
2016-03-03 22:54:44 +00:00
|
|
|
}
|
2015-11-29 02:52:17 +00:00
|
|
|
}
|