aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental
diff options
context:
space:
mode:
authoraclement <aclement>2006-12-21 13:22:43 +0000
committeraclement <aclement>2006-12-21 13:22:43 +0000
commitd101ea2c756451cff2ed0462cd13581e2a746661 (patch)
treea7d496dfff0fdfa7723105fea7d33e17161efe2b /tests/multiIncremental
parente5f15ac120710e8a08c9af3795d5a1e75ea69ebc (diff)
downloadaspectj-d101ea2c756451cff2ed0462cd13581e2a746661.tar.gz
aspectj-d101ea2c756451cff2ed0462cd13581e2a746661.zip
test and fix for 168840: incremental compilation and inpath
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r--tests/multiIncremental/inpathTesting/README.txt11
-rw-r--r--tests/multiIncremental/inpathTesting/base/injarBin/pkg/InpathClass.classbin0 -> 392 bytes
-rw-r--r--tests/multiIncremental/inpathTesting/base/src/pack/A.aj9
-rw-r--r--tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.classbin0 -> 290 bytes
-rw-r--r--tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.java13
-rw-r--r--tests/multiIncremental/inpathTesting/origInpathClass/InpathClass.java9
6 files changed, 42 insertions, 0 deletions
diff --git a/tests/multiIncremental/inpathTesting/README.txt b/tests/multiIncremental/inpathTesting/README.txt
new file mode 100644
index 000000000..34e5f7798
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/README.txt
@@ -0,0 +1,11 @@
+To regenerate the class file in injarBin\pkg:
+
+ javac origInpathClass\InpathClass.java
+
+and copy it to injarBin\pkg.
+
+To regenerate the class copied over as part of the test:
+
+ javac newInpathClass\InpathClass.java
+
+
diff --git a/tests/multiIncremental/inpathTesting/base/injarBin/pkg/InpathClass.class b/tests/multiIncremental/inpathTesting/base/injarBin/pkg/InpathClass.class
new file mode 100644
index 000000000..01c5f472a
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/base/injarBin/pkg/InpathClass.class
Binary files differ
diff --git a/tests/multiIncremental/inpathTesting/base/src/pack/A.aj b/tests/multiIncremental/inpathTesting/base/src/pack/A.aj
new file mode 100644
index 000000000..d05ac12aa
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/base/src/pack/A.aj
@@ -0,0 +1,9 @@
+package pack;
+
+public aspect A {
+
+ pointcut execEverything() : execution(* *.*(..));
+
+ declare warning : execEverything() : "blah";
+
+}
diff --git a/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.class b/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.class
new file mode 100644
index 000000000..2d7c2091c
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.class
Binary files differ
diff --git a/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.java b/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.java
new file mode 100644
index 000000000..c93a73938
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/newInpathClass/InpathClass.java
@@ -0,0 +1,13 @@
+package pkg;
+
+public class InpathClass {
+
+ public void boo() {
+
+ }
+
+ public void goo() {
+
+ }
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/inpathTesting/origInpathClass/InpathClass.java b/tests/multiIncremental/inpathTesting/origInpathClass/InpathClass.java
new file mode 100644
index 000000000..9c2af4d79
--- /dev/null
+++ b/tests/multiIncremental/inpathTesting/origInpathClass/InpathClass.java
@@ -0,0 +1,9 @@
+package pkg;
+
+public class InpathClass {
+
+ public void boo() {
+
+ }
+
+}