diff options
author | aclement <aclement> | 2008-02-26 16:31:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-02-26 16:31:38 +0000 |
commit | 493af53138c71affba0c75c53ecefd192df68fed (patch) | |
tree | dd8fb7097e462f05bd5f86bb6e464bb04aeb5dd9 /tests/src | |
parent | 253c10ae7f225f9ac3b0221e75b92277bad84028 (diff) | |
download | aspectj-493af53138c71affba0c75c53ecefd192df68fed.tar.gz aspectj-493af53138c71affba0c75c53ecefd192df68fed.zip |
testcode for 211146 and hasMethod semantics - commented out right now
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java | 7 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/ajc160.xml | 14 |
2 files changed, 19 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java index 34c236973..a5df41ab5 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java @@ -20,6 +20,7 @@ import junit.framework.Test; */ public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase { +// public void testHasMethodSemantics() { runTest("hasmethod semantics"); } public void testBoundsCheckShouldFail_pr219298() { runTest("bounds check failure");} public void testBoundsCheckShouldFail_pr219298_2() { runTest("bounds check failure - 2");} public void testGenericMethodMatching_pr204505_1() { runTest("generics method matching - 1");} @@ -33,8 +34,10 @@ public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testDecpRepetition_pr214559_3() { runTest("decp repetition problem - 3");} // across multiple files public void testISEAnnotations_pr209831() { runTest("illegal state exception with annotations");} public void testISEAnnotations_pr209831_2() { runTest("illegal state exception with annotations - 2");} - - ///////////////////////////////////////// +// public void testITDLostGenerics_pr211146() { runTest("itd lost generic signature");} +// public void testITDLostGenerics_pr211146_2() { runTest("itd lost generic signature - field");} + + ///////////////////////////////////////// public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc160Tests.class); } diff --git a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml index 8747270e3..09da1df88 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml +++ b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml @@ -3,6 +3,15 @@ <!-- AspectJ v1.6.0 Tests --> <suite> + <ajc-test dir="bugs160/various" title="hasmethod semantics"> + <compile options="-1.5 -XhasMember -Xlint:ignore" files="HasMethodSemantics.java"/> + <run class="HasMethodSemantics"> + <stdout> + <line text="Implements Marker? no"/> + </stdout> + </run> + </ajc-test> + <ajc-test dir="bugs160/pr204505" title="generics method matching - 1"> <compile options="-1.5 -showWeaveInfo" files="Bug.java"> <message kind="weave" text="execution(void C.save(java.lang.Object))"/> @@ -73,4 +82,9 @@ <run class="Test2"/> </ajc-test> + <ajc-test dir="bugs160/pr211146" title="itd lost generic signature"> + <compile options=" -1.5" files="StringAspect.aj,StringClass.java" outjar="foo.jar"/> + <compile options=" -1.5" files="DemoUsage.java" classpath="foo.jar"/> + </ajc-test> + </suite>
\ No newline at end of file |