aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormwebster <mwebster>2006-08-02 12:53:35 +0000
committermwebster <mwebster>2006-08-02 12:53:35 +0000
commit9b96943ffeac0c120464cc268a0cd98b7667869c (patch)
tree487b9b9a7d26c2b6ac62fe7c39f0075a7859b5d9
parent13098e3b3480e55d1e96fd75669a7e3f1b15e6fd (diff)
downloadaspectj-9b96943ffeac0c120464cc268a0cd98b7667869c.tar.gz
aspectj-9b96943ffeac0c120464cc268a0cd98b7667869c.zip
Bug 150131 "org.aspectj.ajde.core testcases create "out" directory in project root" (remove redundant logic that created result.ser"
-rw-r--r--tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java21
1 files changed, 0 insertions, 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<String, Map<String, Integer>>) ois.readObject();
- ois.close();
- file.delete();
- } else {
- coverage = new HashMap<String, Map<String, Integer>>();
- }
- } 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();
- }
}
}
}