]> source.dussan.org Git - aspectj.git/commitdiff
AspectJ6: removed expected errors when -1.6 supplied :)
authoraclement <aclement>
Wed, 16 Jan 2008 23:57:52 +0000 (23:57 +0000)
committeraclement <aclement>
Wed, 16 Jan 2008 23:57:52 +0000 (23:57 +0000)
tests/src/org/aspectj/systemtest/ajc153/ajc153.xml

index 64bda516121991aeafcd4d47fa7b094029cbc142..c0645c09eeca2f1e7a93be2ac7884b92a88ac1db 100644 (file)
     </ajc-test> 
 
    <ajc-test dir="bugs153/pr164384" title="compliance java 6 throws usage error">
-      <compile files="MainClass.java" options="-1.6">
+      <compile files="MainClass.java,Hello.java,MyAnnotation.java" options="-1.6">
+         <!--        
                <message kind="error" text="-1.6"/>
                <message kind="error" text="no sources specified"/>
                <message kind="abort" text="AspectJ Compiler"/>
+         -->
          </compile>
     </ajc-test>
 
    <ajc-test dir="bugs153/pr164384" title="source level java 6 throws usage error">
-      <compile files="MainClass.java" options="-1.6">
-               <message kind="error" text="-1.6"/>
+      <compile files="MainClass.java,Hello.java,MyAnnotation.java" options="-1.6">
+         <!-- 
+           <message kind="error" text="-1.6"/>
                <message kind="error" text="no sources specified"/>
                <message kind="abort" text="AspectJ Compiler"/>
-         </compile>
+         -->
+         </compile>      
     </ajc-test>
 
    <ajc-test dir="bugs153/pr164384" title="target level java 6 throws usage error">
-      <compile files="MainClass.java" options="-1.6">
+      <compile files="MainClass.java,Hello.java,MyAnnotation.java" options="-1.6">
+         <!-- 
                <message kind="error" text="-1.6"/>
                <message kind="error" text="no sources specified"/>
                <message kind="abort" text="AspectJ Compiler"/>
+         -->
          </compile>
     </ajc-test>