aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2010-12-06 17:42:05 +0000
committeraclement <aclement>2010-12-06 17:42:05 +0000
commitf8dba516fa4d9e614769a8f3d7a7abb7238832c4 (patch)
tree14e30b03d85d2c5ed466add7ec181ee99694e5f5 /tests
parent06ce7bea9ee83d72d1d55cc81f0a2f0cd87a4618 (diff)
downloadaspectj-f8dba516fa4d9e614769a8f3d7a7abb7238832c4.tar.gz
aspectj-f8dba516fa4d9e614769a8f3d7a7abb7238832c4.zip
it itds
Diffstat (limited to 'tests')
-rw-r--r--tests/multiIncremental/prInner4/base/A.aj7
-rw-r--r--tests/multiIncremental/prInner4/base/C.java5
-rw-r--r--tests/multiIncremental/prInner4/inc1/A.aj7
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java13
4 files changed, 32 insertions, 0 deletions
diff --git a/tests/multiIncremental/prInner4/base/A.aj b/tests/multiIncremental/prInner4/base/A.aj
new file mode 100644
index 000000000..f5f70f8cc
--- /dev/null
+++ b/tests/multiIncremental/prInner4/base/A.aj
@@ -0,0 +1,7 @@
+aspect A {
+ public static class C._ {
+ public void printmessages() {
+ System.out.println("message");
+ }
+ }
+}
diff --git a/tests/multiIncremental/prInner4/base/C.java b/tests/multiIncremental/prInner4/base/C.java
new file mode 100644
index 000000000..83973ea90
--- /dev/null
+++ b/tests/multiIncremental/prInner4/base/C.java
@@ -0,0 +1,5 @@
+public class C {
+ public static void main(String []argv) {
+ new _();
+ }
+}
diff --git a/tests/multiIncremental/prInner4/inc1/A.aj b/tests/multiIncremental/prInner4/inc1/A.aj
new file mode 100644
index 000000000..f5f70f8cc
--- /dev/null
+++ b/tests/multiIncremental/prInner4/inc1/A.aj
@@ -0,0 +1,7 @@
+aspect A {
+ public static class C._ {
+ public void printmessages() {
+ System.out.println("message");
+ }
+ }
+}
diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
index c9f66b101..b3320e376 100644
--- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
@@ -63,6 +63,19 @@ import org.aspectj.weaver.World;
*/
public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementalAjdeInteractionTestbed {
+ public void testIncrementalITDInners4() throws Exception {
+ String p = "prInner4";
+ initialiseProject(p);
+ build(p);
+ checkWasFullBuild();
+ assertNoErrors(p);
+ // touch the aspect making the ITD member type
+ alter(p, "inc1");
+ build(p);
+ checkWasntFullBuild();
+ assertNoErrors(p);
+ }
+
public void testIncrementalITDInners3() throws Exception {
AjdeInteractionTestbed.VERBOSE = true;
String p = "prInner3";