diff options
author | aclement <aclement> | 2010-01-25 22:47:06 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-01-25 22:47:06 +0000 |
commit | d36b87d2f0b22991ffc8d111367fdb7c97943477 (patch) | |
tree | 85355c0aedc8e8b4ca4510f5d948e9bf94cc842f /tests/src | |
parent | 046261e20078530352a063c6c1eef9f44bb98f23 (diff) | |
download | aspectj-d36b87d2f0b22991ffc8d111367fdb7c97943477.tar.gz aspectj-d36b87d2f0b22991ffc8d111367fdb7c97943477.zip |
292584, 295491, 298388: testcode
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java | 10 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/ajc169.xml | 23 |
2 files changed, 32 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java index 501325f11..54872e40d 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java @@ -18,6 +18,14 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testPr298388() { + runTest("declare mixin and generics"); + } + + public void testPr292584() { + runTest("annotation around advice verifyerror"); + } + // --- public static Test suite() { @@ -26,7 +34,7 @@ public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase { @Override protected File getSpecFile() { - return new File("../tests/src/org/aspectj/systemtest/ajc167/ajc167.xml"); + return new File("../tests/src/org/aspectj/systemtest/ajc169/ajc169.xml"); } }
\ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml index a701d65b8..9f2408c2a 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml +++ b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml @@ -2,4 +2,27 @@ <suite> + <ajc-test dir="bugs169/pr298388" title="declare mixin and generics"> + <compile files="PR298388.java" options="-1.5"/> + <run class="PR298388"> + <stdout> + <line text="done"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs169/pr295491" title="model annotation npe"> + <compile files="SpringConfigurableMixin.java" options="-1.5 -emacssym"/> + </ajc-test> + + <ajc-test dir="bugs169/pr292584" title="annotation around advice verifyerror"> + <compile files="AbstractAspect.java,ClassWithJoinPoint.java,ConcreteAspect.java" options="-1.5"/> + <run class="ClassWithJoinPoint"> + <stdout> + <line text="Testing annotation style (should print "true"):"/> + <line text="true"/> + </stdout> + </run> + </ajc-test> + </suite>
\ No newline at end of file |