Rename listener to CommonCachesTestExecutionListener
See gh-30954
This commit is contained in:
@@ -21,8 +21,8 @@ import org.springframework.context.support.AbstractApplicationContext;
|
||||
import org.springframework.test.context.TestContext;
|
||||
|
||||
/**
|
||||
* {@code TestExecutionListener} which makes sure that caches are cleared once
|
||||
* they are no longer required.
|
||||
* {@code TestExecutionListener} which makes sure that common caches are cleared
|
||||
* once they are no longer required.
|
||||
*
|
||||
* <p>Clears the resource caches of the {@link ApplicationContext} since they are
|
||||
* only required during the bean initialization phase. Runs after
|
||||
@@ -33,7 +33,7 @@ import org.springframework.test.context.TestContext;
|
||||
* @author Stephane Nicoll
|
||||
* @since 6.2
|
||||
*/
|
||||
public class CommonCacheTestExecutionListener extends AbstractTestExecutionListener {
|
||||
public class CommonCachesTestExecutionListener extends AbstractTestExecutionListener {
|
||||
|
||||
/**
|
||||
* Returns {@code 3005}.
|
||||
@@ -8,7 +8,7 @@ org.springframework.test.context.TestExecutionListener = \
|
||||
org.springframework.test.context.support.DependencyInjectionTestExecutionListener,\
|
||||
org.springframework.test.context.observation.MicrometerObservationRegistryTestExecutionListener,\
|
||||
org.springframework.test.context.support.DirtiesContextTestExecutionListener,\
|
||||
org.springframework.test.context.support.CommonCacheTestExecutionListener,\
|
||||
org.springframework.test.context.support.CommonCachesTestExecutionListener,\
|
||||
org.springframework.test.context.transaction.TransactionalTestExecutionListener,\
|
||||
org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener,\
|
||||
org.springframework.test.context.event.EventPublishingTestExecutionListener,\
|
||||
|
||||
Reference in New Issue
Block a user