SGF-602 - Rename @EnableIndexes to @EnableIndexing.

This commit is contained in:
John Blum
2017-03-10 11:18:08 -08:00
parent 007cd25608
commit cd92d4b373
4 changed files with 36 additions and 36 deletions

View File

@@ -60,16 +60,16 @@ import org.springframework.data.gemfire.config.annotation.test.entities.NonEntit
import org.springframework.data.gemfire.config.annotation.test.entities.ReplicateRegionEntity;
/**
* Unit tests for the {@link EnableIndexes} and {@link IndexConfiguration} class.
* Unit tests for the {@link EnableIndexing} and {@link IndexConfiguration} class.
*
* @author John Blum
* @see org.junit.Test
* @see org.mockito.Mockito
* @see org.springframework.data.gemfire.config.annotation.EnableIndexes
* @see EnableIndexing
* @see org.springframework.data.gemfire.config.annotation.IndexConfiguration
* @since 1.9.0
*/
public class EnableIndexesConfigurationUnitTests {
public class EnableIndexingConfigurationUnitTests {
private static final Set<Index> indexes = new HashSet<>();
@@ -281,7 +281,7 @@ public class EnableIndexesConfigurationUnitTests {
}
}
@EnableIndexes
@EnableIndexing
@EnableEntityDefinedRegions(basePackageClasses = NonEntity.class,
excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = {
ClientRegionEntity.class, CollocatedPartitionRegionEntity.class, GenericRegionEntity.class,
@@ -298,7 +298,7 @@ public class EnableIndexesConfigurationUnitTests {
}
@EnableIndexes
@EnableIndexing
@EnableEntityDefinedRegions(basePackageClasses = NonEntity.class,
excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = {
ClientRegionEntity.class, CollocatedPartitionRegionEntity.class, GenericRegionEntity.class,
@@ -320,7 +320,7 @@ public class EnableIndexesConfigurationUnitTests {
}
}
@EnableIndexes
@EnableIndexing
@EnableEntityDefinedRegions(basePackageClasses = NonEntity.class,
excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = {
ClientRegionEntity.class, CollocatedPartitionRegionEntity.class, GenericRegionEntity.class,

View File

@@ -222,7 +222,7 @@ public class SpringUtilsUnitTests {
@Test
public void safeGetValueReturnsNull() {
assertThat(SpringUtils.<Object>safeGetValue(() -> { throw new RuntimeException("error"); }))
assertThat(SpringUtils.<Object>safeGetValue(() -> { throw new RuntimeException("error"); }, "test"))
.isEqualTo("test");
}
}