1194N/A/*
1194N/A * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
1194N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1194N/A *
1194N/A * This code is free software; you can redistribute it and/or modify it
1194N/A * under the terms of the GNU General Public License version 2 only, as
1194N/A * published by the Free Software Foundation.
1194N/A *
1194N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1194N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1194N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1194N/A * version 2 for more details (a copy is included in the LICENSE file that
1194N/A * accompanied this code).
1194N/A *
1194N/A * You should have received a copy of the GNU General Public License version
1194N/A * 2 along with this work; if not, write to the Free Software Foundation,
1194N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1194N/A *
1194N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1194N/A * or visit www.oracle.com if you need additional information or have any
1194N/A * questions.
1194N/A */
1194N/A
1194N/A/*
1194N/A * @test
1194N/A * @bug 7112427
1194N/A * @summary Test of the JavaFX doclet features.
1194N/A * @author jvalenta
1194N/A * @library ../lib/
1194N/A * @build JavadocTester TestJavaFX
1194N/A * @run main TestJavaFX
1194N/A */
1194N/A
1194N/Apublic class TestJavaFX extends JavadocTester {
1194N/A
1194N/A private static final String BUG_ID = "7112427";
1194N/A
1194N/A private static final String[][] TEST =
1194N/A new String[][] {
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<dt><span class=\"strong\">See Also:</span></dt><dd><a href=\"C.html#getRate()\"><code>getRate()</code></a>, " + NL +
1194N/A "<a href=\"C.html#setRate(double)\"><code>setRate(double)</code></a></dd>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<pre>public final&nbsp;void&nbsp;setRate(double&nbsp;value)</pre>" + NL +
1194N/A "<div class=\"block\">Sets the value of the property rate.</div>" + NL +
1194N/A "<dl><dt><span class=\"strong\">Property description:</span></dt>" },
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<pre>public final&nbsp;double&nbsp;getRate()</pre>" + NL +
1194N/A "<div class=\"block\">Gets the value of the property rate.</div>" + NL +
1194N/A "<dl><dt><span class=\"strong\">Property description:</span></dt>" },
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<td class=\"colLast\"><code><strong><a href=\"C.html#rateProperty\">rate</a></strong></code>" + NL +
1194N/A "<div class=\"block\">Defines the direction/speed at which the <code>Timeline</code> is expected to"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<sub id=\"expert\">Expert tag text</sub>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<span class=\"strong\">Default value:</span>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<P>Sets the value of the property <CODE>Property</CODE>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<P>Gets the value of the property <CODE>Property</CODE>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<span class=\"strong\">Property description:</span>"},
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<td class=\"colLast\"><code><strong><a href=\"C.html#setTestMethodProperty()\">setTestMethodProperty</a></strong>()</code>&nbsp;</td>" },
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "<h4>isPaused</h4>" + NL +
1194N/A "<pre>public final&nbsp;double&nbsp;isPaused()</pre>" + NL +
1194N/A "<div class=\"block\">Gets the value of the property paused.</div>" },
1194N/A {"./" + BUG_ID + "/D.html",
1194N/A "<h3>Properties inherited from class&nbsp;<a href=\"C.html\" title=\"class in &lt;Unnamed&gt;\">C</a></h3>" + NL +
1194N/A "<code><a href=\"C.html#pausedProperty\">paused</a>, <a href=\"C.html#rateProperty\">rate</a></code></li>" },
1194N/A };
1194N/A private static final String[][] NO_TEST =
1194N/A new String[][] {
1194N/A {"./" + BUG_ID + "/C.html",
1194N/A "A()"},
1194N/A };
1194N/A
1194N/A
1194N/A private static final String[] ARGS = new String[] {
1194N/A "-d", BUG_ID, "-sourcepath", SRC_DIR, "-private",
1194N/A SRC_DIR + FS + "C.java", SRC_DIR + FS + "D.java"
1194N/A };
1194N/A
1194N/A /**
1194N/A * The entry point of the test.
1194N/A * @param args the array of command line arguments.
1194N/A */
1194N/A public static void main(String[] args) {
1194N/A System.setProperty("javafx.javadoc", "true");
1194N/A TestJavaFX tester = new TestJavaFX();
1194N/A run(tester, ARGS, TEST, NO_TEST);
1194N/A tester.printSummary();
1194N/A }
1194N/A
1194N/A /**
1194N/A * {@inheritDoc}
1194N/A */
1194N/A public String getBugId() {
1194N/A return BUG_ID;
1194N/A }
1194N/A
1194N/A /**
1194N/A * {@inheritDoc}
1194N/A */
1194N/A public String getBugName() {
1194N/A return getClass().getName();
1194N/A }
1194N/A}