aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model/pr141730_3
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-22 08:20:36 +0000
committeraclement <aclement>2006-08-22 08:20:36 +0000
commit50f8ecc4339442c7abaf4d3a9995c1434b768ef2 (patch)
tree75ca9caf60a4a9bd592b162dbc79146188fe1fc6 /tests/model/pr141730_3
parent8b393cc90d5d63171154713e5a73044a1a2fddaf (diff)
downloadaspectj-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.aj9
-rw-r--r--tests/model/pr141730_3/MyFoo.java11
-rw-r--r--tests/model/pr141730_3/README.txt3
-rw-r--r--tests/model/pr141730_3/aspectpath.jarbin0 -> 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
new file mode 100644
index 000000000..27ccd5aa7
--- /dev/null
+++ b/tests/model/pr141730_3/aspectpath.jar
Binary files differ