public class CassandraUnitDependencyInjectionIntegrationTestExecutionListener extends AbstractCassandraUnitTestExecutionListener
TestExecutionListener differs from CassandraUnitDependencyInjectionTestExecutionListener
because the database is started and loaded only once, before Spring dependency injection (not after each test method).| Constructor and Description |
|---|
CassandraUnitDependencyInjectionIntegrationTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestClass(org.springframework.test.context.TestContext testContext) |
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestClass(org.springframework.test.context.TestContext testContext) |
alternativePath, cleanServer, getOrder, startServerpublic CassandraUnitDependencyInjectionIntegrationTestExecutionListener()
public void beforeTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
beforeTestClass in interface org.springframework.test.context.TestExecutionListenerbeforeTestClass in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void afterTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
afterTestMethod in interface org.springframework.test.context.TestExecutionListenerafterTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void afterTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
afterTestClass in interface org.springframework.test.context.TestExecutionListenerafterTestClass in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionCopyright © 2022. All rights reserved.