equal
deleted
inserted
replaced
33 * @run main TestBadSourceFile |
33 * @run main TestBadSourceFile |
34 */ |
34 */ |
35 |
35 |
36 public class TestBadSourceFile extends JavadocTester { |
36 public class TestBadSourceFile extends JavadocTester { |
37 |
37 |
38 //Test information. |
|
39 private static final String BUG_ID = "4835749"; |
|
40 |
|
41 //Javadoc arguments. |
38 //Javadoc arguments. |
42 private static final String[] ARGS = new String[] { |
39 private static final String[] ARGS = new String[] { |
43 "-Xdoclint:none", "-d", BUG_ID, SRC_DIR + "/C2.java" |
40 "-Xdoclint:none", "-d", OUTPUT_DIR, SRC_DIR + "/C2.java" |
44 }; |
41 }; |
45 |
42 |
46 /** |
43 /** |
47 * The entry point of the test. |
44 * The entry point of the test. |
48 * @param args the array of command line arguments. |
45 * @param args the array of command line arguments. |
51 TestBadSourceFile tester = new TestBadSourceFile(); |
48 TestBadSourceFile tester = new TestBadSourceFile(); |
52 int exitCode = tester.run(ARGS, NO_TEST, NO_TEST); |
49 int exitCode = tester.run(ARGS, NO_TEST, NO_TEST); |
53 tester.checkExitCode(0, exitCode); |
50 tester.checkExitCode(0, exitCode); |
54 tester.printSummary(); |
51 tester.printSummary(); |
55 } |
52 } |
56 |
|
57 /** |
|
58 * {@inheritDoc} |
|
59 */ |
|
60 public String getBugId() { |
|
61 return BUG_ID; |
|
62 } |
|
63 |
|
64 /** |
|
65 * {@inheritDoc} |
|
66 */ |
|
67 public String getBugName() { |
|
68 return getClass().getName(); |
|
69 } |
|
70 } |
53 } |