equal
deleted
inserted
replaced
39 |
39 |
40 private static final String BUG_ID = "4510979"; |
40 private static final String BUG_ID = "4510979"; |
41 private static final String TMP_SRC_DIR = "tmpSrc"; |
41 private static final String TMP_SRC_DIR = "tmpSrc"; |
42 private static final String OUTPUT_DIR1 = BUG_ID + "-tabLengthEight"; |
42 private static final String OUTPUT_DIR1 = BUG_ID + "-tabLengthEight"; |
43 private static final String OUTPUT_DIR2 = BUG_ID + "-tabLengthFour"; |
43 private static final String OUTPUT_DIR2 = BUG_ID + "-tabLengthFour"; |
44 private static final String[][] TEST = NO_TEST; |
|
45 private static final String[][] NEGATED_TEST = NO_TEST; |
|
46 |
44 |
47 //Run Javadoc on a source file with that is indented with a single tab per line |
45 //Run Javadoc on a source file with that is indented with a single tab per line |
48 private static final String[] ARGS1 = |
46 private static final String[] ARGS1 = |
49 new String[] { |
47 new String[] { |
50 "-d", OUTPUT_DIR1, "-sourcepath", TMP_SRC_DIR, |
48 "-d", OUTPUT_DIR1, "-sourcepath", TMP_SRC_DIR, |
75 * The entry point of the test. |
73 * The entry point of the test. |
76 * @param args the array of command line arguments. |
74 * @param args the array of command line arguments. |
77 */ |
75 */ |
78 public static void main(String[] args) throws IOException { |
76 public static void main(String[] args) throws IOException { |
79 TestSourceTab tester = new TestSourceTab(); |
77 TestSourceTab tester = new TestSourceTab(); |
80 tester.run(ARGS1, TEST, NEGATED_TEST); |
78 tester.run(ARGS1, NO_TEST, NO_TEST); |
81 tester.run(ARGS2, TEST, NEGATED_TEST); |
79 tester.run(ARGS2, NO_TEST, NO_TEST); |
82 tester.runDiffs(FILES_TO_DIFF); |
80 tester.runDiffs(FILES_TO_DIFF); |
83 } |
81 } |
84 |
82 |
85 TestSourceTab() throws IOException { |
83 TestSourceTab() throws IOException { |
86 initTabs(new File(SRC_DIR), new File(TMP_SRC_DIR)); |
84 initTabs(new File(SRC_DIR), new File(TMP_SRC_DIR)); |