TestListener.java :  » Testing » junit » junit » framework » Java Open Source

Java Open Source » Testing » junit 
junit » junit » framework » TestListener.java
package junit.framework;

/**
 * A Listener for test progress
 */
public interface TestListener {
  /**
    * An error occurred.
    */
  public void addError(Test test, Throwable t);
  /**
    * A failure occurred.
    */
   public void addFailure(Test test, AssertionFailedError t);  
  /**
   * A test ended.
   */
   public void endTest(Test test); 
  /**
   * A test started.
   */
  public void startTest(Test test);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.