📄 respondtitletest.java
字号:
/*
* RespondTitleTest.java
* JUnit based test
*
* Created on 2004年1月2日, 下午9:24
*/
package SIPTitle;
import junit.framework.*;
import java.util.*;
/**
*
* @author luhan1
*/
public class RespondTitleTest extends TestCase {
RespondTitle t;
public RespondTitleTest(String testName) {
super(testName);
}
protected void setUp() throws Exception {
t = new RespondTitle();
}
protected void tearDown() throws Exception {
t = null;
}
/**
* setString 方法的测试(属于类 SIPTitle.RespondTitle)。
*/
public void testSetString() {
System.out.println("setString:");
t.setString("sip/2.0/UDP/100 ok");
if(t.getVerify()){
System.out.println(t.getResponsdtitle());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -