aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r--tests/ajcTests.xml41
1 files changed, 14 insertions, 27 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index 70fe32041..a4ec74a67 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -2458,33 +2458,6 @@
</compile>
</ajc-test>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<ajc-test dir="design/intro"
title="initial tests for new introduction style" keywords="from-design">
<compile files="Simple.java"/>
@@ -2533,6 +2506,20 @@
</compile>
</ajc-test>
+ <ajc-test dir="design/intro"
+ title="declared exceptions are checked correctly on intros (errors)">
+ <compile files="ExceptionsCF.java">
+ <message kind="error" line="8"/>
+ <message kind="error" line="23"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="design/intro"
+ title="declared exceptions are checked correctly on intros">
+ <compile files="ExceptionsCP.java"/>
+ <run class="ExceptionsCP"/>
+ </ajc-test>
+
<ajc-test dir="design/reflect"
title="Joinpoint is not created for foo(String) when before() advice is present."
keywords="from-design">