From f8dba516fa4d9e614769a8f3d7a7abb7238832c4 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 6 Dec 2010 17:42:05 +0000 Subject: [PATCH] it itds --- tests/multiIncremental/prInner4/base/A.aj | 7 +++++++ tests/multiIncremental/prInner4/base/C.java | 5 +++++ tests/multiIncremental/prInner4/inc1/A.aj | 7 +++++++ .../tools/MultiProjectIncrementalTests.java | 13 +++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 tests/multiIncremental/prInner4/base/A.aj create mode 100644 tests/multiIncremental/prInner4/base/C.java create mode 100644 tests/multiIncremental/prInner4/inc1/A.aj 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"; -- 2.39.5