]> source.dussan.org Git - aspectj.git/commitdiff
it itds
authoraclement <aclement>
Mon, 6 Dec 2010 17:42:05 +0000 (17:42 +0000)
committeraclement <aclement>
Mon, 6 Dec 2010 17:42:05 +0000 (17:42 +0000)
tests/multiIncremental/prInner4/base/A.aj [new file with mode: 0644]
tests/multiIncremental/prInner4/base/C.java [new file with mode: 0644]
tests/multiIncremental/prInner4/inc1/A.aj [new file with mode: 0644]
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java

diff --git a/tests/multiIncremental/prInner4/base/A.aj b/tests/multiIncremental/prInner4/base/A.aj
new file mode 100644 (file)
index 0000000..f5f70f8
--- /dev/null
@@ -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 (file)
index 0000000..83973ea
--- /dev/null
@@ -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 (file)
index 0000000..f5f70f8
--- /dev/null
@@ -0,0 +1,7 @@
+aspect A {
+  public static class C._ {
+    public void printmessages() {
+      System.out.println("message");
+    }
+  }
+}
index c9f66b101a66ab5557a65a925cbb234872601262..b3320e3766319590cb745fbfa141a8fa34c54139 100644 (file)
@@ -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";