aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2017-09-21 17:57:49 -0700
committerAndy Clement <aclement@pivotal.io>2017-09-21 17:57:49 -0700
commite136805cb6db5243307cb6579cd2cfe84f87c2e6 (patch)
treefec29e2e5768163b8139526161e0852a7f150688 /tests
parentb76f1c79df5479712c4354a02cd3a7d9803a63c8 (diff)
downloadaspectj-e136805cb6db5243307cb6579cd2cfe84f87c2e6.tar.gz
aspectj-e136805cb6db5243307cb6579cd2cfe84f87c2e6.zip
tweaks to 1.9 tests
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc190/SanityTests19.java9
-rw-r--r--tests/src/org/aspectj/systemtest/ajc190/sanity-tests-19.xml (renamed from tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml)5
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc190/SanityTests19.java b/tests/src/org/aspectj/systemtest/ajc190/SanityTests19.java
index 35696931a..9434988c1 100644
--- a/tests/src/org/aspectj/systemtest/ajc190/SanityTests19.java
+++ b/tests/src/org/aspectj/systemtest/ajc190/SanityTests19.java
@@ -72,12 +72,7 @@ public class SanityTests19 extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testVersionCorrect2() throws ClassNotFoundException {
runTest("simple - k");
- checkVersion("A", 53, 0);
- }
-
- public void testVersionCorrect3() throws ClassNotFoundException {
- runTest("simple - l");
- checkVersion("A", 53, 0);
+ checkVersion("A", 46, 0); // source 1.9, default compliance will be 1.4
}
public void testVersionCorrect4() throws ClassNotFoundException {// check it is 49.0 when -1.5 is specified
@@ -155,7 +150,7 @@ public class SanityTests19 extends org.aspectj.testing.XMLBasedAjcTestCase {
}
protected File getSpecFile() {
- return getClassResource("sanity-tests.xml");
+ return getClassResource("sanity-tests-19.xml");
}
}
diff --git a/tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml b/tests/src/org/aspectj/systemtest/ajc190/sanity-tests-19.xml
index f72350b30..6662dbb7a 100644
--- a/tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc190/sanity-tests-19.xml
@@ -64,11 +64,6 @@
<compile files="SimpleJ.java" options="-source 1.9 -target 1.9"/>
</ajc-test>
- <!-- check class file version is 49.0 -->
- <ajc-test dir="bugs160/simplejava" title="simple - m">
- <compile files="SimpleJ.java" options="-1.5"/>
- </ajc-test>
-
<ajc-test dir="bugs160/simplejava" title="simple - n">
<compile files="SimpleN.java" options="-1.9"/>
</ajc-test>