| /* |
| * 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("."); |
| } |
| |
| } |