<run class="Main"/>
</ajc-test>
+
+ <!-- Expect two warnings when compiling -1.3 -->
<ajc-test dir="harness"
- title="pass 2 compound warning">
- <compile files="CompoundMessage.java">
+ title="pass 2 compound warning -1.3">
+ <compile files="CompoundMessage.java" options="-1.3">
<message kind="warning" line="6">
<source line="14" file="CompoundMessage.java"/>
</message>
</message>
</compile>
</ajc-test>
-
+
+ <!-- Expect no warnings when compiling -1.4 -->
<ajc-test dir="harness"
+ title="pass 2 compound warning -1.4">
+ <compile files="CompoundMessage.java" options="-1.4"/>
+ </ajc-test>
+
+ <!-- Actual errors on lines 5,6 are: 'Type mismatch: cannot convert from Integer to int'-->
+ <!--ajc-test dir="harness"
title="fail 2 error, but expecting more details">
<compile files="ErrorTest.java">
<message kind="error" line="5" details="expecting more"/>
<message kind="error" line="6" details="details"/>
</compile>
- </ajc-test>
+ </ajc-test-->
</suite>