34 */ |
34 */ |
35 |
35 |
36 public class TestHrefInDocComment extends JavadocTester { |
36 public class TestHrefInDocComment extends JavadocTester { |
37 |
37 |
38 private static final String BUG_ID = "4638015"; |
38 private static final String BUG_ID = "4638015"; |
39 private static final String[][] TEST = NO_TEST; |
|
40 private static final String[][] NEGATED_TEST = NO_TEST; |
|
41 private static final String[] ARGS = |
39 private static final String[] ARGS = |
42 new String[] { |
40 new String[] { |
43 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"}; |
41 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"}; |
44 |
42 |
45 /** |
43 /** |
46 * The entry point of the test. |
44 * The entry point of the test. |
47 * @param args the array of command line arguments. |
45 * @param args the array of command line arguments. |
48 */ |
46 */ |
49 public static void main(String[] args) { |
47 public static void main(String[] args) { |
50 TestHrefInDocComment tester = new TestHrefInDocComment(); |
48 TestHrefInDocComment tester = new TestHrefInDocComment(); |
51 if (tester.run(ARGS, TEST, NEGATED_TEST) != 0) { |
49 if (tester.run(ARGS, NO_TEST, NO_TEST) != 0) { |
52 throw new Error("Javadoc failed to execute properly with given source."); |
50 throw new Error("Javadoc failed to execute properly with given source."); |
53 } |
51 } |
54 |
52 |
55 } |
53 } |
56 |
54 |