📄 testlistener.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 + -