]> source.dussan.org Git - aspectj.git/commitdiff
Tests for 60936,61538,61568
authoraclement <aclement>
Wed, 12 May 2004 13:01:42 +0000 (13:01 +0000)
committeraclement <aclement>
Wed, 12 May 2004 13:01:42 +0000 (13:01 +0000)
tests/ajcTests.xml

index 0c64c5dd2ffb780327357c8fe27dfd2add86d623..35742e80c536c58e4711637017227b9e548d1255 100644 (file)
       title="after returning advice on interface constructor - error">
         <compile files="AfterReturningInterfaceConstructorCE.java">
                <message kind="error" line="26"/>
+               <message kind="warning" line="30"/>
         </compile>
     </ajc-test>
 
        
    <ajc-test dir="bugs/compileOrdering" 
                pr="59778"
-               title=" InterTypeMethodDeclaration.java:104">
+               title="InterTypeMethodDeclaration.java:104">
         <compile files="B.java,D.java" >
           <message kind="error" line="2" file="B.java"/>
         </compile>
           <message kind="error" line="2" file="B.java"/>
         </compile>
     </ajc-test>
+    
+    <ajc-test dir="bugs" 
+               pr="61538" title="nested uses of this() inside constructors not handled properly for initialization and preinitialization pointcuts">
+        <compile files="ConstructorMain.java"/>
+        <run class="ConstructorMain"/>
+    </ajc-test> 
+    
+    <ajc-test dir="bugs"
+               pr="61568" title="wrong variable binding in || pointcuts">
+        <compile files="DisjunctVarBinding.java">
+          <message kind="error" line="18" text="Ambiguous binding of type B"/>
+          <message kind="error" line="18" text="Ambiguous binding of type A"/>
+        </compile>
+    </ajc-test>
+       <ajc-test dir="bugs" 
+               pr="60936" title="error message for constructor-execution pcd">
+        <compile files="InterfaceConstructor.java">
+          <message kind="warning" line="10" text="no interface constructor-execution join point"/>
+        </compile>
+    </ajc-test>
 </suite>