📄 basedaotestcase.java
字号:
/*
* 创建日期 2005-6-14
*
*/
package com.ibm.sample.dao;
import junit.framework.TestCase;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
/**
* @author rayguo mail:guorui@cn.ibm.com
*
*/
public class BaseDAOTestCase extends TestCase{
protected final Log log = LogFactory.getLog(getClass());
protected final static XmlBeanFactory factory ;
static {
Resource rs1 = new ClassPathResource("applicationContext-hibernate.xml");
factory = new XmlBeanFactory(rs1);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -