diff options
author | jhugunin <jhugunin> | 2003-01-01 01:31:39 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-01 01:31:39 +0000 |
commit | 4a5b6f6bbfb7b22f627d87a0fda34f600989f7ea (patch) | |
tree | b8d5e9b5e6b9a2e00988a9d0fc2ebb926f80e016 /tests | |
parent | 6ca8bded754a82f24db9e7f7c362425fcb7e7acf (diff) | |
download | aspectj-4a5b6f6bbfb7b22f627d87a0fda34f600989f7ea.tar.gz aspectj-4a5b6f6bbfb7b22f627d87a0fda34f600989f7ea.zip |
moved fixed tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 37 | ||||
-rw-r--r-- | tests/ajcTestsFailing.xml | 34 |
2 files changed, 37 insertions, 34 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 3b8be66e6..fbd8c3df9 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5394,4 +5394,41 @@ </compile> </ajc-test> + <!-- The follwing three idioms are allowed. Within a declare parents, + implements and extends can be used interchangably. We could + provide -Xlint style warnings for misuse. + --> + + <ajc-test dir="new" pr="853" + title="declare class extends interface"> + <compile files="DeclareClassExtendsInterface.java"> + </compile> + </ajc-test> + + <ajc-test dir="new" pr="853" + title="declare class implements class"> + <compile files="DeclareClassImplementsClass.java"> + </compile> + </ajc-test> + + <ajc-test dir="new" pr="853" + title="declare interface implements interface"> + <compile files="DeclareInterfaceImplementsInterface.java"> + </compile> + </ajc-test> + + <ajc-test dir="new" + title="if and cflow arg binding"> + <compile files="CflowBinding.java"> + <message kind="error" line="13"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs" pr="902" + title="circularity in declare dominates"> + <compile files="CircularDominates.java"> + <message kind="error" line="18"/> + </compile> + </ajc-test> + </suite> diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index fa86d7665..6133db99d 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -43,27 +43,6 @@ <run class="aspect.Aspect"/> </ajc-test> - <ajc-test dir="new" pr="853" - title="declare class extends interface"> - <compile files="DeclareClassExtendsInterface.java"> - <message kind="error" line="10"/> - </compile> - </ajc-test> - - <ajc-test dir="new" pr="853" - title="declare class implements class"> - <compile files="DeclareClassImplementsClass.java"> - <message kind="error" line="10"/> - </compile> - </ajc-test> - - <ajc-test dir="new" pr="853" - title="declare interface implements interface"> - <compile files="DeclareInterfaceImplementsInterface.java"> - <message kind="error" line="10"/> - </compile> - </ajc-test> - <ajc-test dir="new/PR862" pr="862" title="import any inner from interface implementor" keywords="purejava"> @@ -73,19 +52,6 @@ <run class="pack.ImportInnerFromInterfaceImplementor"/> </ajc-test> - <ajc-test dir="new" - title="if and cflow arg binding"> - <compile files="CflowBinding.java"> - <message kind="error" line="13"/> - </compile> - </ajc-test> - - <ajc-test dir="bugs" pr="902" - title="circularity in declare dominates"> - <compile files="CircularDominates.java"> - <message kind="error" line="18"/> - </compile> - </ajc-test> <ajc-test dir="bugs" pr="906" title="privileged access to code outside the control of the compiler"> |