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