]> source.dussan.org Git - aspectj.git/commitdiff
Fix test on J14
authorAndy Clement <aclement@pivotal.io>
Sat, 15 Aug 2020 14:56:48 +0000 (07:56 -0700)
committerAndy Clement <aclement@pivotal.io>
Sat, 15 Aug 2020 14:56:48 +0000 (07:56 -0700)
tests/src/test/java/org/aspectj/systemtest/ajc151/SerialVersionUIDTests.java
tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml

index 4558a4c395cf261a6e48660181171e5e487d0a59..a8200876cc504be7c08ebd9a7c96e9f5d96d0097 100644 (file)
@@ -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");
+       }
+
 }
index 936ec50d3ba30b5715a15ea47debebb9f4b33cac..5565e91b7dee6ec9febd4ad9e8357c8410334b86 100644 (file)
                        <line text="Hello World!" />
                </stdout>
                <stderr>
+               <line text="Archived non-system classes are disabled" vm="14+"/>
                        <line text="TraceFactory.instance=" />
                </stderr>
        </ant>