]> source.dussan.org Git - aspectj.git/commitdiff
incremental test with -injars
authorwisberg <wisberg>
Mon, 10 Mar 2003 23:32:23 +0000 (23:32 +0000)
committerwisberg <wisberg>
Mon, 10 Mar 2003 23:32:23 +0000 (23:32 +0000)
tests/ajcHarnessTests.xml
tests/ajcTestsFailing.xml

index db330266f9e19b552b45c46f779141dd2dc1a028..6705233e79c94bcab0f590b2b844a3577fffec2c 100644 (file)
                   options="new-event"/> <!-- now expect new-event -->
     </ajc-test>
 
+    <ajc-test dir="incremental/stringliteral"  
+               title="incrementally change only string literal size">
+        <compile staging="true" options="-incremental" 
+               sourceroots="src"/>
+               <run class="packageOne.Main"
+                       options="in packageOne.Main.main(..),
+                                        before main packageOne.Main"/>
+        <inc-compile tag="20">
+               <dir-changes updated="packageOne.Main"/>
+        </inc-compile>
+               <run class="packageOne.Main"
+                       options="in longer packageOne.Main.main(..),
+                                        before main packageOne.Main"/>
+    </ajc-test>
+    
 </suite>
 
 
index 335649e9d926cd8d78be00ff1f93715565364767..2073f0e7cfb19437a49b2ead3b23006e3763e9b6 100644 (file)
         </compile>
     </ajc-test>
 
+    <ajc-test dir="incremental/stringliteral"  
+               title="incrementally change string size and wire in injar classes">
+        <compile staging="true" options="-incremental" 
+               files="oneInjar.jar,twoInjar.jar"
+               sourceroots="src"/>
+               <run class="packageOne.Main"
+                       options="in packageOne.Main.main(..),
+                                        before main packageOne.Main"/>
+        <inc-compile tag="20">
+               <dir-changes updated="packageOne.Main"/>
+        </inc-compile>
+        <!-- now failing here.  This step passes in non-injar variant. -->
+               <run class="packageOne.Main"
+                       options="in longer packageOne.Main.main(..),
+                                        before main packageOne.Main"/>
+        <inc-compile tag="30">
+               <dir-changes added="RunInjarMains"/>
+        </inc-compile>
+               <run class="packageOne.Main"
+                       options="in longer packageOne.Main.main(..),
+                                        before main InjarOneMain,
+                                        before main InjarTwoMain,
+                                        before main packageOne.Main"/>
+    </ajc-test>
+
 </suite>