26 * @bug 4197513
27 * @summary Javadoc does not process base class.
28 * @author jamieh
29 * @library ../lib
30 * @modules jdk.javadoc
31 * @build BaseClass
32 * @build JavadocTester
33 * @run main TestBaseClass
34 */
35
36 public class TestBaseClass extends JavadocTester {
37
38 public static void main(String... args) throws Exception {
39 TestBaseClass tester = new TestBaseClass();
40 tester.runTests();
41 }
42
43 @Test
44 void test() {
45 javadoc("-sourcepath", testSrc,
46 "-docletpath", testSrc,
47 "-doclet", "BaseClass",
48 testSrc("Bar.java"), "baz");
49 checkExit(Exit.OK);
50 }
51 }
|
26 * @bug 4197513
27 * @summary Javadoc does not process base class.
28 * @author jamieh
29 * @library ../lib
30 * @modules jdk.javadoc
31 * @build BaseClass
32 * @build JavadocTester
33 * @run main TestBaseClass
34 */
35
36 public class TestBaseClass extends JavadocTester {
37
38 public static void main(String... args) throws Exception {
39 TestBaseClass tester = new TestBaseClass();
40 tester.runTests();
41 }
42
43 @Test
44 void test() {
45 javadoc("-sourcepath", testSrc,
46 "-docletpath", System.getProperty("test.classes", "."),
47 "-doclet", "BaseClass",
48 testSrc("Bar.java"), "baz");
49 checkExit(Exit.OK);
50 }
51 }
|