]> source.dussan.org Git - aspectj.git/commitdiff
AspectJ6: simplified
authoraclement <aclement>
Wed, 16 Jan 2008 23:51:24 +0000 (23:51 +0000)
committeraclement <aclement>
Wed, 16 Jan 2008 23:51:24 +0000 (23:51 +0000)
tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java
tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj

index 9dc681f1ac817ee731f18e68280293adbae4c43c..ed6c4fd942c50b8ccd0a9d143daefa18270b10a8 100644 (file)
@@ -19,7 +19,10 @@ import junit.framework.TestCase;
 public class AroundInlineMungerTest extends TestCase {
 
     public static void main(String[] args) {
-        TestHelper.runAndThrowOnFailure(suite());
+       new AroundInlineMungerTest().target();
+       System.out.println("AroundInlineMungerTestAspects.Open.aroundCount="+AroundInlineMungerTestAspects.Open.aroundCount);
+       System.out.println("AroundInlineMungerTestAspects.Open.beforeCount="+AroundInlineMungerTestAspects.Open.beforeCount);
+//        TestHelper.runAndThrowOnFailure(suite());
     }
 
     public static junit.framework.Test suite() {
index eeec49f9f490cb49a015b8ab3db45e77ddebf1a2..beedea36b41bbcefe3c6f3b2eeab661a69574448 100644 (file)
@@ -23,9 +23,12 @@ import org.aspectj.lang.ProceedingJoinPoint;
 public class AroundInlineMungerTest2 extends TestCase {
 
     public static void main(String[] args) {
-        TestHelper.runAndThrowOnFailure(suite());
+       new AroundInlineMungerTest2().target();
+       System.out.println("AroundInlineMungerTestAspects2.Open.aroundCount="+AroundInlineMungerTestAspects2.Open.aroundCount);
+       System.out.println("AroundInlineMungerTestAspects2.Open.beforeCount="+AroundInlineMungerTestAspects2.Open.beforeCount);
+//        TestHelper.runAndThrowOnFailure(suite());
     }
-
+//
     public static junit.framework.Test suite() {
         return new junit.framework.TestSuite(AroundInlineMungerTest2.class);
     }