Enum Class的使用
cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
使用Sql.ExecutionPhase的程序包
程序包
说明
JDBC support classes for the TestContext Framework,
including support for declarative SQL script execution via
@Sql.-
cn.taketoday.test.context.jdbc中Sql.ExecutionPhase的使用
修饰符和类型方法说明static Sql.ExecutionPhaseReturns the enum constant of this class with the specified name.static Sql.ExecutionPhase[]Sql.ExecutionPhase.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明private voidSqlScriptsTestExecutionListener.executeClassLevelSqlScripts(TestContext testContext, Sql.ExecutionPhase executionPhase) Execute class-level SQL scripts configured via@Sqlfor the suppliedTestContextand the suppliedBEFORE_TEST_CLASSorAFTER_TEST_CLASSexecution phase.private voidSqlScriptsTestExecutionListener.executeSqlScripts(Sql sql, Sql.ExecutionPhase executionPhase, TestContext testContext, boolean classLevel) Execute the SQL scripts configured via the supplied@Sqlannotation for the givenSql.ExecutionPhaseandTestContext.private voidSqlScriptsTestExecutionListener.executeSqlScripts(TestContext testContext, Sql.ExecutionPhase executionPhase) private voidSqlScriptsTestExecutionListener.executeSqlScripts(Set<Sql> sqlAnnotations, TestContext testContext, Sql.ExecutionPhase executionPhase, boolean classLevel) Execute SQL scripts for the supplied@Sqlannotations.private static booleanSqlScriptsTestExecutionListener.isValidMethodLevelPhase(Sql.ExecutionPhase executionPhase)