diff options
author | Andy Clement <aclement@pivotal.io> | 2020-08-16 13:45:32 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2020-08-16 13:45:32 -0700 |
commit | 21c64cb9d276dceb6b85ca8ddcf1830e55d12f01 (patch) | |
tree | 6b629c060aff320a68ad94bd6d302456db41b036 /loadtime | |
parent | e0adab7d8f01c38ef2650a9f726be4ac853ee721 (diff) | |
download | aspectj-21c64cb9d276dceb6b85ca8ddcf1830e55d12f01.tar.gz aspectj-21c64cb9d276dceb6b85ca8ddcf1830e55d12f01.zip |
debug for test failure under github action
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java index 5ae1d50e3..508bc1af0 100644 --- a/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java +++ b/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2004 IBM Corporation - * 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: - * Matthew Webster initial implementation + * 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: + * Matthew Webster initial implementation * ******************************************************************/ package org.aspectj.weaver.loadtime; @@ -28,10 +28,10 @@ import junit.framework.TestCase; /** * @author websterm - * + * */ public class WeavingURLClassLoaderTest extends TestCase { - + private final static String TESTDATA_PATH = "../weaver/testdata"; private final static String ASPECTJRT = "../runtime/target/classes"; @@ -360,6 +360,7 @@ public class WeavingURLClassLoaderTest extends TestCase { // Expecting: java.lang.NoClassDefFoundError: LTWAspect String m = ex.getMessage(); if (!m.contains("java.lang.NoClassDefFoundError")) { + new RuntimeException("Unexpected problem in testIncompletePath", ex).printStackTrace(); fail("Expecting java.lang.NoClassDefFoundError but caught " + ex); } } |