aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/prInner2
diff options
context:
space:
mode:
authoraclement <aclement>2010-06-11 16:35:49 +0000
committeraclement <aclement>2010-06-11 16:35:49 +0000
commit9f636c13c87ace2bf0405061f8ce99bcfc6dc649 (patch)
tree56d4371fc5170becea5c8f3cb2a2bfd0837fcbef /tests/multiIncremental/prInner2
parentb58d2c1d47be6eef0d017e45a49c27946bce4b84 (diff)
downloadaspectj-9f636c13c87ace2bf0405061f8ce99bcfc6dc649.tar.gz
aspectj-9f636c13c87ace2bf0405061f8ce99bcfc6dc649.zip
itd inners: testcode
Diffstat (limited to 'tests/multiIncremental/prInner2')
-rw-r--r--tests/multiIncremental/prInner2/base/src/Aspect1.java7
-rw-r--r--tests/multiIncremental/prInner2/base/src/Aspect2.java3
-rw-r--r--tests/multiIncremental/prInner2/base/src/Vote.java6
-rw-r--r--tests/multiIncremental/prInner2/inc1/src/Aspect1.java7
-rw-r--r--tests/multiIncremental/prInner2/inc2/src/Aspect2.java3
-rw-r--r--tests/multiIncremental/prInner2/inc3/src/Vote.java2
6 files changed, 28 insertions, 0 deletions
diff --git a/tests/multiIncremental/prInner2/base/src/Aspect1.java b/tests/multiIncremental/prInner2/base/src/Aspect1.java
new file mode 100644
index 000000000..99cd1794c
--- /dev/null
+++ b/tests/multiIncremental/prInner2/base/src/Aspect1.java
@@ -0,0 +1,7 @@
+aspect Aspect1 {
+ public static class Vote._ {
+ private String s;
+ public _() {s="abc";}
+ public _(String string) {s=string;}
+ }
+}
diff --git a/tests/multiIncremental/prInner2/base/src/Aspect2.java b/tests/multiIncremental/prInner2/base/src/Aspect2.java
new file mode 100644
index 000000000..15c14c512
--- /dev/null
+++ b/tests/multiIncremental/prInner2/base/src/Aspect2.java
@@ -0,0 +1,3 @@
+aspect Aspect2 {
+ public Vote._ _() { return new Vote._("abc"); }
+}
diff --git a/tests/multiIncremental/prInner2/base/src/Vote.java b/tests/multiIncremental/prInner2/base/src/Vote.java
new file mode 100644
index 000000000..bd376d6c1
--- /dev/null
+++ b/tests/multiIncremental/prInner2/base/src/Vote.java
@@ -0,0 +1,6 @@
+public class Vote {
+ public static void main(String []argv) {
+ _ o = new Vote._();
+ _ y = new _("abc");
+ }
+}
diff --git a/tests/multiIncremental/prInner2/inc1/src/Aspect1.java b/tests/multiIncremental/prInner2/inc1/src/Aspect1.java
new file mode 100644
index 000000000..99cd1794c
--- /dev/null
+++ b/tests/multiIncremental/prInner2/inc1/src/Aspect1.java
@@ -0,0 +1,7 @@
+aspect Aspect1 {
+ public static class Vote._ {
+ private String s;
+ public _() {s="abc";}
+ public _(String string) {s=string;}
+ }
+}
diff --git a/tests/multiIncremental/prInner2/inc2/src/Aspect2.java b/tests/multiIncremental/prInner2/inc2/src/Aspect2.java
new file mode 100644
index 000000000..15c14c512
--- /dev/null
+++ b/tests/multiIncremental/prInner2/inc2/src/Aspect2.java
@@ -0,0 +1,3 @@
+aspect Aspect2 {
+ public Vote._ _() { return new Vote._("abc"); }
+}
diff --git a/tests/multiIncremental/prInner2/inc3/src/Vote.java b/tests/multiIncremental/prInner2/inc3/src/Vote.java
new file mode 100644
index 000000000..15050d24e
--- /dev/null
+++ b/tests/multiIncremental/prInner2/inc3/src/Vote.java
@@ -0,0 +1,2 @@
+public class Vote {
+}