aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcHarnessTests.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ajcHarnessTests.xml')
-rw-r--r--tests/ajcHarnessTests.xml37
1 files changed, 12 insertions, 25 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml
index 4a031b682..91ed0bd34 100644
--- a/tests/ajcHarnessTests.xml
+++ b/tests/ajcHarnessTests.xml
@@ -180,10 +180,10 @@
keywords="purejava">
<compile classpath="classesDir,jars/required.jar"
files="Main.java"
- outjar="main.zip" options="-1.4"/>
+ outjar="main.zip" options="-1.8"/>
<compile classpath="classesDir,jars/required.jar"
aspectpath="jars/requiredAspects.jar,jars/AspectMain.jar"
- files="main.zip" options="-1.4"/>
+ files="main.zip" options="-1.8"/>
<run class="Main"/>
</ajc-test>
@@ -287,7 +287,8 @@
<compile files="app/Main.java" includeClassesDir="true"/>
<run class="app.Main"/>
</ajc-test>
-
+
+<!--
<ajc-test dir="harness/systemExit"
title="pass System exit 0">
<compile files="SystemExit.java"/>
@@ -306,31 +307,17 @@
<compile files="SystemExit.java"/>
<run class="SystemExit" options="-1"/>
</ajc-test>
-
+-->
<ajc-test dir="harness/inpath"
title="pass test inpath option - valid">
<compile files="input-path-classes" sourceroots="aspectsrc"/>
<run class="Main"/>
</ajc-test>
-
- <ajc-test dir="harness"
- comment="Expect two warnings when compiling -1.3"
- 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 kind="warning" line="6">
- <source line="12" file="CompoundMessage.java"/>
- </message>
- </compile>
- </ajc-test>
-
<ajc-test dir="harness"
- comment="Expect no warnings when compiling -1.4"
- title="pass 2 compound warning -1.4">
- <compile files="CompoundMessage.java" options="-1.4"/>
+ comment="Expect no warnings when compiling -1.8"
+ title="pass 2 compound warning -1.8">
+ <compile files="CompoundMessage.java" options="-1.8"/>
</ajc-test>
<ajc-test dir="harness/xlintfile"
@@ -608,15 +595,15 @@
<ajc-test dir="harness/aspectpath"
title="pass ltw-jarAspectpath">
- <compile files="A.java" outjar="out.jar" options="-1.4"/>
- <compile files="Main.java" options="-1.4"/>
+ <compile files="A.java" outjar="out.jar" options="-1.8"/>
+ <compile files="Main.java" options="-1.8"/>
<run class="Main" aspectpath="out.jar"/>
</ajc-test>
<ajc-test dir="harness/aspectpath"
title="pass ltw-jarAspectpath-jarClasspath">
- <compile files="A.java" outjar="out.jar" options="-1.4"/>
- <compile files="Main.java" outjar="cl.zip" options="-1.4"/>
+ <compile files="A.java" outjar="out.jar" options="-1.8"/>
+ <compile files="Main.java" outjar="cl.zip" options="-1.8"/>
<run class="Main" aspectpath="out.jar" classpath="cl.zip"/>
</ajc-test>