diff options
author | aclement <aclement> | 2008-05-08 21:13:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-08 21:13:45 +0000 |
commit | 4e315bcea79925d24801acac5465982a683c6e7a (patch) | |
tree | 55938dcb32e73eb12af3f69621fa92db25105633 /tests/src | |
parent | 1eab1ab1d16da7a243e6712fb051efef3161075d (diff) | |
download | aspectj-4e315bcea79925d24801acac5465982a683c6e7a.tar.gz aspectj-4e315bcea79925d24801acac5465982a683c6e7a.zip |
231187: test and fix. Do the parameterization check after ITDs have applied
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java | 2 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc161/ajc161.xml | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java index 7f0f6fd49..f9346d8b3 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java @@ -19,6 +19,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // AspectJ1.6.1 + public void testGenericsBoundsDecp_pr231187() { runTest("generics bounds decp"); } + public void testGenericsBoundsDecp_pr231187_2() { runTest("generics bounds decp - 2"); } public void testLtwInheritedCflow_pr230134() { runTest("ltw inherited cflow"); } public void testAroundAdviceOnFieldSet_pr229910() { runTest("around advice on field set"); } public void testPipelineCompilationGenericReturnType_pr226567() { runTest("pipeline compilation and generic return type"); } diff --git a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml index f864b64b2..b05dc4eee 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml +++ b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml @@ -3,6 +3,21 @@ <!-- AspectJ v1.6.1 Tests --> <suite> + <ajc-test dir="bugs161/pr231187" title="generics bounds decp"> + <compile files="Cement.java ConcreteClass.java SuperClass.java SuperClassAspect.aj WetCement.java Main.java" options="-1.5"/> + <run class="concrete.Main"> + <stdout> + <line text="ran!"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs161/pr231187" title="generics bounds decp - 2"> + <compile files="Cement.java ConcreteClass.java SuperClass.java WetCement.java" options="-1.5"> + <message kind="error" text="The type WetCement is not a valid substitute for the bounded parameter"/> + </compile> + </ajc-test> + <ajc-test dir="bugs161/pr230134" title="ltw inherited cflow"> <compile files="HW.java"/> <compile files="SimpleTracing.java Tracing.java HelloWorldTracing.java" outjar="foo.jar"/> |