From ebc09b49bd6349ee6d4cd82f4e6a80927aa1e646 Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 31 Oct 2003 20:10:40 +0000 Subject: locate, cleanup temp files --- .../testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testing') 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; } -- cgit v1.2.3