From: Andy Clement Date: Fri, 22 Sep 2017 00:57:49 +0000 (-0700) Subject: tweaks to 1.9 tests X-Git-Tag: V1_9_0_RC3~2^2~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e136805cb6db5243307cb6579cd2cfe84f87c2e6;p=aspectj.git tweaks to 1.9 tests --- 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-19.xml b/tests/src/org/aspectj/systemtest/ajc190/sanity-tests-19.xml new file mode 100644 index 000000000..6662dbb7a --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc190/sanity-tests-19.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml b/tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml deleted file mode 100644 index f72350b30..000000000 --- a/tests/src/org/aspectj/systemtest/ajc190/sanity-tests.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -