diff options
author | Andy Clement <aclement@pivotal.io> | 2020-08-15 07:56:48 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2020-08-15 07:56:48 -0700 |
commit | ea517776902a0e7def31f8b38f1cfd654ba2c118 (patch) | |
tree | 3aad7a523b12e2e63d062b6d7e495e5df2552bde /tests | |
parent | 9cab74717265239e03d1aec53c5ec60a6d7d9718 (diff) | |
download | aspectj-ea517776902a0e7def31f8b38f1cfd654ba2c118.tar.gz aspectj-ea517776902a0e7def31f8b38f1cfd654ba2c118.zip |
Fix test on J14
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java | 45 | ||||
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml | 1 |
2 files changed, 28 insertions, 18 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java index 4558a4c39..a8200876c 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Andy Clement - initial implementation *******************************************************************************/ @@ -14,22 +14,31 @@ import org.aspectj.testing.XMLBasedAjcTestCase; import junit.framework.Test; - public class SerialVersionUIDTests extends XMLBasedAjcTestCase { - public void testTheBasics() { runTest("basic"); } - public void testTheBasicsWithLint() { runTest("basic - lint"); } - public void testHorrible() { runTest("horrible"); } - - public void testAbstractClass() { runTest("abstract class");} - - // - public static Test suite() { - return XMLBasedAjcTestCase.loadSuite(SerialVersionUIDTests.class); - } - - protected java.net.URL getSpecFile() { - return getClassResource("serialversionuid.xml"); - } - + public void testTheBasics() { + runTest("basic"); + } + + public void testTheBasicsWithLint() { + runTest("basic - lint"); + } + + public void testHorrible() { + runTest("horrible"); + } + + public void testAbstractClass() { + runTest("abstract class"); + } + + // + public static Test suite() { + return XMLBasedAjcTestCase.loadSuite(SerialVersionUIDTests.class); + } + + protected java.net.URL getSpecFile() { + return getClassResource("serialversionuid.xml"); + } + } diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml index 936ec50d3..5565e91b7 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml @@ -511,6 +511,7 @@ <line text="Hello World!" /> </stdout> <stderr> + <line text="Archived non-system classes are disabled" vm="14+"/> <line text="TraceFactory.instance=" /> </stderr> </ant> |