|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.jetspeed.components.test.AbstractSpringTestCase
public abstract class AbstractSpringTestCase
AbstractSpringTestCase
Field Summary | |
---|---|
protected org.springframework.context.support.ClassPathXmlApplicationContext |
ctx
Provides access to the Spring ApplicationContext. |
Constructor Summary | |
---|---|
AbstractSpringTestCase()
|
Method Summary | |
---|---|
protected String[] |
getBootConfigurations()
optional specification of boot spring configurations |
protected abstract String[] |
getConfigurations()
required specification of spring configurations |
protected Properties |
getPostProcessProperties()
|
protected void |
setUp()
setup Spring context as part of test setup |
protected void |
tearDown()
close Spring context as part of test teardown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.springframework.context.support.ClassPathXmlApplicationContext ctx
Constructor Detail |
---|
public AbstractSpringTestCase()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected abstract String[] getConfigurations()
protected String[] getBootConfigurations()
protected Properties getPostProcessProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |