com.sun.maven.junit
Class ProgressReporter

java.lang.Object
  extended by com.sun.maven.junit.ProgressReporter
All Implemented Interfaces:
junit.framework.TestListener

public class ProgressReporter
extends Object
implements junit.framework.TestListener

Prints a progress report in one letter per test.

Author:
Kohsuke Kawaguchi

Constructor Summary
ProgressReporter(PrintStream report)
           
 
Method Summary
 void addError(junit.framework.Test test, Throwable t)
           
 void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
           
 void endTest(junit.framework.Test test)
           
 void startTest(junit.framework.Test test)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressReporter

public ProgressReporter(PrintStream report)
Method Detail

addError

public void addError(junit.framework.Test test,
                     Throwable t)
Specified by:
addError in interface junit.framework.TestListener

addFailure

public void addFailure(junit.framework.Test test,
                       junit.framework.AssertionFailedError t)
Specified by:
addFailure in interface junit.framework.TestListener

endTest

public void endTest(junit.framework.Test test)
Specified by:
endTest in interface junit.framework.TestListener

startTest

public void startTest(junit.framework.Test test)
Specified by:
startTest in interface junit.framework.TestListener


Copyright © 2011. All Rights Reserved.