Browse Source

Fixing last test failures - per Georges suggestions.

tags/v_preCompileLoopAlteration
aclement 20 years ago
parent
commit
5e870cf13b
1 changed files with 13 additions and 4 deletions
  1. 13
    4
      tests/ajcHarnessTests.xml

+ 13
- 4
tests/ajcHarnessTests.xml View File

@@ -292,9 +292,11 @@
<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>
@@ -303,14 +305,21 @@
</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>


Loading…
Cancel
Save