]> source.dussan.org Git - aspectj.git/commitdiff
tests for 125480
authoraclement <aclement>
Thu, 18 May 2006 11:45:47 +0000 (11:45 +0000)
committeraclement <aclement>
Thu, 18 May 2006 11:45:47 +0000 (11:45 +0000)
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
tests/src/org/aspectj/systemtest/ajc152/ajc152.xml

index 414714883d2f94520067a579f970040b26f1d49e..d433fe755e2a56336eb6a648771c31b09e282838 100644 (file)
@@ -17,6 +17,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
 
 public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
 
+  public void testLTWGeneratedAspectAbstractMethod_pr125480() { runTest("aop.xml aspect inheriting abstract method ");} 
+  public void testLTWGeneratedAspectAbstractMethod_pr125480_2() { runTest("aop.xml aspect inheriting abstract method - code style");} 
   //public void testSuperITDExplosion_pr134425() { runTest("super ITDs");}
   //public void testMisbehavingDeclareAnnotation_pr135865() { runTest("misbehaving declare annotation");}
   //public void testMisbehavingDeclareAnnotation_pr135865_2() { runTest("misbehaving declare annotation - 2");}
index e5d02c4237ea434eaf33ab9b62610922f9ceabe6..902014b3fa5f4cf248ed61d9aa16a2f2203bdfd1 100644 (file)
       <compile files="AtAspectWithPerClause.aj" options="-1.5">
       </compile>
     </ajc-test>
+    
+    <ajc-test dir="bugs152/pr125480" title="aop.xml aspect inheriting abstract method ">
+        <compile files="HelloWorld.java"/>
+        <compile files="AbstractMethods.aj, ConcreteMethods.aj" options="-1.5"/>
+        <run class="HelloWorld" ltw="aop-tracing.xml">
+          <stdout>
+            <line text="advice running"/>
+            <line text="Hello World!"/>
+          </stdout>
+        </run>
+    </ajc-test>
+    
+    <ajc-test dir="bugs152/pr125480/case2" title="aop.xml aspect inheriting abstract method - code style">
+        <compile files="HelloWorld.java"/>
+        <compile files="AbstractMethods.aj, ConcreteMethods.aj" options="-1.5"/>
+        <run class="HelloWorld" ltw="aop-tracing.xml">
+          <stdout>
+            <line text="advice running"/>
+            <line text="Hello World!"/>
+          </stdout>
+        </run>
+    </ajc-test>
+    
 
     <ajc-test dir="bugs152/pr138223" pr="138223" title="Double at annotation matching (no binding)">
       <compile files="DoubleAnnotationMatching.aj" options="-1.5">