public class OptimizedFlywayTestExecutionListener
extends java.lang.Object
implements org.springframework.test.context.TestExecutionListener, org.springframework.core.Ordered
| Constructor and Description |
|---|
OptimizedFlywayTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestClass(org.springframework.test.context.TestContext testContext) |
void |
afterTestExecution(org.springframework.test.context.TestContext testContext) |
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestClass(org.springframework.test.context.TestContext testContext) |
void |
beforeTestExecution(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
int |
getOrder() |
static void |
optimizedLocationsMigrationHandling(org.flywaydb.test.annotation.FlywayTest annotation,
org.flywaydb.core.Flyway flyway,
java.lang.String executionInfo) |
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext) |
public OptimizedFlywayTestExecutionListener()
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void beforeTestClass(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
beforeTestClass in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void prepareTestInstance(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
prepareTestInstance in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void beforeTestMethod(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
beforeTestMethod in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void beforeTestExecution(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
beforeTestExecution in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void afterTestExecution(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
afterTestExecution in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void afterTestMethod(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
afterTestMethod in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic void afterTestClass(org.springframework.test.context.TestContext testContext)
throws java.lang.Exception
afterTestClass in interface org.springframework.test.context.TestExecutionListenerjava.lang.Exceptionpublic static void optimizedLocationsMigrationHandling(org.flywaydb.test.annotation.FlywayTest annotation,
org.flywaydb.core.Flyway flyway,
java.lang.String executionInfo)