From 9b96943ffeac0c120464cc268a0cd98b7667869c Mon Sep 17 00:00:00 2001 From: mwebster Date: Wed, 2 Aug 2006 12:53:35 +0000 Subject: [PATCH] Bug 150131 "org.aspectj.ajde.core testcases create "out" directory in project root" (remove redundant logic that created result.ser" --- .../ataspectj/bugs/CflowBelowStackTest.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java b/tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java index 4eee1bada..bdedca569 100644 --- a/tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java +++ b/tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java @@ -76,31 +76,10 @@ public class CflowBelowStackTest extends TestCase { @Before("inTestClass(testCase)") public void beforeExecutingTestMethod(TestCase testCase) { - try { - File file = new File("results.ser"); - if (file.exists()) { - ObjectInputStream ois = new ObjectInputStream(new FileInputStream(file)); - coverage = (Map>) ois.readObject(); - ois.close(); - file.delete(); - } else { - coverage = new HashMap>(); - } - } catch (Exception e) { - e.printStackTrace(); - } } @After("inTestClass(testCase)") public void afterExecutingTestMethod(TestCase testCase) { - try { - File file = new File("results.ser"); - ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(file)); - oos.writeObject(coverage); - oos.close(); - } catch (Exception e) { - e.printStackTrace(); - } } } } -- 2.39.5