程序包 org.springframework.test.context.event.annotation
Test event annotations for the Spring TestContext Framework.
注释类型概要 注释类型 说明 AfterTestClass @EventListener
annotation used to consume aAfterTestClassEvent
published by theEventPublishingTestExecutionListener
.AfterTestExecution @EventListener
annotation used to consume aAfterTestExecutionEvent
published by theEventPublishingTestExecutionListener
.AfterTestMethod @EventListener
annotation used to consume aAfterTestMethodEvent
published by theEventPublishingTestExecutionListener
.BeforeTestClass @EventListener
annotation used to consume aBeforeTestClassEvent
published by theEventPublishingTestExecutionListener
.BeforeTestExecution @EventListener
annotation used to consume aBeforeTestExecution
published by theEventPublishingTestExecutionListener
.BeforeTestMethod @EventListener
annotation used to consume aBeforeTestMethodEvent
published by theEventPublishingTestExecutionListener
.PrepareTestInstance @EventListener
annotation used to consume aPrepareTestInstanceEvent
published by theEventPublishingTestExecutionListener
.