]> source.dussan.org Git - aspectj.git/commitdiff
@testcase 59895 incremental full-rebuild
authorwisberg <wisberg>
Mon, 26 Apr 2004 00:45:48 +0000 (00:45 +0000)
committerwisberg <wisberg>
Mon, 26 Apr 2004 00:45:48 +0000 (00:45 +0000)
tests/ajcTestsFailing.xml
tests/incremental/full-rebuild/src/Aspect.20.java [new file with mode: 0644]
tests/incremental/full-rebuild/src/Aspect.java [new file with mode: 0644]
tests/incremental/full-rebuild/src/Main.java [new file with mode: 0644]

index c2fb46b054957ea5becf0e41505d18a491820f82..48879067d2ba1ddc6c63b45226151c4b3041a3a3 100644 (file)
         <run class="InterfaceInitializerOrder"/>
     </ajc-test>
 
+    <ajc-test dir="incremental/full-rebuild"
+       pr="59895"
+               title="incremental with aspect-driven full rebuild">
+        <compile 
+                       staging="true" 
+                       sourceroots="src"
+                       options="-incremental">
+               <message kind="error" line="3" file="Aspect.java"/>
+               </compile>
+        <inc-compile tag="20">
+               <message kind="warning" line="4" file="Main.java"/>
+               </inc-compile>
+        <run class="Main"/>
+    </ajc-test>
+
 </suite>
diff --git a/tests/incremental/full-rebuild/src/Aspect.20.java b/tests/incremental/full-rebuild/src/Aspect.20.java
new file mode 100644 (file)
index 0000000..94367bb
--- /dev/null
@@ -0,0 +1,4 @@
+
+public aspect Aspect {
+    declare warning : execution(static void main(String[])): "dw";
+}
\ No newline at end of file
diff --git a/tests/incremental/full-rebuild/src/Aspect.java b/tests/incremental/full-rebuild/src/Aspect.java
new file mode 100644 (file)
index 0000000..b2fc288
--- /dev/null
@@ -0,0 +1,4 @@
+
+public aspect Aspect {
+    declare warning : execution(static void main(String[])):: "dw";
+}
\ No newline at end of file
diff --git a/tests/incremental/full-rebuild/src/Main.java b/tests/incremental/full-rebuild/src/Main.java
new file mode 100644 (file)
index 0000000..d3dbf0c
--- /dev/null
@@ -0,0 +1,6 @@
+
+public class Main {
+    public static void main(String[] args) {
+               System.getProperty("code for method-execution location");
+       }
+}
\ No newline at end of file