langtools/test/com/sun/javadoc/testSourceTab/TestSourceTab.java
changeset 24072 e7549dcbc4af
parent 24071 b0845717434e
child 24399 af1a0220d0fa
--- a/langtools/test/com/sun/javadoc/testSourceTab/TestSourceTab.java	Tue Apr 22 17:41:11 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testSourceTab/TestSourceTab.java	Tue Apr 22 17:57:40 2014 -0700
@@ -37,10 +37,9 @@
 
 public class TestSourceTab extends JavadocTester {
 
-    private static final String BUG_ID = "4510979";
     private static final String TMP_SRC_DIR = "tmpSrc";
-    private static final String OUTPUT_DIR1 = BUG_ID + "-tabLengthEight";
-    private static final String OUTPUT_DIR2 = BUG_ID + "-tabLengthFour";
+    private static final String OUTPUT_DIR1 = OUTPUT_DIR + "-tabLengthEight";
+    private static final String OUTPUT_DIR2 = OUTPUT_DIR + "-tabLengthFour";
 
     //Run Javadoc on a source file with that is indented with a single tab per line
     private static final String[] ARGS1 =
@@ -59,14 +58,9 @@
         };
 
     //Files to diff
-    private static final String[][] FILES_TO_DIFF = {
-        {OUTPUT_DIR1 + "/src-html/C.html",
-         OUTPUT_DIR2 + "/src-html/C.html"
-        },
-        {OUTPUT_DIR1 + "/C.html",
-         OUTPUT_DIR2 + "/C.html"
-        }
-
+    private static final String[] FILES_TO_DIFF = {
+        "src-html/C.html",
+        "C.html"
     };
 
     /**
@@ -77,7 +71,7 @@
         TestSourceTab tester = new TestSourceTab();
         tester.run(ARGS1, NO_TEST, NO_TEST);
         tester.run(ARGS2, NO_TEST, NO_TEST);
-        tester.runDiffs(FILES_TO_DIFF);
+        tester.runDiffs(OUTPUT_DIR1, OUTPUT_DIR2, FILES_TO_DIFF);
     }
 
     TestSourceTab() throws IOException {
@@ -119,18 +113,4 @@
             out.close();
         }
     }
-
-    /**
-     * {@inheritDoc}
-     */
-    public String getBugId() {
-        return BUG_ID;
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    public String getBugName() {
-        return getClass().getName();
-    }
 }