diff options
author | acolyer <acolyer> | 2005-09-08 13:40:33 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-09-08 13:40:33 +0000 |
commit | 2505485766b460041f2648e56f34132982f6428a (patch) | |
tree | 0f3eec6e8fd58dbb652ceffb155873e3b20c54ee /tests/src | |
parent | 9fa1e7af8353a15a5f28f1bb1a4c4684a3c38eae (diff) | |
download | aspectj-2505485766b460041f2648e56f34132982f6428a.tar.gz aspectj-2505485766b460041f2648e56f34132982f6428a.zip |
tests and fix for pr108902 and pr108903
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | 7 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index b48c4c60b..fd2c8a329 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -398,6 +398,13 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("advising cflow advice execution"); } + public void testNoTypeMismatchOnSameGenericTypes() { + runTest("no type mismatch on generic types in itds"); + } + + public void testSuperCallInITD() { + runTest("super call in ITD"); + } // helper methods..... public SyntheticRepository createRepos(File cpentry) { diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 7849cde7a..fbec23663 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -505,6 +505,17 @@ <compile files="pr108816.aj" > </compile> </ajc-test> + + <ajc-test dir="bugs150/pr108902" pr="108902" title="no type mismatch on generic types in itds"> + <compile files="Subject.java,Observer.java,ObserverProtocol.aj" > + </compile> + </ajc-test> + + <ajc-test dir="bugs150" pr="108903" title="super call in ITD"> + <compile files="pr108903.aj" > + <message kind="error" line="14" text="The method print() is undefined for the type Object"/> + </compile> + </ajc-test> <!-- ============================================================================ --> <!-- ============================================================================ --> |