diff options
author | aclement <aclement> | 2006-08-22 10:34:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-22 10:34:01 +0000 |
commit | 41af7600c8661ff5b7a66a1e97fb865b562bc296 (patch) | |
tree | 0cec4f89a289cdc7e8bc71de9113c72db2503100 /tests/bugs152 | |
parent | 50f8ecc4339442c7abaf4d3a9995c1434b768ef2 (diff) | |
download | aspectj-41af7600c8661ff5b7a66a1e97fb865b562bc296.tar.gz aspectj-41af7600c8661ff5b7a66a1e97fb865b562bc296.zip |
code has moved into model area...154552, comment 3
Diffstat (limited to 'tests/bugs152')
-rw-r--r-- | tests/bugs152/pr141730/aspectpath/MyBar.aj | 9 | ||||
-rw-r--r-- | tests/bugs152/pr141730/aspectpath/MyFoo.java | 11 | ||||
-rw-r--r-- | tests/bugs152/pr141730/inpath/MyAnnotation.java | 5 | ||||
-rw-r--r-- | tests/bugs152/pr141730/inpath/MyBar.aj | 18 | ||||
-rw-r--r-- | tests/bugs152/pr141730/inpath/MyFoo.java | 25 | ||||
-rw-r--r-- | tests/bugs152/pr141730/inpath/NewClass.java | 5 | ||||
-rw-r--r-- | tests/bugs152/pr143924.aj | 13 | ||||
-rw-r--r-- | tests/bugs152/pr148027/A.aj | 15 | ||||
-rw-r--r-- | tests/bugs152/pr148027/C.aj | 10 |
9 files changed, 0 insertions, 111 deletions
diff --git a/tests/bugs152/pr141730/aspectpath/MyBar.aj b/tests/bugs152/pr141730/aspectpath/MyBar.aj deleted file mode 100644 index 3a38885ce..000000000 --- a/tests/bugs152/pr141730/aspectpath/MyBar.aj +++ /dev/null @@ -1,9 +0,0 @@ -package bar; - -public aspect MyBar { - - before() : call(* main(..)) { - System.out.println("about to call a main method"); - } - -} diff --git a/tests/bugs152/pr141730/aspectpath/MyFoo.java b/tests/bugs152/pr141730/aspectpath/MyFoo.java deleted file mode 100644 index d733097cf..000000000 --- a/tests/bugs152/pr141730/aspectpath/MyFoo.java +++ /dev/null @@ -1,11 +0,0 @@ -package foo; - -public class MyFoo { - - public void callMain() { - new MyFoo().main(); - } - - public void main() { - } -} diff --git a/tests/bugs152/pr141730/inpath/MyAnnotation.java b/tests/bugs152/pr141730/inpath/MyAnnotation.java deleted file mode 100644 index 16a690ce2..000000000 --- a/tests/bugs152/pr141730/inpath/MyAnnotation.java +++ /dev/null @@ -1,5 +0,0 @@ -package bar; - -public @interface MyAnnotation { - -} diff --git a/tests/bugs152/pr141730/inpath/MyBar.aj b/tests/bugs152/pr141730/inpath/MyBar.aj deleted file mode 100644 index 50ea6efd0..000000000 --- a/tests/bugs152/pr141730/inpath/MyBar.aj +++ /dev/null @@ -1,18 +0,0 @@ -package bar; - -import foo.*; - -public aspect MyBar { - - before() : call(* main(..)) {} - - declare warning: get( * System.out ) : "System.out should not be called"; - - declare parents : *Foo extends NewClass; - - declare @type : *Foo* : @MyAnnotation; - declare @method : public * *Foo.anotMethod(..) : @MyAnnotation; - declare @constructor : *Foo.new(String) : @MyAnnotation; - declare @field : int *Foo.* : @MyAnnotation ; - -} diff --git a/tests/bugs152/pr141730/inpath/MyFoo.java b/tests/bugs152/pr141730/inpath/MyFoo.java deleted file mode 100644 index d9aba23f4..000000000 --- a/tests/bugs152/pr141730/inpath/MyFoo.java +++ /dev/null @@ -1,25 +0,0 @@ -package foo; - -public class MyFoo { - - public int i; - - public MyFoo() { - super(); - } - - public MyFoo(String s) { - super(); - } - - public void callMain() { - new MyFoo().main(); - } - - public void main() { - System.out.println("blah"); - } - - public void anotMethod() { - } -} diff --git a/tests/bugs152/pr141730/inpath/NewClass.java b/tests/bugs152/pr141730/inpath/NewClass.java deleted file mode 100644 index cdbce29e5..000000000 --- a/tests/bugs152/pr141730/inpath/NewClass.java +++ /dev/null @@ -1,5 +0,0 @@ -package bar; - -public class NewClass { - -} diff --git a/tests/bugs152/pr143924.aj b/tests/bugs152/pr143924.aj deleted file mode 100644 index 7ea1e8d24..000000000 --- a/tests/bugs152/pr143924.aj +++ /dev/null @@ -1,13 +0,0 @@ -aspect DeclareAnnotation { - declare @method : * debit(..) : @Secured(role="supervisor"); -} - -class BankAccount { - - public void debit(String accId,long amount) { - } -} - -@interface Secured { - String role(); -} diff --git a/tests/bugs152/pr148027/A.aj b/tests/bugs152/pr148027/A.aj deleted file mode 100644 index 306f14b68..000000000 --- a/tests/bugs152/pr148027/A.aj +++ /dev/null @@ -1,15 +0,0 @@ -package pkg; - -public aspect A { - - before() : C.pointcutInClass() { - } - - pointcut pointcutInAspect() : execution(void aMethod()); - - before() : pointcutInAspect() { - } - - public void aMethod() { - } -} diff --git a/tests/bugs152/pr148027/C.aj b/tests/bugs152/pr148027/C.aj deleted file mode 100644 index 63b4e6cb6..000000000 --- a/tests/bugs152/pr148027/C.aj +++ /dev/null @@ -1,10 +0,0 @@ -package pkg; - -public class C { - - pointcut pointcutInClass() : execution(void cMethod()); - - public void cMethod() { - - } -} |