]> source.dussan.org Git - aspectj.git/commitdiff
moved fixed tests
authorjhugunin <jhugunin>
Wed, 1 Jan 2003 01:31:39 +0000 (01:31 +0000)
committerjhugunin <jhugunin>
Wed, 1 Jan 2003 01:31:39 +0000 (01:31 +0000)
tests/ajcTests.xml
tests/ajcTestsFailing.xml

index 3b8be66e66b631ea110cbfc42c4266860e951a16..fbd8c3df9cc0526d789e17711a01a811d92f5bfb 100644 (file)
         </compile>
     </ajc-test>
     
+       <!-- The follwing three idioms are allowed.  Within a declare parents,
+            implements and extends can be used interchangably.  We could
+            provide -Xlint style warnings for misuse.
+       -->
+
+    <ajc-test dir="new" pr="853"
+      title="declare class extends interface">
+        <compile files="DeclareClassExtendsInterface.java">
+        </compile>
+    </ajc-test>
+
+    <ajc-test dir="new" pr="853"
+      title="declare class implements class">
+        <compile files="DeclareClassImplementsClass.java">
+        </compile>
+    </ajc-test>
+
+    <ajc-test dir="new" pr="853"
+      title="declare interface implements interface">
+        <compile files="DeclareInterfaceImplementsInterface.java">
+        </compile>
+    </ajc-test>
+    
+    <ajc-test dir="new"
+      title="if and cflow arg binding">
+        <compile files="CflowBinding.java">
+          <message kind="error" line="13"/>
+        </compile>
+    </ajc-test>
+
+    <ajc-test dir="bugs" pr="902"
+      title="circularity in declare dominates">
+        <compile files="CircularDominates.java">
+                 <message kind="error" line="18"/>
+        </compile>
+    </ajc-test>
+    
 </suite>
index fa86d76657ae62f070cc45ed0bfcb80f5f7618b7..6133db99d373911ed95de68672a19179059932ad 100644 (file)
         <run class="aspect.Aspect"/>
     </ajc-test>
 
-    <ajc-test dir="new" pr="853"
-      title="declare class extends interface">
-        <compile files="DeclareClassExtendsInterface.java">
-           <message kind="error" line="10"/>
-        </compile>
-    </ajc-test>
-
-    <ajc-test dir="new" pr="853"
-      title="declare class implements class">
-        <compile files="DeclareClassImplementsClass.java">
-           <message kind="error" line="10"/>
-        </compile>
-    </ajc-test>
-
-    <ajc-test dir="new" pr="853"
-      title="declare interface implements interface">
-        <compile files="DeclareInterfaceImplementsInterface.java">
-           <message kind="error" line="10"/>
-        </compile>
-    </ajc-test>
-
     <ajc-test dir="new/PR862" pr="862"
       title="import any inner from interface implementor"
       keywords="purejava">
         <run class="pack.ImportInnerFromInterfaceImplementor"/>
     </ajc-test>
 
-    <ajc-test dir="new"
-      title="if and cflow arg binding">
-        <compile files="CflowBinding.java">
-          <message kind="error" line="13"/>
-        </compile>
-    </ajc-test>
-
-    <ajc-test dir="bugs" pr="902"
-      title="circularity in declare dominates">
-        <compile files="CircularDominates.java">
-                 <message kind="error" line="18"/>
-        </compile>
-    </ajc-test>
 
     <ajc-test dir="bugs" pr="906"
       title="privileged access to code outside the control of the compiler">