aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcHarnessTests.xml
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-02 09:15:41 +0000
committeraclement <aclement>2004-03-02 09:15:41 +0000
commit5e870cf13b87452e0a79a737706e59c8323722cb (patch)
treecc98cb1a2a060b1e7e5d48cad3f4b6b1450fe22a /tests/ajcHarnessTests.xml
parent2d04b60e65247c2ab865549610e2a81d3293b73c (diff)
downloadaspectj-5e870cf13b87452e0a79a737706e59c8323722cb.tar.gz
aspectj-5e870cf13b87452e0a79a737706e59c8323722cb.zip
Fixing last test failures - per Georges suggestions.
Diffstat (limited to 'tests/ajcHarnessTests.xml')
-rw-r--r--tests/ajcHarnessTests.xml17
1 files changed, 13 insertions, 4 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml
index 88385aa80..98c6f0e88 100644
--- a/tests/ajcHarnessTests.xml
+++ b/tests/ajcHarnessTests.xml
@@ -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>