]> source.dussan.org Git - aspectj.git/commitdiff
locate, cleanup temp files
authorwisberg <wisberg>
Fri, 31 Oct 2003 20:10:40 +0000 (20:10 +0000)
committerwisberg <wisberg>
Fri, 31 Oct 2003 20:10:40 +0000 (20:10 +0000)
testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java

index c68e6598dad7bf0dbcd6d992aaac8fdd8decfdc7..002bd5e4f6f80cfe7811c74ead9b1758853ef37c 100644 (file)
@@ -46,7 +46,7 @@ public class CompilerRunTest extends TestCase {
     }
     
     public void setUp() {
-        testBaseDir = new File(".");
+        testBaseDir = new File("../testing/temp-CompilerRunTest");
         File f = new File(testBaseDir, "one");
         f.mkdirs();
         assertTrue(f.canRead());
@@ -61,6 +61,8 @@ public class CompilerRunTest extends TestCase {
     }
     
     public void tearDown() {
+        FileUtil.deleteContents(testBaseDir);
+        testBaseDir.delete();
         testBaseDir = null;
     }