程序包 org.springframework.test.context.event.annotation
Test event annotations for the Spring TestContext Framework.
注释类型概要 注释类型 说明 AfterTestClass @EventListenerannotation used to consume aAfterTestClassEventpublished by theEventPublishingTestExecutionListener.AfterTestExecution @EventListenerannotation used to consume aAfterTestExecutionEventpublished by theEventPublishingTestExecutionListener.AfterTestMethod @EventListenerannotation used to consume aAfterTestMethodEventpublished by theEventPublishingTestExecutionListener.BeforeTestClass @EventListenerannotation used to consume aBeforeTestClassEventpublished by theEventPublishingTestExecutionListener.BeforeTestExecution @EventListenerannotation used to consume aBeforeTestExecutionpublished by theEventPublishingTestExecutionListener.BeforeTestMethod @EventListenerannotation used to consume aBeforeTestMethodEventpublished by theEventPublishingTestExecutionListener.PrepareTestInstance @EventListenerannotation used to consume aPrepareTestInstanceEventpublished by theEventPublishingTestExecutionListener.