]> source.dussan.org Git - aspectj.git/commitdiff
275625: test and fix: declare at method
authoraclement <aclement>
Tue, 12 May 2009 17:48:07 +0000 (17:48 +0000)
committeraclement <aclement>
Tue, 12 May 2009 17:48:07 +0000 (17:48 +0000)
tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java
tests/src/org/aspectj/systemtest/ajc165/ajc165.xml

index ec98633a28a346dbb184788be3dfee7cacf88777..94ad56940b67845bd9670561cf47b5425dc78195 100644 (file)
@@ -20,6 +20,14 @@ import org.aspectj.weaver.LintMessage;
 
 public class Ajc165Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
 
+       public void testDecAnnoMethod_pr275625() {
+               runTest("dec anno method");
+       }
+
+       public void testDecAnnoField_pr275625() {
+               runTest("dec anno field");
+       }
+
        // check ITD can replace a generated default constructor
        public void testItdDefaultCtor_pr275032() {
                runTest("itd default ctor");
index 169b857556fd2bf82b3eaaa7c86dc4bf0fed2c01..99ad49f0e4ec4c93961706af83d0e9ced836772b 100644 (file)
@@ -2,6 +2,14 @@
 
 <suite>
 
+   <ajc-test dir="bugs165/pr275625" title="dec anno method">
+     <compile files="A.java" options="-1.5"/>
+   </ajc-test>
+   
+   <ajc-test dir="bugs165/pr275625" title="dec anno field">
+     <compile files="F.java" options="-1.5"/>
+   </ajc-test>
+   
    <ajc-test dir="bugs165/pr275032" title="itd default ctor">
      <compile files="A.java X.java" options="-1.5 -Xlint:ignore"/>
      <run class="A">