|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.testing.testng.SpringTestCase
AbstractTestNGSpringContextTests
@Deprecated public abstract class SpringTestCase
Base class for running spring-based tests.
| Field Summary | |
|---|---|
protected static org.springframework.context.ApplicationContext |
ctx
Deprecated. Spring application context. |
static java.lang.String |
DEFAULT_TEST_CONTEXT_FILE
Deprecated. Default Spring context initilization file used for tests. |
protected org.slf4j.Logger |
log
Deprecated. logger. |
| Constructor Summary | |
|---|---|
SpringTestCase()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
initAppContextBeanDefinitionReader(org.springframework.beans.factory.xml.XmlBeanDefinitionReader beanDefinitionReader)
Deprecated. You can override this method if you need to pass a custom documentReaderClass to the spring bean definition reader. |
protected void |
setUpSpring()
Deprecated. Setup Spring application context, by loading the /spring-tests.xml file from the classpath. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_TEST_CONTEXT_FILE
protected static org.springframework.context.ApplicationContext ctx
protected org.slf4j.Logger log
| Constructor Detail |
|---|
public SpringTestCase()
| Method Detail |
|---|
protected void setUpSpring()
/spring-tests.xml file from the classpath.
java.lang.Exceptionprotected void initAppContextBeanDefinitionReader(org.springframework.beans.factory.xml.XmlBeanDefinitionReader beanDefinitionReader)
beanDefinitionReader - XmlBeanDefinitionReader instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||