From 6d42cb250bdd315ca5f3ac7f8f3eab29c0d185c9 Mon Sep 17 00:00:00 2001 From: wisberg Date: Thu, 1 May 2003 10:21:00 +0000 Subject: [PATCH] removing 1.4 API --- ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java index c797b0489..e65edea36 100644 --- a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java +++ b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java @@ -15,6 +15,7 @@ import org.aspectj.ajde.ui.UserPreferencesAdapter; import org.aspectj.ajde.ui.internal.AjcBuildOptions; import org.aspectj.ajde.ui.internal.UserPreferencesStore; import org.aspectj.ajdt.internal.core.builder.AjBuildConfig; +import org.aspectj.util.LangUtil; import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; import java.io.File; @@ -482,9 +483,9 @@ public class BuildConfigurationTests extends AjdeTestCase { //Ajde.getDefault().enableLogging( System.out ); } catch (Throwable t) { - AssertionFailedError e = new AssertionFailedError(); - e.initCause(t); - throw e; + String s = "Unable to initialize AJDE " + + LangUtil.renderException(t); + assertTrue(s, false); } } -- 2.39.5