⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testcartview.java~1~

📁 购物车模块实例。购物车模块可以浏览商品类别;可以根据商品类别浏览商品信息;可以购买商品;可以查看购物车的商品;可以修改购买商品的数量和删除购买的商品。
💻 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 + -