From ac052835d1e3895df17724a67c32c750d8887a54 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 16 Jun 2009 20:16:41 +0000 Subject: [PATCH] 280380: testcase --- .../pr280380/base/src/f/AClass.java | 11 ++++++++ .../pr280380/base/src/g/AnAspect.aj | 15 ++++++++++ .../pr280380/inc1/src/g/AnAspect.aj | 15 ++++++++++ .../tools/MultiProjectIncrementalTests.java | 28 +++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 tests/multiIncremental/pr280380/base/src/f/AClass.java create mode 100644 tests/multiIncremental/pr280380/base/src/g/AnAspect.aj create mode 100644 tests/multiIncremental/pr280380/inc1/src/g/AnAspect.aj 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