From: Andy Clement Date: Sat, 15 Aug 2020 14:56:48 +0000 (-0700) Subject: Fix test on J14 X-Git-Tag: V1_9_7M1~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea517776902a0e7def31f8b38f1cfd654ba2c118;p=aspectj.git Fix test on J14 --- 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 @@ +