⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testlistener.java

📁 MoMEUnit是一个单元测试的J2ME的应用程序xUnit架构实例。这是来自JUnit框架
💻 JAVA
字号:
package momeunit.framework;/** * A Listener for test progress *  * @author Sergio Morozov * @version 1.1.2 */public interface TestListener{  /**   * Informs this listener that an error has occurred.   *    * @param test   *          test that threw an exception.   * @param t   *          Throwable thrown while executing test.   * @since 1.0   */  public void addError(Test test, Throwable t);  /**   * Informs this listener that a failure has occurred.   *    * @param test   *          test that failed.   * @param t   *          {@link AssertionFailedError} that describes failure.   * @since 1.0   */  public void addFailure(Test test, AssertionFailedError t);  /**   * Informs this listener about the end of test.   *    * @param test   *          ended test.   * @since 1.0   */  public void endTest(Test test);  /**   * Informs this listener that a test has started.   *    * @param test   *          started test.   * @since 1.0   */  public void startTest(Test test);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -