summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-10-31 20:10:40 +0000
committerwisberg <wisberg>2003-10-31 20:10:40 +0000
commitebc09b49bd6349ee6d4cd82f4e6a80927aa1e646 (patch)
tree493112ae18ac6064b9f96139a7d8e87a4c21370a /testing
parent37005827ca0fc27038ae6c4a5cacb339de95e11b (diff)
downloadaspectj-ebc09b49bd6349ee6d4cd82f4e6a80927aa1e646.tar.gz
aspectj-ebc09b49bd6349ee6d4cd82f4e6a80927aa1e646.zip
locate, cleanup temp files
Diffstat (limited to 'testing')
-rw-r--r--testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java b/testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java
index c68e6598d..002bd5e4f 100644
--- a/testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java
+++ b/testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java
@@ -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;
}