📄 40e9c3dac6a6001c1f5ac0f6a46852af
字号:
package example;
import junit.framework.TestCase;
public class Example2Test extends TestCase {
Example2 e2=null;
public Example2Test(String name) {
super(name);
}
protected void setUp() throws Exception {
super.setUp();
e2=new Example2();
}
protected void tearDown() throws Exception {
super.tearDown();
e2=null;
}
public void testGetName() {
assertEquals("liuwei", e2.getName());
}
public void testGetAge() {
fail("Not yet implemented");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -