/******************************************************************************* * Copyright (c) 2005 IBM Corporation and others. * 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: * IBM Corporation - initial API and implementation *******************************************************************************/ /* * Created on Jun 5, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ package org.eclipse.cdt.core.suite; import java.io.PrintStream; import junit.framework.AssertionFailedError; import junit.framework.Test; import junit.textui.ResultPrinter; /** * @author vhirsl * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class AISResultPrinter extends ResultPrinter { /** * @param writer */ public AISResultPrinter(PrintStream writer) { super(writer); } /* (non-Javadoc) * @see junit.framework.TestListener#addFailure(junit.framework.Test, junit.framework.AssertionFailedError) */ public void addFailure(Test test, AssertionFailedError t) { super.addFailure(test, t); getWriter().print("---> "); } /* (non-Javadoc) * @see junit.framework.TestListener#addError(junit.framework.Test, java.lang.Throwable) */ public void addError(Test test, Throwable t) { super.addError(test, t); getWriter().print("---> "); } /* (non-Javadoc) * @see junit.framework.TestListener#startTest(junit.framework.Test) */ public void startTest(Test test) { getWriter().print("."); } }