summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-30 10:22:44 +0000
committeraclement <aclement>2006-01-30 10:22:44 +0000
commit6aa48b0e4feb48912acfb203f2c5b411514fbb87 (patch)
treea40a3c1bbd952e4a229fa47560023aad460a9792 /tests
parent2b5329c2a672ff32f8c941f0c56e475ea58ce5f3 (diff)
downloadaspectj-6aa48b0e4feb48912acfb203f2c5b411514fbb87.tar.gz
aspectj-6aa48b0e4feb48912acfb203f2c5b411514fbb87.zip
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) - last one currently commented out.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java21
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
index 79ff78c44..36b036da4 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
@@ -33,8 +33,8 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testCallInheritedGenericMethod_pr124999() { runTest("calling inherited generic method from around advice");}
public void testIncorrectlyReferencingPointcuts_pr122452() { runTest("incorrectly referencing pointcuts");}
public void testIncorrectlyReferencingPointcuts_pr122452_2() { runTest("incorrectly referencing pointcuts - 2");}
- //public void testEmptyPointcut_pr125475() { runTest("empty pointcut in atAJ");}
public void testInlinevisitorNPE_pr123901() { runTest("inlinevisitor NPE");}
+ //public void testExposingWithintype_enh123423() { runTest("exposing withintype");}
public void testMixingNumbersOfTypeParameters_pr125080() {
runTest("mixing numbers of type parameters");
@@ -71,6 +71,25 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
assertFalse("printParameters method should have arguments",pe2.getParameterTypes().isEmpty());
}
+ /*
+ * Load-time weaving bugs and enhancements
+ */
+ public void testEmptyPointcutInAtAspectJ_pr125475 () {
+ runTest("define empty pointcut using an annotation");
+ }
+
+ public void testEmptyPointcutInAtAspectJ_pr125475_2() {
+ runTest("define empty pointcut using an annotation - 2");
+ }
+
+ public void testEmptyPointcutInAtAspectJWithLTW_pr125475 () {
+ runTest("define empty pointcut using aop.xml");
+ }
+
+ public void testLTWGeneratedAspectWithAbstractMethod_pr125480 () {
+ runTest("aop.xml aspect inherits abstract method that has concrete implementation in parent");
+ }
+
/////////////////////////////////////////
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc151Tests.class);