|
|
|
|
@ -20,8 +20,8 @@ import org.junit.After;
@@ -20,8 +20,8 @@ import org.junit.After;
|
|
|
|
|
import org.junit.Test; |
|
|
|
|
import org.junit.runner.RunWith; |
|
|
|
|
|
|
|
|
|
import org.springframework.boot.testutil.ClassPathExclusions; |
|
|
|
|
import org.springframework.boot.testutil.FilteredClassPathRunner; |
|
|
|
|
import org.springframework.boot.junit.runner.classpath.ClassPathExclusions; |
|
|
|
|
import org.springframework.boot.junit.runner.classpath.ModifiedClassPathRunner; |
|
|
|
|
import org.springframework.cache.caffeine.CaffeineCacheManager; |
|
|
|
|
import org.springframework.context.annotation.AnnotationConfigApplicationContext; |
|
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
|
@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
* @author Stephane Nicoll |
|
|
|
|
* @author Andy Wilkinson |
|
|
|
|
*/ |
|
|
|
|
@RunWith(FilteredClassPathRunner.class) |
|
|
|
|
@RunWith(ModifiedClassPathRunner.class) |
|
|
|
|
@ClassPathExclusions("spring-context-support-*.jar") |
|
|
|
|
public class ConditionalOnMissingBeanWithFilteredClasspathTests { |
|
|
|
|
|
|
|
|
|
|