aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-16 23:51:24 +0000
committeraclement <aclement>2008-01-16 23:51:24 +0000
commit023d696a3cdd1e713d4d16c7fe9b39d996294cdb (patch)
tree0fe733a8cea71bb10f036fc46c9df5e322c21c95 /tests/java5/ataspectj
parentec634bd937c182fb4762e67173021fa8c862cfdd (diff)
downloadaspectj-023d696a3cdd1e713d4d16c7fe9b39d996294cdb.tar.gz
aspectj-023d696a3cdd1e713d4d16c7fe9b39d996294cdb.zip
AspectJ6: simplified
Diffstat (limited to 'tests/java5/ataspectj')
-rw-r--r--tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java5
-rw-r--r--tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj7
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java b/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java
index 9dc681f1a..ed6c4fd94 100644
--- a/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java
+++ b/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest.java
@@ -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() {
diff --git a/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj b/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj
index eeec49f9f..beedea36b 100644
--- a/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj
+++ b/tests/java5/ataspectj/ataspectj/AroundInlineMungerTest2.aj
@@ -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);
}