aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-05-19 12:09:55 +0000
committeracolyer <acolyer>2006-05-19 12:09:55 +0000
commite9c2a596fb624caa4c17f9ae13e168d17726efef (patch)
tree02731b9322376a427d7cb512fc2b50ae3a8cd2da /tests/multiIncremental
parentd8830cd18a5f7cfaa8e3b322442d76162e6cb610 (diff)
downloadaspectj-e9c2a596fb624caa4c17f9ae13e168d17726efef.tar.gz
aspectj-e9c2a596fb624caa4c17f9ae13e168d17726efef.zip
final implementation and tests for 101983: allow separate output folders
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r--tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/A.java9
-rw-r--r--tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/Aspect.aj13
-rw-r--r--tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/resourceOne.txt0
-rw-r--r--tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/b/B.java9
-rw-r--r--tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/resourceTwo.txt0
5 files changed, 31 insertions, 0 deletions
diff --git a/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/A.java b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/A.java
new file mode 100644
index 000000000..fbee4b1eb
--- /dev/null
+++ b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/A.java
@@ -0,0 +1,9 @@
+package a;
+
+public class A {
+
+ public String capitalize(String in) {
+ return in.toUpperCase();
+ }
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/Aspect.aj b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/Aspect.aj
new file mode 100644
index 000000000..7236b6db8
--- /dev/null
+++ b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/a/Aspect.aj
@@ -0,0 +1,13 @@
+package a;
+
+public aspect Aspect {
+
+ // will generate a closure class...
+ String around(String in) : execution(String A.*(..)) && args(in) {
+ String ret = proceed(in.toLowerCase());
+ ret = proceed(in.toUpperCase());
+ return ret+" dada!";
+ }
+
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/resourceOne.txt b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/resourceOne.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/multiIncremental/MultipleOutputFolders/base/srcRootOne/resourceOne.txt
diff --git a/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/b/B.java b/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/b/B.java
new file mode 100644
index 000000000..917577ff8
--- /dev/null
+++ b/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/b/B.java
@@ -0,0 +1,9 @@
+package b;
+
+public class B {
+
+ public int lesser(int x, int y) {
+ return x < y ? x : y;
+ }
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/resourceTwo.txt b/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/resourceTwo.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/multiIncremental/MultipleOutputFolders/base/srcRootTwo/resourceTwo.txt