?? testsuperdbconn.java
字號:
package supertest;
import junit.framework.TestCase;
import superdb.*;
public class TestSuperDBConn extends TestCase {
public SuperDBConn sdb;
public static void main(String[] args) {
junit.textui.TestRunner.run(TestSuperDBConn.class);
}
public TestSuperDBConn(String arg0) {
super(arg0);
}
protected void setUp() throws Throwable {
super.setUp();
sdb=new SuperDBConn();
}
protected void tearDown() throws Throwable {
super.tearDown();
}
public void testgetConn()
{
this.assertNotNull("kk",sdb.getConn());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -