]> source.dussan.org Git - aspectj.git/commitdiff
Tests for bug 65925. Already fixed !
authoraclement <aclement>
Wed, 11 Aug 2004 08:17:11 +0000 (08:17 +0000)
committeraclement <aclement>
Wed, 11 Aug 2004 08:17:11 +0000 (08:17 +0000)
tests/ajcTestsFailing.xml
tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml

index f9c1bdd553f710221fa41f84b9e5c7d0ef5bb5a0..167f12d9e47c6f04a83da8cfaf2fde22e91d9e6b 100644 (file)
         <compile files="InterfaceInitializerOrder.java"/>
         <run class="InterfaceInitializerOrder"/>
     </ajc-test>
-
-    <ajc-test 
-       dir="bugs/invalidAbsoluteTypeName" 
-       pr="65925"
-               title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName">
-        <compile files="False_InvalidAbsoluteTypeName.java">
-               <message kind="warning" line="17"/>
-        </compile>
-        <run class="False_InvalidAbsoluteTypeName"/>
-    </ajc-test>
   
    <ajc-test dir="pureJava" title="assert coverage tests [requires 1.4]"
       keywords="from-14tests,purejava">
index 7886c9eba07c3b5ded7c180dd4d9240f0a41a567..64d7937cf92367a05536439b183c3cf696ee169f 100644 (file)
@@ -153,5 +153,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
 //  public void test028_itdsAndInitializers() {
 //    runTest("resolution of IT field inits");
 //  }
+
+  public void test029_falseInvalidAbsoluteTypeName() {
+    runTest("Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName");
+  }
 }
 
index 84df3ca976916a43ae657afecb2536d77b3bcbe2..38261858eb3d5a7d5e450764322ad7d082eb94ee 100644 (file)
        </compile>
        </ajc-test>
 
-  <ajc-test dir="bugs/oxford" pr="65319"
+    <ajc-test dir="bugs/oxford" pr="65319"
                title="ajc crashes when compiling the following program (binding this() and target())">
                <compile files="PR65319.java">
                        <message kind="error" line="7" text="Cannot use target() to match at this"/>
                        <message kind="error" line="15" text="Ambiguous binding of type Test"/>
                </compile>
        </ajc-test>
+       
 <!--
         <ajc-test dir="bugs/oxford" pr="62475"
                title="resolution of IT field inits">
                        <message kind="error" line="14" />
                </compile>
        </ajc-test>
--->    
\ No newline at end of file
+-->    
+
+       <ajc-test 
+       dir="bugs/invalidAbsoluteTypeName" 
+       pr="65925"
+               title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName">
+        <compile files="False_InvalidAbsoluteTypeName.java">
+               <message kind="warning" line="17"/>
+        </compile>
+        <run class="False_InvalidAbsoluteTypeName"/>
+    </ajc-test>