]> source.dussan.org Git - aspectj.git/commitdiff
moved knownLimitations from ajcTestsFailing to ajcTests and labeled with keyword
authorjhugunin <jhugunin>
Tue, 27 May 2003 17:02:36 +0000 (17:02 +0000)
committerjhugunin <jhugunin>
Tue, 27 May 2003 17:02:36 +0000 (17:02 +0000)
tests/ajcTests.xml
tests/ajcTestsFailing.xml

index 729122676bc9e1bacd897ab1d2afb4e1b928db85..76e581540b598523939140bf99df48988050f6f1 100644 (file)
         </compile>
     </ajc-test>
 
+    <!-- The next three tests are all about the same issue.  The source
+         line for a constructor execution is returned as the first executable
+         line within the constructor-execution join point rather than the declaration
+         line of the constructor.  Any other definition will require collusion between
+         the source->bytecode compiler and the weaver and will only work in
+         those case where such collusion is possible.
+    -->
+
+    <ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
+        title="declare warnings on main - constructor execution">
+        <compile files="aspects/ConstructorExecutionWarning.java,app/Main.java">
+               <message kind="warning" file="app/Main.java"
+                 line="23" text="execution(Main.new())"/>
+        </compile>
+        <run class="app.Main"/>
+    </ajc-test>
+
+    <ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
+        title="declare warnings on binary javac 1.4 main - constructor execution">
+        <compile files="aspects/ConstructorExecutionWarning.java,../injars/app-javac-1.4.jar">
+               <message kind="warning" file="app/Main.java"
+                 line="23" text="execution(Main.new())"/>
+        </compile>
+        <run class="app.Main"/>
+    </ajc-test>
+
+    <ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
+        title="declare warnings on binary ajc 1.1 main - constructor execution">
+        <compile files="aspects/ConstructorExecutionWarning.java,../injars/app-ajc-1.1.jar">
+               <message kind="warning" file="app/Main.java"
+                 line="23" text="execution(Main.new())"/>
+        </compile>
+        <run class="app.Main"/>
+    </ajc-test>
+
+    <ajc-test dir="bugs/handlers" pr="37898" keywords="knownLimitation"
+               title="advice on handler join points should not throw unpermitted checked exceptions">
+        <compile files="ExceptionCheckCE.java">
+                       <message kind="warning" line="8" text="expected"/>
+                       <message kind="error" line="25" text="throw checked exception" />
+                       <message kind="error" line="8" text="throw checked exception" />
+        </compile>
+    </ajc-test>
+
 </suite>
index 260581ad4c1b4fd34b4e6828830296831ad21bc9..7a4785eda113838dcf0458f59f1e3009ecb9bd74 100644 (file)
                                         before main packageOne.Main"/>
     </ajc-test>
 
-    <ajc-test dir="new/binaryWarnings/src" pr="37020"
-        title="declare warnings on main - constructor execution">
-        <compile files="aspects/ConstructorExecutionWarning.java,app/Main.java">
-               <message kind="warning" file="app/Main.java"
-                 line="23" text="execution(Main.new())"/>
-        </compile>
-        <run class="app.Main"/>
-    </ajc-test>
-
-    <ajc-test dir="new/binaryWarnings/src" pr="37020"
-        title="declare warnings on binary javac 1.4 main - constructor execution">
-        <compile files="aspects/ConstructorExecutionWarning.java,../injars/app-javac-1.4.jar">
-               <message kind="warning" file="app/Main.java"
-                 line="23" text="execution(Main.new())"/>
-        </compile>
-        <run class="app.Main"/>
-    </ajc-test>
 
-    <ajc-test dir="new/binaryWarnings/src" pr="37020"
-        title="declare warnings on binary ajc 1.1 main - constructor execution">
-        <compile files="aspects/ConstructorExecutionWarning.java,../injars/app-ajc-1.1.jar">
-               <message kind="warning" file="app/Main.java"
-                 line="23" text="execution(Main.new())"/>
-        </compile>
-        <run class="app.Main"/>
-    </ajc-test>
-
-    <ajc-test dir="bugs/handlers" pr="37898"
-               title="advice on handler join points should not throw unpermitted checked exceptions">
-        <compile files="ExceptionCheckCE.java">
-                       <message kind="warning" line="8" text="expected"/>
-                       <message kind="error" line="25" text="throw checked exception" />
-                       <message kind="error" line="8" text="throw checked exception" />
-        </compile>
-    </ajc-test>
 
 </suite>