]> source.dussan.org Git - aspectj.git/commitdiff
154054 testcode
authoraclement <aclement>
Fri, 22 Sep 2006 10:49:05 +0000 (10:49 +0000)
committeraclement <aclement>
Fri, 22 Sep 2006 10:49:05 +0000 (10:49 +0000)
tests/multiIncremental/PR154054/base/A.aj [new file with mode: 0644]
tests/multiIncremental/PR154054/base/C.java [new file with mode: 0644]
tests/multiIncremental/PR154054/inc1/A.aj [new file with mode: 0644]
tests/multiIncremental/PR154054_2/base/A.aj [new file with mode: 0644]
tests/multiIncremental/PR154054_2/base/C.java [new file with mode: 0644]
tests/multiIncremental/PR154054_2/inc1/A.aj [new file with mode: 0644]

diff --git a/tests/multiIncremental/PR154054/base/A.aj b/tests/multiIncremental/PR154054/base/A.aj
new file mode 100644 (file)
index 0000000..5f52762
--- /dev/null
@@ -0,0 +1,4 @@
+public aspect A {
+       before(): execution(* *(..)) { System.out.println("abc");}
+       void around(): execution(* *(..)) { proceed();}
+}
diff --git a/tests/multiIncremental/PR154054/base/C.java b/tests/multiIncremental/PR154054/base/C.java
new file mode 100644 (file)
index 0000000..46efe25
--- /dev/null
@@ -0,0 +1,6 @@
+public class C {
+
+       public void foo() {
+       }
+
+}
diff --git a/tests/multiIncremental/PR154054/inc1/A.aj b/tests/multiIncremental/PR154054/inc1/A.aj
new file mode 100644 (file)
index 0000000..d892f26
--- /dev/null
@@ -0,0 +1,4 @@
+public aspect A {
+       before(): execution(* *(..)) { System.out.println("def");}
+       void around(): execution(* *(..)) { proceed();}
+}
diff --git a/tests/multiIncremental/PR154054_2/base/A.aj b/tests/multiIncremental/PR154054_2/base/A.aj
new file mode 100644 (file)
index 0000000..123a400
--- /dev/null
@@ -0,0 +1,11 @@
+public aspect A {
+  before(): execution(* *(..)) { System.out.println("abc");}
+  void around(): execution(* *(..)) { proceed();}
+
+  void around(): execution(* *(..)) {
+    try {
+      proceed();
+    } catch (Exception e) {
+    }
+  }
+}
\ No newline at end of file
diff --git a/tests/multiIncremental/PR154054_2/base/C.java b/tests/multiIncremental/PR154054_2/base/C.java
new file mode 100644 (file)
index 0000000..46efe25
--- /dev/null
@@ -0,0 +1,6 @@
+public class C {
+
+       public void foo() {
+       }
+
+}
diff --git a/tests/multiIncremental/PR154054_2/inc1/A.aj b/tests/multiIncremental/PR154054_2/inc1/A.aj
new file mode 100644 (file)
index 0000000..9e8fa1e
--- /dev/null
@@ -0,0 +1,11 @@
+public aspect A {
+  before(): execution(* *(..)) { System.out.println("abc");}
+  void around(): execution(* *(..)) { proceed();}
+
+  void around(): execution(* *(..)) {
+    try {
+      proceed();
+    } catch (Throwable e) {
+    }
+  }
+}