diff options
author | aclement <aclement> | 2005-04-25 18:50:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-25 18:50:45 +0000 |
commit | a7aa33d2bd93ae44b274d5fca6e2820720d153d9 (patch) | |
tree | 8d864565a45610a5791157a85eeb6faa99b0586f /tests/multiIncremental | |
parent | 7a203138c6461563b42ac0011972d5a577e15946 (diff) | |
download | aspectj-a7aa33d2bd93ae44b274d5fca6e2820720d153d9.tar.gz aspectj-a7aa33d2bd93ae44b274d5fca6e2820720d153d9.zip |
MultiProjectIncremental testcases.
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r-- | tests/multiIncremental/P1/base/src/pkg/C.java | 20 | ||||
-rw-r--r-- | tests/multiIncremental/P1/inc1/src/pkg/A.java | 4 | ||||
-rw-r--r-- | tests/multiIncremental/P1/inc2/src/X.aj | 4 | ||||
-rw-r--r-- | tests/multiIncremental/P1/inc3/src/pkg/C.java | 25 | ||||
-rw-r--r-- | tests/multiIncremental/P1/inc4/src/pkg/C.java | 21 | ||||
-rw-r--r-- | tests/multiIncremental/P2/base/I.java | 1 | ||||
-rw-r--r-- | tests/multiIncremental/P2/base/J.java | 2 |
7 files changed, 77 insertions, 0 deletions
diff --git a/tests/multiIncremental/P1/base/src/pkg/C.java b/tests/multiIncremental/P1/base/src/pkg/C.java new file mode 100644 index 000000000..34899dfab --- /dev/null +++ b/tests/multiIncremental/P1/base/src/pkg/C.java @@ -0,0 +1,20 @@ +package pkg; + +public class C { + public static void main(String []argv) { + m1(); + m2(); + m3(); + } + + public static void m1() { + System.err.println("m1() running!"); + } + public static void m2() { + System.err.println("m2() running!"); + } + public static void m3() { + System.err.println("m3() running!"); + } +} + diff --git a/tests/multiIncremental/P1/inc1/src/pkg/A.java b/tests/multiIncremental/P1/inc1/src/pkg/A.java new file mode 100644 index 000000000..f07f19e3e --- /dev/null +++ b/tests/multiIncremental/P1/inc1/src/pkg/A.java @@ -0,0 +1,4 @@ +package pkg; + +public class A { +} diff --git a/tests/multiIncremental/P1/inc2/src/X.aj b/tests/multiIncremental/P1/inc2/src/X.aj new file mode 100644 index 000000000..f0b6147ff --- /dev/null +++ b/tests/multiIncremental/P1/inc2/src/X.aj @@ -0,0 +1,4 @@ +public aspect X { + before(): call(* *(..)) && !within(X) { + } +} diff --git a/tests/multiIncremental/P1/inc3/src/pkg/C.java b/tests/multiIncremental/P1/inc3/src/pkg/C.java new file mode 100644 index 000000000..1eafe2687 --- /dev/null +++ b/tests/multiIncremental/P1/inc3/src/pkg/C.java @@ -0,0 +1,25 @@ +package pkg; + +public class C { + public static void main(String []argv) { + m1(); + m2(); + m3(); + m4(); + } + + public static void m1() { + System.err.println("m1() running!"); + } + public static void m2() { + System.err.println("m2() running!"); + } + public static void m3() { + System.err.println("m3() running!"); + } + + public static void m4() { + System.err.println("m4() running!"); + } +} + diff --git a/tests/multiIncremental/P1/inc4/src/pkg/C.java b/tests/multiIncremental/P1/inc4/src/pkg/C.java new file mode 100644 index 000000000..7b7bac276 --- /dev/null +++ b/tests/multiIncremental/P1/inc4/src/pkg/C.java @@ -0,0 +1,21 @@ +package pkg; + +public class C { + public static void main(String []argv) { + } + + public static void m1() { + System.err.println("m1() running!"); + } + public static void m2() { + System.err.println("m2() running!"); + } + public static void m3() { + System.err.println("m3() running!"); + } + + public static void m4() { + System.err.println("m4() running!"); + } +} + diff --git a/tests/multiIncremental/P2/base/I.java b/tests/multiIncremental/P2/base/I.java new file mode 100644 index 000000000..e56b7ef34 --- /dev/null +++ b/tests/multiIncremental/P2/base/I.java @@ -0,0 +1 @@ +public interface I { } diff --git a/tests/multiIncremental/P2/base/J.java b/tests/multiIncremental/P2/base/J.java new file mode 100644 index 000000000..2550f0eec --- /dev/null +++ b/tests/multiIncremental/P2/base/J.java @@ -0,0 +1,2 @@ +public class J implements I{ +} |