]> source.dussan.org Git - aspectj.git/commitdiff
Bug 150131 "org.aspectj.ajde.core testcases create "out" directory in project root...
authormwebster <mwebster>
Wed, 2 Aug 2006 12:53:35 +0000 (12:53 +0000)
committermwebster <mwebster>
Wed, 2 Aug 2006 12:53:35 +0000 (12:53 +0000)
tests/java5/ataspectj/ataspectj/bugs/CflowBelowStackTest.java

index 4eee1bada3dc8211954260e4d680c9795654e3e8..bdedca569c6659d37767ef2dbca3c180affb4208 100644 (file)
@@ -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();
-            }
         }
     }
 }