equal
deleted
inserted
replaced
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"; |
38 private static final String BUG_ID = "4628181"; |
39 private static final String[][] TEST = NO_TEST; |
|
40 private static final String[][] NEGATED_TEST = { |
39 private static final String[][] NEGATED_TEST = { |
41 {BUG_ID + "/DummyClass.html", "todo"} |
40 {BUG_ID + "/DummyClass.html", "todo"} |
42 }; |
41 }; |
43 private static final String[] ARGS = new String[] { |
42 private static final String[] ARGS = new String[] { |
44 "-d", BUG_ID, "-sourcepath", SRC_DIR, "-tag", "todo:X", |
43 "-d", BUG_ID, "-sourcepath", SRC_DIR, "-tag", "todo:X", |
49 * The entry point of the test. |
48 * The entry point of the test. |
50 * @param args the array of command line arguments. |
49 * @param args the array of command line arguments. |
51 */ |
50 */ |
52 public static void main(String[] args) { |
51 public static void main(String[] args) { |
53 TestSimpleTagExclude tester = new TestSimpleTagExclude(); |
52 TestSimpleTagExclude tester = new TestSimpleTagExclude(); |
54 if (tester.run(ARGS, TEST, NEGATED_TEST) != 0) { |
53 if (tester.run(ARGS, NO_TEST, NEGATED_TEST) != 0) { |
55 throw new Error("Javadoc failed to execute."); |
54 throw new Error("Javadoc failed to execute."); |
56 } |
55 } |
57 tester.printSummary(); |
56 tester.printSummary(); |
58 } |
57 } |
59 |
58 |