package test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.nutz.ioc.loader.annotation.Inject;
import storepos.com.main.bean.module.CateGoryInfo;
import storepos.com.main.dao.CheckDAO;
public class CheckDAOTest {
@Inject
private CheckDAO checkDAO;
@Before
public void setUp() throws Exception {
}
@Test
public void testCheckGateGoryInfo() {
fail("Not yet implemented");
List<CateGoryInfo> b=new ArrayList<CateGoryInfo>();
b=checkDAO.checkGateGoryInfo();
for(int i=0;i<b.size();i++)
System.out.print(b.get(i).getName());
}
@Test
public void testCheckSupplierInfo() {
fail("Not yet implemented");
checkDAO.checkSupplierInfo();
}
@Test
public void testGetProductName() {
// fail("Not yet implemented");
checkDAO.getProductName(1001);
}
}
怎么会这样?