aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r--tests/multiIncremental/bug274558base/base/src/p/HasITDs1.java7
-rw-r--r--tests/multiIncremental/bug274558base/base/src/q/UsesITDs1.java15
-rw-r--r--tests/multiIncremental/bug274558depending/base/src/r/DeclaresITD.aj9
-rw-r--r--tests/multiIncremental/bug274558depending/base/src/r/HasITDs2.java5
-rw-r--r--tests/multiIncremental/bug274558depending/base/src/r/InterfaceForITD.java5
5 files changed, 41 insertions, 0 deletions
diff --git a/tests/multiIncremental/bug274558base/base/src/p/HasITDs1.java b/tests/multiIncremental/bug274558base/base/src/p/HasITDs1.java
new file mode 100644
index 000000000..0567357cc
--- /dev/null
+++ b/tests/multiIncremental/bug274558base/base/src/p/HasITDs1.java
@@ -0,0 +1,7 @@
+package p;
+
+import r.InterfaceForITD;
+
+public class HasITDs1 implements InterfaceForITD {
+
+}
diff --git a/tests/multiIncremental/bug274558base/base/src/q/UsesITDs1.java b/tests/multiIncremental/bug274558base/base/src/q/UsesITDs1.java
new file mode 100644
index 000000000..6eb6f0b4a
--- /dev/null
+++ b/tests/multiIncremental/bug274558base/base/src/q/UsesITDs1.java
@@ -0,0 +1,15 @@
+package q;
+
+import p.HasITDs1;
+import r.HasITDs2;
+
+public class UsesITDs1 {
+
+ void nothing() {
+ new HasITDs1().x++;
+ new HasITDs2().x++;
+ new HasITDs1().nothing(1, 1, 1);
+ new HasITDs2().nothing(1, 1, 1);
+ }
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/bug274558depending/base/src/r/DeclaresITD.aj b/tests/multiIncremental/bug274558depending/base/src/r/DeclaresITD.aj
new file mode 100644
index 000000000..b31740ed5
--- /dev/null
+++ b/tests/multiIncremental/bug274558depending/base/src/r/DeclaresITD.aj
@@ -0,0 +1,9 @@
+package r;
+
+public aspect DeclaresITD {
+ public int InterfaceForITD.x = 9;
+
+ public void InterfaceForITD.nothing(int x, int y, int z) {
+
+ }
+} \ No newline at end of file
diff --git a/tests/multiIncremental/bug274558depending/base/src/r/HasITDs2.java b/tests/multiIncremental/bug274558depending/base/src/r/HasITDs2.java
new file mode 100644
index 000000000..1333038c4
--- /dev/null
+++ b/tests/multiIncremental/bug274558depending/base/src/r/HasITDs2.java
@@ -0,0 +1,5 @@
+package r;
+
+public class HasITDs2 implements InterfaceForITD {
+
+}
diff --git a/tests/multiIncremental/bug274558depending/base/src/r/InterfaceForITD.java b/tests/multiIncremental/bug274558depending/base/src/r/InterfaceForITD.java
new file mode 100644
index 000000000..3a549f7dc
--- /dev/null
+++ b/tests/multiIncremental/bug274558depending/base/src/r/InterfaceForITD.java
@@ -0,0 +1,5 @@
+package r;
+
+public interface InterfaceForITD {
+
+}