equal
deleted
inserted
replaced
33 * @run main TestSimpleTagExclude |
33 * @run main TestSimpleTagExclude |
34 */ |
34 */ |
35 |
35 |
36 public class TestSimpleTagExclude extends JavadocTester { |
36 public class TestSimpleTagExclude extends JavadocTester { |
37 |
37 |
38 private static final String BUG_ID = "4628181"; |
|
39 private static final String[][] NEGATED_TEST = { |
38 private static final String[][] NEGATED_TEST = { |
40 {BUG_ID + "/DummyClass.html", "todo"} |
39 { "DummyClass.html", "todo"} |
41 }; |
40 }; |
42 private static final String[] ARGS = new String[] { |
41 private static final String[] ARGS = new String[] { |
43 "-d", BUG_ID, "-sourcepath", SRC_DIR, "-tag", "todo:X", |
42 "-d", OUTPUT_DIR, "-sourcepath", SRC_DIR, "-tag", "todo:X", |
44 SRC_DIR + "/DummyClass.java" |
43 SRC_DIR + "/DummyClass.java" |
45 }; |
44 }; |
46 |
45 |
47 /** |
46 /** |
48 * The entry point of the test. |
47 * The entry point of the test. |
53 if (tester.run(ARGS, NO_TEST, NEGATED_TEST) != 0) { |
52 if (tester.run(ARGS, NO_TEST, NEGATED_TEST) != 0) { |
54 throw new Error("Javadoc failed to execute."); |
53 throw new Error("Javadoc failed to execute."); |
55 } |
54 } |
56 tester.printSummary(); |
55 tester.printSummary(); |
57 } |
56 } |
58 |
|
59 /** |
|
60 * {@inheritDoc} |
|
61 */ |
|
62 public String getBugId() { |
|
63 return BUG_ID; |
|
64 } |
|
65 |
|
66 /** |
|
67 * {@inheritDoc} |
|
68 */ |
|
69 public String getBugName() { |
|
70 return getClass().getName(); |
|
71 } |
|
72 } |
57 } |