diff options
author | avasseur <avasseur> | 2005-10-17 10:49:11 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-10-17 10:49:11 +0000 |
commit | bb2d44016148994e99f8a2389754b69f18b710b2 (patch) | |
tree | af8d62f1f9df15f44b915be60b221a908cfc9d49 /tests/src | |
parent | 0b5a5420704f7e32509fffaef66d8c94dcedcf17 (diff) | |
download | aspectj-bb2d44016148994e99f8a2389754b69f18b710b2.tar.gz aspectj-bb2d44016148994e99f8a2389754b69f18b710b2.zip |
implement @AspectJ ITD @DeclareParents and @DeclareImplements
changed AjType as ITD field is meaningless (as @AJ ITD is interface driven)
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java | 8 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ataspectj/syntax.xml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java index e4f883c66..5e802c4a7 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java @@ -120,4 +120,12 @@ public class AtAjSyntaxTests extends XMLBasedAjcTestCase { public void testBug104212() { runTest("Bug104212"); } + + public void testDeclareParentsInterface() { + runTest("DeclareParentsInterface"); + } + + public void testDeclareParentsImplements() { + runTest("DeclareParentsImplements"); + } }
\ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/syntax.xml b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/syntax.xml index 04667476b..89f2e0f08 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/syntax.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/syntax.xml @@ -149,5 +149,14 @@ <run class="ataspectj.Bug104212"/> </ajc-test> + <ajc-test dir="java5/ataspectj" title="DeclareParentsInterface"> + <compile files="ataspectj/DeclareParentsInterfaceTest.java,ataspectj/TestHelper.java" options="-1.5 -Xdev:NoAtAspectJProcessing -Xlint:ignore"/> + <run class="ataspectj.DeclareParentsInterfaceTest"/> + </ajc-test> + + <ajc-test dir="java5/ataspectj" title="DeclareParentsImplements"> + <compile files="ataspectj/DeclareParentsImplementsTest.java,ataspectj/TestHelper.java" options="-1.5 -Xdev:NoAtAspectJProcessing -Xlint:ignore"/> + <run class="ataspectj.DeclareParentsImplementsTest"/> + </ajc-test> </suite>
\ No newline at end of file |