diff options
author | aclement <aclement> | 2006-08-22 08:20:36 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-22 08:20:36 +0000 |
commit | 50f8ecc4339442c7abaf4d3a9995c1434b768ef2 (patch) | |
tree | 75ca9caf60a4a9bd592b162dbc79146188fe1fc6 /tests/model/pr141730_3 | |
parent | 8b393cc90d5d63171154713e5a73044a1a2fddaf (diff) | |
download | aspectj-50f8ecc4339442c7abaf4d3a9995c1434b768ef2.tar.gz aspectj-50f8ecc4339442c7abaf4d3a9995c1434b768ef2.zip |
refactored tests for 154552 - use new model testing structure
Diffstat (limited to 'tests/model/pr141730_3')
-rw-r--r-- | tests/model/pr141730_3/MyBar.aj | 9 | ||||
-rw-r--r-- | tests/model/pr141730_3/MyFoo.java | 11 | ||||
-rw-r--r-- | tests/model/pr141730_3/README.txt | 3 | ||||
-rw-r--r-- | tests/model/pr141730_3/aspectpath.jar | bin | 0 -> 1377 bytes |
4 files changed, 23 insertions, 0 deletions
diff --git a/tests/model/pr141730_3/MyBar.aj b/tests/model/pr141730_3/MyBar.aj new file mode 100644 index 000000000..3a38885ce --- /dev/null +++ b/tests/model/pr141730_3/MyBar.aj @@ -0,0 +1,9 @@ +package bar; + +public aspect MyBar { + + before() : call(* main(..)) { + System.out.println("about to call a main method"); + } + +} diff --git a/tests/model/pr141730_3/MyFoo.java b/tests/model/pr141730_3/MyFoo.java new file mode 100644 index 000000000..d733097cf --- /dev/null +++ b/tests/model/pr141730_3/MyFoo.java @@ -0,0 +1,11 @@ +package foo; + +public class MyFoo { + + public void callMain() { + new MyFoo().main(); + } + + public void main() { + } +} diff --git a/tests/model/pr141730_3/README.txt b/tests/model/pr141730_3/README.txt new file mode 100644 index 000000000..862645f35 --- /dev/null +++ b/tests/model/pr141730_3/README.txt @@ -0,0 +1,3 @@ +To recreate the jar files: + +ajc MyBar.aj -outjar aspectpath.jar diff --git a/tests/model/pr141730_3/aspectpath.jar b/tests/model/pr141730_3/aspectpath.jar Binary files differnew file mode 100644 index 000000000..27ccd5aa7 --- /dev/null +++ b/tests/model/pr141730_3/aspectpath.jar |