public class TestDataSourceTestExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
| 构造器和说明 |
|---|
TestDataSourceTestExecutionListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterTestClass(org.springframework.test.context.TestContext testContext) |
void |
beforeTestClass(org.springframework.test.context.TestContext testContext) |
int |
getOrder() |
public void beforeTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
beforeTestClass 在接口中 org.springframework.test.context.TestExecutionListenerbeforeTestClass 在类中 org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void afterTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
afterTestClass 在接口中 org.springframework.test.context.TestExecutionListenerafterTestClass 在类中 org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic int getOrder()
getOrder 在接口中 org.springframework.core.OrderedgetOrder 在类中 org.springframework.test.context.support.AbstractTestExecutionListenerCopyright © 2017. All rights reserved.