net.webapp2.util.test
Class SpringMock
java.lang.Object
net.webapp2.util.test.SpringMock
public class SpringMock
- extends Object
테스트 과정에서 Spring 컨텍스트 객체 역할 수행
- Author:
- younghoe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
DEFAULT_CONTEXT_PROPERTIES_FILE_PATH
public static final String DEFAULT_CONTEXT_PROPERTIES_FILE_PATH
- See Also:
- Constant Field Values
SpringMock
public SpringMock()
loadContext
public BeanFactory loadContext()
throws FileNotFoundException,
IOException,
PropertyDefinitionNotFoundException
- Throws:
FileNotFoundException
IOException
PropertyDefinitionNotFoundException
setContextPropertiesFilePath
public void setContextPropertiesFilePath(String contextPropertiesFilePath)
- conf/context.properties로 설정된 컨텍스트 프로퍼티 파일 경로를 변경함
- Parameters:
contextPropertiesFilePath
- 컨텍스트 프로퍼티 파일 경로