|
|
|
|
@ -44,7 +44,7 @@ import org.springframework.boot.test.context.assertj.AssertableApplicationContex
@@ -44,7 +44,7 @@ import org.springframework.boot.test.context.assertj.AssertableApplicationContex
|
|
|
|
|
import org.springframework.boot.testsupport.classpath.ClassPathExclusions; |
|
|
|
|
import org.springframework.cache.Cache; |
|
|
|
|
import org.springframework.cache.CacheManager; |
|
|
|
|
import org.springframework.cache.annotation.CachingConfigurerSupport; |
|
|
|
|
import org.springframework.cache.annotation.CachingConfigurer; |
|
|
|
|
import org.springframework.cache.annotation.EnableCaching; |
|
|
|
|
import org.springframework.cache.caffeine.CaffeineCache; |
|
|
|
|
import org.springframework.cache.caffeine.CaffeineCacheManager; |
|
|
|
|
@ -707,7 +707,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests {
@@ -707,7 +707,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests {
|
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
|
@EnableCaching |
|
|
|
|
static class CustomCacheManagerFromSupportConfiguration extends CachingConfigurerSupport { |
|
|
|
|
static class CustomCacheManagerFromSupportConfiguration implements CachingConfigurer { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Bean |
|
|
|
|
@ -720,7 +720,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests {
@@ -720,7 +720,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests {
|
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
|
@EnableCaching |
|
|
|
|
static class CustomCacheResolverFromSupportConfiguration extends CachingConfigurerSupport { |
|
|
|
|
static class CustomCacheResolverFromSupportConfiguration implements CachingConfigurer { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Bean |
|
|
|
|
|