|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
com.consol.citrus.junit.AbstractJUnit4CitrusTest
@TestExecutionListeners(value=TestSuiteAwareExecutionListener.class)
@ContextConfiguration(locations={"classpath:com/consol/citrus/spring/root-application-ctx.xml","classpath:citrus-context.xml","classpath:com/consol/citrus/functions/citrus-function-ctx.xml","classpath:com/consol/citrus/validation/citrus-validationmatcher-ctx.xml"})
public abstract class AbstractJUnit4CitrusTestAbstract base test implementation for test cases that rather use JUnit testing framework. Class also provides test listener support and loads the root application context files for Citrus.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
log
Logger |
| Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests |
|---|
applicationContext, logger |
| Constructor Summary | |
|---|---|
AbstractJUnit4CitrusTest()
|
|
| Method Summary | |
|---|---|
void |
beforeTest()
Run tasks before each test case. |
protected TestContext |
createTestContext()
Creates a new test context. |
protected void |
executeTest()
Execute the test case. |
protected TestContext |
prepareTestContext(TestContext testContext)
Prepares the test context. |
| Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests |
|---|
setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger log
| Constructor Detail |
|---|
public AbstractJUnit4CitrusTest()
| Method Detail |
|---|
public void beforeTest()
protected void executeTest()
protected TestContext prepareTestContext(TestContext testContext)
testContext - the test context.
protected TestContext createTestContext()
Exception - on error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||