diff options
author | aclement <aclement> | 2008-03-18 15:57:55 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-03-18 15:57:55 +0000 |
commit | 739d01ffba57c23d643ae37f743d48abfce7f1a3 (patch) | |
tree | 1b662cfca46c215aca46bb921ce0811edccc8c1b /tests/bugs153 | |
parent | 967ea6dcfe7dae7dc8d2c42fc2694047bc622ff7 (diff) | |
download | aspectj-739d01ffba57c23d643ae37f743d48abfce7f1a3.tar.gz aspectj-739d01ffba57c23d643ae37f743d48abfce7f1a3.zip |
145018 - moved testcode to 16
Diffstat (limited to 'tests/bugs153')
-rw-r--r-- | tests/bugs153/pr145018/Broken.aj | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/bugs153/pr145018/Broken.aj b/tests/bugs153/pr145018/Broken.aj deleted file mode 100644 index adde2e9e4..000000000 --- a/tests/bugs153/pr145018/Broken.aj +++ /dev/null @@ -1,30 +0,0 @@ -import java.util.*; -import org.aspectj.lang.annotation.*; - -@Aspect -public class Broken { - - @Pointcut("call(* someMethod(..)) && args(arg1) && if()") - public static boolean someMethod2if(int arg1) { - return true; - } - - @Pointcut("cflow(execution(* doProcess(..) ) && args(*, args)) && this(SomeClass+) ") - public void inSomeClass2(Map args) {} - - @After( "inSomeClass2(args) && someMethod2if(arg1) ") - public void deleteManagerInSomeClass2(Map args,int arg1) { } - - public static void main(String[] args) { - new SomeClass().doProcess("a",new HashMap()); - } -} - -class SomeClass { - - public void doProcess(Object o, Map m) { - someMethod(1); - } - - public void someMethod(int a) { } -} |