package junittest;
import junit.framework.*;
import data.*;
import java.util.*;
public class TestCart extends TestCase {
private Cart cart = null;
protected void setUp() throws Exception {
super.setUp();
/**@todo verify the constructors*/
cart = new Cart();
}
protected void tearDown() throws Exception {
cart = null;
super.tearDown();
}
public void testAddGoods() {
Hashtable goods = null;
cart.addGoods(goods);
/**@todo fill in the test code*/
}
public void testDecodeGoodsStr() {
String goodStr = null;
String[] expectedReturn = null;
String[] actualReturn = cart.decodeGoodsStr(goodStr);
assertEquals("return value", expectedReturn, actualReturn);
/**@todo fill in the test code*/
}
public void testGetCustomer() {
String expectedReturn = null;
String actualReturn = cart.getCustomer();
assertEquals("return value", expectedReturn, actualReturn);
/**@todo fill in the test code*/
}
public void testGetGoods() {
Hashtable expectedReturn = null;
Hashtable actualReturn = cart.getGoods();
assertEquals("return value", expectedReturn, actualReturn);
/**@todo fill in the test code*/
}
public void testGetGoodsobjs() {
Object[][] expectedReturn = null;
Object[][] actualReturn = cart.getGoodsobjs();
assertEquals("return value", expectedReturn, actualReturn);
/**@todo fill in the test code*/
}
public void testRemoveGoods() {
Collection goodsId = null;
cart.removeGoods(goodsId);
/**@todo fill in the test code*/
}
public void testSetCustomer() {
String customer = null;
cart.setCustomer(customer);
/**@todo fill in the test code*/
}
public void testUpdateGoods() {
Hashtable goods = null;
cart.updateGoods(goods);
/**@todo fill in the test code*/
}
}