commit
feee401f87
|
|
@ -3788,7 +3788,7 @@ providers (in this order):
|
||||||
|
|
||||||
* <<boot-features-caching-provider-generic,Generic>>
|
* <<boot-features-caching-provider-generic,Generic>>
|
||||||
* <<boot-features-caching-provider-jcache,JCache (JSR-107)>> (EhCache 3, Hazelcast,
|
* <<boot-features-caching-provider-jcache,JCache (JSR-107)>> (EhCache 3, Hazelcast,
|
||||||
Infinspan, etc)
|
Infinispan, etc)
|
||||||
* <<boot-features-caching-provider-ehcache2,EhCache 2.x>>
|
* <<boot-features-caching-provider-ehcache2,EhCache 2.x>>
|
||||||
* <<boot-features-caching-provider-hazelcast,Hazelcast>>
|
* <<boot-features-caching-provider-hazelcast,Hazelcast>>
|
||||||
* <<boot-features-caching-provider-infinispan,Infinispan>>
|
* <<boot-features-caching-provider-infinispan,Infinispan>>
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ public class AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests {
|
||||||
private ApplicationContext context;
|
private ApplicationContext context;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testContextLoades() throws Exception {
|
public void testContextLoads() throws Exception {
|
||||||
// gh-6897
|
// gh-6897
|
||||||
assertThat(this.context).isNotNull();
|
assertThat(this.context).isNotNull();
|
||||||
assertThat(this.context.getBeanNamesForType(DataSource.class)).isNotEmpty();
|
assertThat(this.context.getBeanNamesForType(DataSource.class)).isNotEmpty();
|
||||||
|
|
|
||||||
|
|
@ -61,10 +61,10 @@ public class SpringBootTestContextBootstrapperTests {
|
||||||
BootstrapContext bootstrapContext = mock(BootstrapContext.class);
|
BootstrapContext bootstrapContext = mock(BootstrapContext.class);
|
||||||
bootstrapper.setBootstrapContext(bootstrapContext);
|
bootstrapper.setBootstrapContext(bootstrapContext);
|
||||||
given((Class) bootstrapContext.getTestClass()).willReturn(testClass);
|
given((Class) bootstrapContext.getTestClass()).willReturn(testClass);
|
||||||
CacheAwareContextLoaderDelegate contextLoaderDeleagte = mock(
|
CacheAwareContextLoaderDelegate contextLoaderDelegate = mock(
|
||||||
CacheAwareContextLoaderDelegate.class);
|
CacheAwareContextLoaderDelegate.class);
|
||||||
given(bootstrapContext.getCacheAwareContextLoaderDelegate())
|
given(bootstrapContext.getCacheAwareContextLoaderDelegate())
|
||||||
.willReturn(contextLoaderDeleagte);
|
.willReturn(contextLoaderDelegate);
|
||||||
bootstrapper.buildTestContext();
|
bootstrapper.buildTestContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||||
private File classesDirectory;
|
private File classesDirectory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flag to indicate if the run processes should be forked. {@code fork } is
|
* Flag to indicate if the run processes should be forked. {@code fork} is
|
||||||
* automatically enabled if an agent or jvmArguments are specified, or if devtools is
|
* automatically enabled if an agent or jvmArguments are specified, or if devtools is
|
||||||
* present.
|
* present.
|
||||||
* @since 1.2
|
* @since 1.2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue