📄 storeservicetest.java
字号:
package com.doone.fj1w.fjmgr.netstore;
import java.util.HashMap;
import com.doone.wskfmgr.business.netstore.service.StoreService;
import junit.framework.TestCase;
public class StoreServiceTest extends TestCase {
private StoreService service = null;
protected void setUp() throws Exception {
super.setUp();
service = new StoreService();
}
protected void tearDown() throws Exception {
super.tearDown();
service = null;
}
public void testGetConditionCount() {
try {
// service.getConditionCount(null, null, null);
} catch (Exception ex) {
ex.printStackTrace();
}
}
public void testGetConditionResult() {
try {
// HashMap hashMap = new HashMap();
//hashMap.put("STORETYPE","1");
// System.out.println(service.getConditionResult(null, null, hashMap));
} catch (Exception ex) {
ex.printStackTrace();
}
}
public void testGetContextResult() {
try {
HashMap hashMap = new HashMap();
//hashMap.put("STORETYPE","1");
hashMap.put("pageSize","5");
hashMap.put("currentPage","1");
System.out.println(service.getContextResult(null, null, hashMap));
} catch (Exception ex) {
ex.printStackTrace();
}
}
public void testGetContextCount() {
fail("Not yet implemented");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -