]> source.dussan.org Git - aspectj.git/commitdiff
raising issue of reporting source location for constructor execution as starting...
authorwisberg <wisberg>
Wed, 14 May 2003 05:15:55 +0000 (05:15 +0000)
committerwisberg <wisberg>
Wed, 14 May 2003 05:15:55 +0000 (05:15 +0000)
tests/ajcTestsFailing.xml

index 852bccb88fd24fbe707556e29f7cb882fc75837e..c86d694bf4dbc55e2963adba43db103d234aab25 100644 (file)
                        options="in longer packageOne.Main.main(..),
                                         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>
+
 </suite>