diff options
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index 36b3a0b91..fdab101db 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -196,6 +196,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("IllegalStateException unpacking signature of nested parameterized type"); } + public void testParseErrorOnAnnotationStarPlusPattern() { + runTest("(@Foo *)+ type pattern parse error"); + } + public void testMissingNamePattern_pr106461() { runTest("missing name pattern"); } // helper methods..... diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 9dfbe2f91..d94182d55 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -186,6 +186,10 @@ <compile files="pr106634.aj" options="-1.5"/> </ajc-test> + <ajc-test dir="bugs150" title="(@Foo *)+ type pattern parse error"> + <compile files="AnnotationPlusPatternParseError.aj" options="-1.5"/> + </ajc-test> + <ajc-test dir="../docs/dist/doc/examples/introduction" title="introduction sample" vm="1.5"> <compile files="CloneablePoint.java,ComparablePoint.java,HashablePoint.java,Point.java" options="-1.5"/> </ajc-test> @@ -2371,6 +2375,13 @@ </run> </ajc-test> + <ajc-test dir="java5/generics/genericaspects" title="generic aspect declare parents"> + <compile files="DeclareParentsWithTypeVars.aj" options="-1.5"> + </compile> + <run class="DeclareParentsWithTypeVars"> + </run> + </ajc-test> + <!-- ajdk example --> <ajc-test dir="java5/generics/genericaspects" title="generic aspects - 5 (ajdk)"> <compile files="Blob.java,BlobContainment.aj,ParentChildRelationship.aj" options="-1.5"/> |