summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-24 08:37:45 +0000
committeraclement <aclement>2005-11-24 08:37:45 +0000
commit3da3666d3cb57a6293a4d8aabf201ace00167045 (patch)
treea8f308f99b9630b10d418eeedc0df1b871b16da9 /tests
parent86880f7281e04ed0c79781b5ddf2613821718b79 (diff)
downloadaspectj-3da3666d3cb57a6293a4d8aabf201ace00167045.tar.gz
aspectj-3da3666d3cb57a6293a4d8aabf201ace00167045.zip
testcase (commented out) for 115251
Diffstat (limited to 'tests')
-rw-r--r--tests/multiIncremental/PR115251/base/src/pack/A1.aj10
-rw-r--r--tests/multiIncremental/PR115251/base/src/pack/C1.java13
-rw-r--r--tests/multiIncremental/PR115251/inc1/src/pack/A1.aj11
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java11
4 files changed, 45 insertions, 0 deletions
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<Target> 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<C1> {
+ 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<Target> 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;