📄 testcartview.java~1~
字号:
package cactustest;
import org.apache.cactus.*;
import cartservlet.*;
import javax.servlet.*;
import java.io.*;
import javax.servlet.http.*;
public class TestCartView extends ServletTestCase {
private CartView cartView = null;
public TestCartView(String name) {
super(name);
}
protected void setUp() throws Exception {
super.setUp();
/**@todo verify the constructors*/
cartView = new CartView();
}
protected void tearDown() throws Exception {
cartView = null;
super.tearDown();
}
public void testDoPost() throws ServletException, IOException {
HttpServletRequest request = null;
HttpServletResponse response = null;
cartView.doPost(request, response);
/**@todo fill in the test code*/
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -