org.apache.jdo.tck.util
Class BatchResultPrinter

java.lang.Object
  extended byjunit.textui.ResultPrinter
      extended byorg.apache.jdo.tck.util.BatchResultPrinter
All Implemented Interfaces:
junit.framework.TestListener

public class BatchResultPrinter
extends junit.textui.ResultPrinter

Default result printer implementation for running tests in batch mode.

Author:
Michael Bouschen

Constructor Summary
BatchResultPrinter(java.io.PrintStream writer)
           
 
Method Summary
 void addError(junit.framework.Test test, java.lang.Throwable t)
          Called in case of a test error.
 void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
          Called in case of a test failure.
 void endTest(junit.framework.Test test)
          Called when a test case is finished.
protected  void printFooter(junit.framework.TestResult result)
           
protected  void printHeader(long runTime)
           
 void startTest(junit.framework.Test test)
          Called when a test case is started.
 
Methods inherited from class junit.textui.ResultPrinter
elapsedTimeAsString, getWriter, printDefect, printDefectHeader, printDefects, printDefectTrace, printErrors, printFailures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResultPrinter

public BatchResultPrinter(java.io.PrintStream writer)
Method Detail

addError

public void addError(junit.framework.Test test,
                     java.lang.Throwable t)
Called in case of a test error.


addFailure

public void addFailure(junit.framework.Test test,
                       junit.framework.AssertionFailedError t)
Called in case of a test failure.


endTest

public void endTest(junit.framework.Test test)
Called when a test case is finished.


startTest

public void startTest(junit.framework.Test test)
Called when a test case is started.


printHeader

protected void printHeader(long runTime)

printFooter

protected void printFooter(junit.framework.TestResult result)


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.