testcase.java
来自「Java mulitplayer strategy game. Adaptati」· Java 代码 · 共 43 行
JAVA
43 行
/*
* Created on 2005-09-23
* $Id: TestCase.java,v 1.1 2005/09/27 21:10:43 macx2k Exp $
*/
package net.sf.jawp.util.test;
/**
* Each test case used by {@link net.sf.jawp.util.test.PerformanceTestRunner}
* class is supposed to implement this interface.
*
* @author maciek
* @version $Revision: 1.1 $
*/
public interface TestCase
{
/**
* This method will be called before test case is executed. This method will
* be called only once and then all test method will be executed
* sequentialy.
*/
void init();
/**
* This method will be called at the end of test case execution. This method
* will be called only once per test case, after all test case methods are
* executed.
*/
void destroy();
/**
* This method is called before each test method. If this method throws an
* exception, test method won't be executed at all as well as
* {@link #after()} method.
*/
void before();
/**
* This method is called after each test method.
*
*/
void after();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?