summaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-06 07:31:16 +0000
committerwisberg <wisberg>2003-08-06 07:31:16 +0000
commitc09964fbdb4d97c60c3fc72b3061518369db5161 (patch)
treebb54234adcc567c2b306ad29887b1eab84accc9f /tests/ajcTests.xml
parenta63bc04fb1cb6e8d6d0bc2a509ab9658e3d78c43 (diff)
downloadaspectj-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.xml30
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>