mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
6fd50d7d17
Spring Framework 5.2 introduced an EventPublishingTestExecutionListener in the Spring TestContext Framework. This listener is automatically registered via the spring.factories mechanism; however, this listener is not registered in the abstract JUnit 4 and TestNG base classes. This commit addresses this oversight by explicitly registering the EventPublishingTestExecutionListener in the following classes. - AbstractJUnit4SpringContextTests - AbstractTransactionalJUnit4SpringContextTests - AbstractTestNGSpringContextTests - AbstractTransactionalTestNGSpringContextTests Closes gh-23748