diff options
-rw-r--r-- | testing/testsrc/org/aspectj/testing/harness/bridge/CompilerRunTest.java | 4 |
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; } |