diff options
author | acolyer <acolyer> | 2005-08-16 09:26:57 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-16 09:26:57 +0000 |
commit | fcddd27d45f1e11a389764003a36c73978c9520c (patch) | |
tree | 36fe0cee371053b50110dd7e5e63fe6e6d91a1c0 /tests/src | |
parent | e50ee045bb9470a6ff0ac8b84b1dbcff3ab13754 (diff) | |
download | aspectj-fcddd27d45f1e11a389764003a36c73978c9520c.tar.gz aspectj-fcddd27d45f1e11a389764003a36c73978c9520c.zip |
ajc-test drivers for 106130, 107059, and declare soft in generic aspect
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index d94182d55..f0e5bff73 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -1,8 +1,6 @@ -<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[ -]> +<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]> <!-- AspectJ v1.5.0 Tests --> - <suite> <ajc-test dir="java5/staticImports" title="import static java.lang.System.out"> @@ -46,6 +44,22 @@ </compile> </ajc-test> + <ajc-test dir="bugs150" pr="107059" title="parser crashes on call(void (@a *)(..)"> + <compile files="pr107059.aj"> + <message line="3" kind="error" text="Syntax error on token "(", "name pattern" expected"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs150/pr106130" pr="106130" title="test weaving with > 256 locals"> + <compile files="AroundLotsOfVars.java LotsOfVars.java" options="-preserveAllLocals"/> + <run class="LotsOfVars"> + <stdout> + <line text="hello"/> + <line text="2"/> + </stdout> + </run> + </ajc-test> + <ajc-test dir="bugs150/pr87376" title="structure model npe on type not found"> <compile files="I.java,NPE.aj" options="-emacssym"> <message kind="error" line="8" text="I cannot be resolved to a type"/> @@ -2381,7 +2395,18 @@ <run class="DeclareParentsWithTypeVars"> </run> </ajc-test> - + + <ajc-test dir="java5/generics/genericaspects" title="generic aspect declare soft"> + <compile files="DeclareSoftWithTypeVars.aj" options="-1.5"> + </compile> + <run class="DeclareSoftWithTypeVars"> + <stderr> + <line text="handled exception: io, io, it's off to work we go..."/> + <line text="Successfully converted to domain exception"/> + </stderr> + </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"/> |