testlogin.java~6~
来自「里面所含源码是本人平时做程序的一些实例」· JAVA~6~ 代码 · 共 43 行
JAVA~6~
43 行
package loginInterface;
import junit.framework.*;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2008</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class TestLogin extends TestCase {
private Login login = null;
public TestLogin(String name) {
super(name);
}
protected void setUp() throws Exception {
super.setUp();
/**@todo verify the constructors*/
login = new Login("", "", 0);
}
protected void tearDown() throws Exception {
login = null;
super.tearDown();
}
public void testCheckLogin() {
String expectedReturn = null;
String actualReturn = login.checkLogin();
assertEquals("return value", expectedReturn, actualReturn);
/**@todo fill in the test code*/
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?