equal
deleted
inserted
replaced
34 */ |
34 */ |
35 |
35 |
36 public class TestEmptyClass extends JavadocTester { |
36 public class TestEmptyClass extends JavadocTester { |
37 |
37 |
38 private static final String OUTPUT_DIR = "tmp"; |
38 private static final String OUTPUT_DIR = "tmp"; |
39 private static final String[][] TEST = NO_TEST; |
|
40 private static final String[][] NEGATED_TEST = { |
39 private static final String[][] NEGATED_TEST = { |
41 |
40 |
42 //The overview tree should not link to classes that were not documented |
41 //The overview tree should not link to classes that were not documented |
43 {OUTPUT_DIR + "/overview-tree.html", "<A HREF=\"TestEmptyClass.html\">"}, |
42 {OUTPUT_DIR + "/overview-tree.html", "<A HREF=\"TestEmptyClass.html\">"}, |
44 |
43 |
58 * The entry point of the test. |
57 * The entry point of the test. |
59 * @param args the array of command line arguments. |
58 * @param args the array of command line arguments. |
60 */ |
59 */ |
61 public static void main(String[] args) { |
60 public static void main(String[] args) { |
62 TestEmptyClass tester = new TestEmptyClass(); |
61 TestEmptyClass tester = new TestEmptyClass(); |
63 int exitCode = tester.run(ARGS, TEST, NEGATED_TEST); |
62 int exitCode = tester.run(ARGS, NO_TEST, NEGATED_TEST); |
64 tester.printSummary(); |
63 tester.printSummary(); |
65 if (exitCode != 0) { |
64 if (exitCode != 0) { |
66 throw new Error("Error found while executing Javadoc"); |
65 throw new Error("Error found while executing Javadoc"); |
67 } |
66 } |
68 } |
67 } |