diff options
author | wisberg <wisberg> | 2003-08-06 07:31:16 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-08-06 07:31:16 +0000 |
commit | c09964fbdb4d97c60c3fc72b3061518369db5161 (patch) | |
tree | bb54234adcc567c2b306ad29887b1eab84accc9f /tests/ajcTests.xml | |
parent | a63bc04fb1cb6e8d6d0bc2a509ab9658e3d78c43 (diff) | |
download | aspectj-c09964fbdb4d97c60c3fc72b3061518369db5161.tar.gz aspectj-c09964fbdb4d97c60c3fc72b3061518369db5161.zip |
@testcase PR#41175 aspect-declared methods with exception clauses fail in binary libraries
Corresponding non-binary passing tests added to ajcTests.xml
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 82d4e6ed4..2ae8559ae 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6598,5 +6598,35 @@ <run class="Client"/> </ajc-test> + + <ajc-test + dir="bugs/interfaceLibrary" + title="exception clause for aspect-declared interface methods - positive"> + <compile files="Client.java,LibraryAspect.java,lib/LibraryInterface.java"/> + <run class="Client"/> + </ajc-test> + + <ajc-test + dir="bugs/interfaceLibrary" + title="exception clause for aspect-declared interface methods - negative"> + <compile files="ClientCE.java,LibraryAspect.java,lib/LibraryInterface.java"> + <message kind="error" file="ClientCE.java" line="5"/> + </compile> + </ajc-test> + + <ajc-test + dir="bugs/interfaceLibrary" + title="exception clause for aspect-declared class methods - positive"> + <compile files="ClassClient.java,LibraryClassAspect.java,lib/LibraryClass.java"/> + <run class="ClassClient"/> + </ajc-test> + + <ajc-test + dir="bugs/interfaceLibrary" + title="exception clause for aspect-declared class methods - negative"> + <compile files="ClassClientCE.java,LibraryClassAspect.java,lib/LibraryClass.java"> + <message kind="error" file="ClassClientCE.java" line="5"/> + </compile> + </ajc-test> </suite> |