Closes gh-14149
This commit is contained in:
Johnny Lim
2018-08-21 00:51:26 +09:00
committed by Stephane Nicoll
parent 84901fa58e
commit c95b339f02
15 changed files with 19 additions and 19 deletions

View File

@@ -71,7 +71,7 @@ public class JpaRepositoriesAutoConfiguration {
@Bean
@Conditional(BootstrapExecutorCondition.class)
public EntityManagerFactoryBuilderCustomizer entityManagerFactoryBoostrapExecutorCustomizer(
public EntityManagerFactoryBuilderCustomizer entityManagerFactoryBootstrapExecutorCustomizer(
ObjectProvider<AsyncTaskExecutor> taskExecutor) {
return (builder) -> builder.setBootstrapExecutor(taskExecutor.getIfAvailable());
}

View File

@@ -87,7 +87,7 @@ public class JpaRepositoriesAutoConfigurationTests {
}
@Test
public void whenBootstrappingModeIsLazyBoostrapExecutorIsConfigured() {
public void whenBootstrappingModeIsLazyBootstrapExecutorIsConfigured() {
this.contextRunner.withUserConfiguration(TestConfiguration.class)
.withPropertyValues("spring.data.jpa.repositories.bootstrap-mode=lazy")
.run((context) -> assertThat(
@@ -96,7 +96,7 @@ public class JpaRepositoriesAutoConfigurationTests {
}
@Test
public void whenBootstrappingModeIsDeferredBoostrapExecutorIsConfigured() {
public void whenBootstrappingModeIsDeferredBootstrapExecutorIsConfigured() {
this.contextRunner.withUserConfiguration(TestConfiguration.class)
.withPropertyValues(
"spring.data.jpa.repositories.bootstrap-mode=deferred")
@@ -106,7 +106,7 @@ public class JpaRepositoriesAutoConfigurationTests {
}
@Test
public void whenBootstrappingModeIsDefaultBoostrapExecutorIsNotConfigured() {
public void whenBootstrappingModeIsDefaultBootstrapExecutorIsNotConfigured() {
this.contextRunner.withUserConfiguration(TestConfiguration.class)
.withPropertyValues("spring.data.jpa.repositories.bootstrap-mode=default")
.run((context) -> assertThat(

View File

@@ -54,7 +54,7 @@ public class TaskSchedulingAutoConfigurationTests {
}
@Test
public void enableSchedulingWithNoTakExecutorAutoConfiguresOne() {
public void enableSchedulingWithNoTaskExecutorAutoConfiguresOne() {
this.contextRunner
.withPropertyValues(
"spring.task.scheduling.thread-name-prefix=scheduling-test-")
@@ -68,7 +68,7 @@ public class TaskSchedulingAutoConfigurationTests {
}
@Test
public void enableSchedulingWithNoTakExecutorAppliesCustomizers() {
public void enableSchedulingWithNoTaskExecutorAppliesCustomizers() {
this.contextRunner
.withPropertyValues(
"spring.task.scheduling.thread-name-prefix=scheduling-test-")
@@ -84,7 +84,7 @@ public class TaskSchedulingAutoConfigurationTests {
}
@Test
public void enableSchedulingWithExistingTakSchedulerBacksOff() {
public void enableSchedulingWithExistingTaskSchedulerBacksOff() {
this.contextRunner.withUserConfiguration(SchedulingConfiguration.class,
TaskSchedulerConfiguration.class).run((context) -> {
assertThat(context).hasSingleBean(TaskScheduler.class);