From: aclement Date: Mon, 30 Jan 2006 10:22:44 +0000 (+0000) Subject: testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) -... X-Git-Tag: POST_MEMORY_CHANGES~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6aa48b0e4feb48912acfb203f2c5b411514fbb87;p=aspectj.git testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) - last one currently commented out. --- 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);