From: aclement Date: Tue, 16 Jun 2009 20:16:41 +0000 (+0000) Subject: 280380: testcase X-Git-Tag: V1_6_5~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac052835d1e3895df17724a67c32c750d8887a54;p=aspectj.git 280380: testcase --- diff --git a/tests/multiIncremental/pr280380/base/src/f/AClass.java b/tests/multiIncremental/pr280380/base/src/f/AClass.java new file mode 100644 index 000000000..de14ef1cb --- /dev/null +++ b/tests/multiIncremental/pr280380/base/src/f/AClass.java @@ -0,0 +1,11 @@ +package f; + +public class AClass { + + + void doNothing() { + this.y(); + xxxx++; + } +} + \ No newline at end of file diff --git a/tests/multiIncremental/pr280380/base/src/g/AnAspect.aj b/tests/multiIncremental/pr280380/base/src/g/AnAspect.aj new file mode 100644 index 000000000..4dbdf89e6 --- /dev/null +++ b/tests/multiIncremental/pr280380/base/src/g/AnAspect.aj @@ -0,0 +1,15 @@ +package g; + +import f.AClass; + +public aspect AnAspect { + public int AClass.xxxx; + + public int AClass.y() { + return 0; + } + + AClass.new() { + this(); + } +} diff --git a/tests/multiIncremental/pr280380/inc1/src/g/AnAspect.aj b/tests/multiIncremental/pr280380/inc1/src/g/AnAspect.aj new file mode 100644 index 000000000..aea980cbf --- /dev/null +++ b/tests/multiIncremental/pr280380/inc1/src/g/AnAspect.aj @@ -0,0 +1,15 @@ +package g; + +import f.AClass; + +public aspect AnAspect { + public int f.AClass.xxxx; + + public int AClass.y() { + return 0; + } + + AClass.new() { + this(); + } +} diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index 2e6e15c28..8c7f61014 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -53,6 +53,22 @@ import org.aspectj.util.FileUtil; */ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementalAjdeInteractionTestbed { + // public void testIncrementalFqItds_280380() throws Exception { + // String p = "pr280380"; + // initialiseProject(p); + // // build(p); + // // printModel(p); + // alter(p, "inc1"); + // build(p); + // printModel(p); + // // Hid:1:(targets=3) =pr280380