workinstructionservicetest.java
来自「工厂版本管理系统,STRUTS2框架,用于管理商品的版本,便于有效的控制版本」· Java 代码 · 共 28 行
JAVA
28 行
package com.utstar.fcs.service;
import java.util.List;
import junit.framework.TestCase;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.bluesky.util.ApplicationContextUtil;
import com.utstar.fcs.domain.workinstruction.WorkInstruction;
public class WorkInstructionServiceTest extends TestCase{
private Log log = LogFactory.getLog(this.getClass());
private IWorkInstructionService workInstructionService;
public void setUp() {
workInstructionService = (IWorkInstructionService) ApplicationContextUtil
.getFactory().getBean("workInstructionService");
}
public void testFind(){
WorkInstruction wi = workInstructionService.getWorkInstructionByPartNumber("12345678901");
assertNotNull(wi);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?