From 1138f942d5c2367ef8a6abb4d30e724730bc8f79 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Sep 2006 10:49:05 +0000 Subject: [PATCH] 154054 testcode --- tests/multiIncremental/PR154054/base/A.aj | 4 ++++ tests/multiIncremental/PR154054/base/C.java | 6 ++++++ tests/multiIncremental/PR154054/inc1/A.aj | 4 ++++ tests/multiIncremental/PR154054_2/base/A.aj | 11 +++++++++++ tests/multiIncremental/PR154054_2/base/C.java | 6 ++++++ tests/multiIncremental/PR154054_2/inc1/A.aj | 11 +++++++++++ 6 files changed, 42 insertions(+) create mode 100644 tests/multiIncremental/PR154054/base/A.aj create mode 100644 tests/multiIncremental/PR154054/base/C.java create mode 100644 tests/multiIncremental/PR154054/inc1/A.aj create mode 100644 tests/multiIncremental/PR154054_2/base/A.aj create mode 100644 tests/multiIncremental/PR154054_2/base/C.java create mode 100644 tests/multiIncremental/PR154054_2/inc1/A.aj diff --git a/tests/multiIncremental/PR154054/base/A.aj b/tests/multiIncremental/PR154054/base/A.aj new file mode 100644 index 000000000..5f52762b3 --- /dev/null +++ b/tests/multiIncremental/PR154054/base/A.aj @@ -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 index 000000000..46efe2501 --- /dev/null +++ b/tests/multiIncremental/PR154054/base/C.java @@ -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 index 000000000..d892f26d7 --- /dev/null +++ b/tests/multiIncremental/PR154054/inc1/A.aj @@ -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 index 000000000..123a4007a --- /dev/null +++ b/tests/multiIncremental/PR154054_2/base/A.aj @@ -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 index 000000000..46efe2501 --- /dev/null +++ b/tests/multiIncremental/PR154054_2/base/C.java @@ -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 index 000000000..9e8fa1e9f --- /dev/null +++ b/tests/multiIncremental/PR154054_2/inc1/A.aj @@ -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) { + } + } +} -- 2.39.5