]> source.dussan.org Git - aspectj.git/commitdiff
tests for reflective reading of compiled binding pointcuts + ron's bug
authoracolyer <acolyer>
Mon, 21 Nov 2005 17:18:39 +0000 (17:18 +0000)
committeracolyer <acolyer>
Mon, 21 Nov 2005 17:18:39 +0000 (17:18 +0000)
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
tests/src/org/aspectj/systemtest/ajc150/ajc150.xml

index 4a2ff9f6be0e4c16b9ae64e3243f886d649d450d..ff1f25e62f0328ff6afca47f82951ba2ab80eb43 100644 (file)
@@ -714,10 +714,13 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
          runTest("no StackOverflowError with circular pcd in generic aspect - 2");
   }
 
+  public void testNPEInThisJoinPointStaticPart() {
+         runTest("thisJoinPointStaticPart in if test");
+  }
 
-//  public void testPointcutParsingOfCompiledPointcuts() {
-//       runTest("pointcut parsing with ajc compiled pointcut references");
-//  }
+  public void testPointcutParsingOfCompiledPointcuts() {
+         runTest("pointcut parsing with ajc compiled pointcut references");
+  }
 
   /*
    * Load-time weaving bugs
index 8c9354fe4aa3bfb2d5519a57c6bfb10a8e39f77d..ec3a692c8c7877221316ce80e25e64bc2e9f416d 100644 (file)
     <ajc-test dir="bugs150" pr="112756" title="pointcut expression containing 'assert'">
      <compile files="Pr112756.aj" options="-warn:assertIdentifier -Xdev:Pinpoint"/>
     </ajc-test>
-    
+
     <ajc-test dir="bugs150" pr="117296" title="self bounding generic types">
      <compile files="PropertySupport.java" options="-1.5"/>
     </ajc-test>
+    
+    <ajc-test dir="bugs150" pr="113368" title="thisJoinPointStaticPart in if test">
+               <compile files="Pr113368.aj"/>
+               <run class="Pr113368"/>
+    </ajc-test>
 
        <ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references">
-               <compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java"></compile>
-               <run class="ReflectOnAjcCompiledPointcuts" classpath=".;../lib/aspectj/aspectjtools.jar"/>
+               <compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java" options="-1.5"></compile>
+               <run class="ReflectOnAjcCompiledPointcuts" classpath="../lib/bcel/bcel.jar"/>
        </ajc-test>
            
     <ajc-test dir="bugs150/pr114436" title="ClassFormatError binary weaving perthis">