]> source.dussan.org Git - aspectj.git/commitdiff
Tests slightly reworked by matthew due to enhancement 71339
authoraclement <aclement>
Fri, 13 Aug 2004 15:16:15 +0000 (15:16 +0000)
committeraclement <aclement>
Fri, 13 Aug 2004 15:16:15 +0000 (15:16 +0000)
tests/src/org/aspectj/systemtest/ajc120/Ajc120Tests.java
tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml
tests/src/org/aspectj/systemtest/aspectpath/AspectPathTests.java
tests/src/org/aspectj/systemtest/aspectpath/aspectpath-tests.xml

index 84054333afa15196b4beb9e5785139c1c789545d..e38baa1da142844c0d882dcb3bf8b21f0fd9f366 100644 (file)
@@ -237,8 +237,16 @@ public class Ajc120Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
   }
 
   public void test054(){
-    runTest("error message for constructor-execution pcd");
+       runTest("error message for constructor-execution pcd");
   }
 
+       public void test055(){
+         runTest("weaving using an empty jar in -injars");
+       }
+
+       public void test056(){
+         runTest("weaving using an empty jar in -aspectpath");
+       }
+
 }
 
index 51f70134b957167798b3d7058391965779b90c52..dbdddd93ee5c83eeafdc27c92db9d4d8794247d8 100644 (file)
                <message kind="error" line="5"/>
         </compile>
     </ajc-test>
-    
-    <!-- this test unreliable - can't always delete sandbox afterwards, need to get
-         to the bottom of why...
-     <ajc-test dir="bugs"  pr="43714"
-       title="weaving from an input jar into that same jar.."  >
-        <compile files="notAJar.jar" outjar="notAJar.jar"> 
-               <message kind="error" line="0"/>
-        </compile>
-    </ajc-test>
-       -->
        
     <ajc-test dir="bugs"
                title="Private members introduced via an interface are visible to the class"
         </compile>
     </ajc-test>
 
+    <ajc-test dir="bugs"  pr="43714"
+       title="weaving using an empty jar in -injars"  >
+        <compile files="notAJar.jar" outjar="outJar.jar"> 
+               <message kind="error" line="0"/>
+        </compile>
+    </ajc-test>
+       
+        <ajc-test dir="bugs"  pr="43714"
+       title="weaving using an empty jar in -aspectpath"  >
+        <compile files="WeaveLocal.java" aspectpath="notAJar.jar" outjar="outJar.jar" >                
+        </compile>
+    </ajc-test>
+    
\ No newline at end of file
index 779bedec9362ee8a841a331249550ffa5c61a62e..032b7ead8dcadbb4b8d26e88dbf5d684d29567fa 100644 (file)
@@ -108,9 +108,5 @@ public class AspectPathTests extends org.aspectj.testing.XMLBasedAjcTestCase {
     runTest("Introduced abstract method on interface not implemented by subtype (aspectpath)");
   }
 
-  public void test022(){
-    runTest("weaving from an aspectpath jar into that same jar..");
-  }
-
 }
 
index 9be3b32d3b8009265c71b3fbb79b5be67d2cfaf9..bb5bd265ff6c0f4b5cc9aba18f3836da565cecd3 100644 (file)
                         aspectpath="interface/jars/AandB.jar" />
         <run class="C"/>
     </ajc-test>
-       
-        <ajc-test dir="bugs"  pr="43714"
-       title="weaving from an aspectpath jar into that same jar.."  >
-        <compile files="WeaveLocal.java" aspectpath="notAJar.jar" outjar="notAJar.jar" >               
-        </compile>
-    </ajc-test>