From 3da3666d3cb57a6293a4d8aabf201ace00167045 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 24 Nov 2005 08:37:45 +0000 Subject: [PATCH] testcase (commented out) for 115251 --- tests/multiIncremental/PR115251/base/src/pack/A1.aj | 10 ++++++++++ .../multiIncremental/PR115251/base/src/pack/C1.java | 13 +++++++++++++ tests/multiIncremental/PR115251/inc1/src/pack/A1.aj | 11 +++++++++++ .../tools/MultiProjectIncrementalTests.java | 11 +++++++++++ 4 files changed, 45 insertions(+) create mode 100644 tests/multiIncremental/PR115251/base/src/pack/A1.aj create mode 100644 tests/multiIncremental/PR115251/base/src/pack/C1.java create mode 100644 tests/multiIncremental/PR115251/inc1/src/pack/A1.aj diff --git a/tests/multiIncremental/PR115251/base/src/pack/A1.aj b/tests/multiIncremental/PR115251/base/src/pack/A1.aj new file mode 100644 index 000000000..a301cfa4e --- /dev/null +++ b/tests/multiIncremental/PR115251/base/src/pack/A1.aj @@ -0,0 +1,10 @@ +package pack; + +public abstract aspect A1 pertypewithin(Target) { + + abstract protected pointcut creation(); + + Target around() : creation() { + return null; + } +} diff --git a/tests/multiIncremental/PR115251/base/src/pack/C1.java b/tests/multiIncremental/PR115251/base/src/pack/C1.java new file mode 100644 index 000000000..45c8d22cf --- /dev/null +++ b/tests/multiIncremental/PR115251/base/src/pack/C1.java @@ -0,0 +1,13 @@ +package pack; + +public class C1 { + + public void testMethod() { + new C1(); + } + +} + +aspect A extends A1 { + protected pointcut creation() : call(C1.new()); +} diff --git a/tests/multiIncremental/PR115251/inc1/src/pack/A1.aj b/tests/multiIncremental/PR115251/inc1/src/pack/A1.aj new file mode 100644 index 000000000..1a72cab4a --- /dev/null +++ b/tests/multiIncremental/PR115251/inc1/src/pack/A1.aj @@ -0,0 +1,11 @@ +package pack; + +public abstract aspect A1 pertypewithin(Target) { + + abstract protected pointcut creation(); + +// Target around() : creation() { +// return null; +// } +} + diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index f31b19a9f..f10077979 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -299,6 +299,17 @@ public class MultiProjectIncrementalTests extends AjdeInteractionTestbed { build("pr114875"); checkWasntFullBuild(); } + /* + public void testPr115251() { + AjdeInteractionTestbed.VERBOSE=true; + initialiseProject("PR115251"); + build("PR115251"); + checkWasFullBuild(); + alter("PR115251","inc1"); + build("PR115251"); + checkWasntFullBuild(); + } +*/ /* public void testPr111779() { super.VERBOSE=true; -- 2.39.5