| Constructor and Description |
|---|
DefaultTestRegionResolverTest() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultCacheRegionResolver |
createDefaultCacheRegionResolver(List<CacheRegion> regions) |
void |
testMultipleAllTypesRegions() |
void |
testRegionsMixed()
One region can handle both specific types and "all other types" via use of CacheController.ALL_TYPES_REGION_TYPE
type.
|
void |
testSingleRegionForAllTypeCodes()
When there's a single region with type=CacheController.ALL_TYPES_REGION_TYPE, it should be selected for any key
even when no region name is provided.
|
void |
testSingleRegionForSpecificTypeCodes()
When there is more than one region, but a type is mapped only to one region, the region should be selected for a
key of the type even when no region name is provided.
|
protected DefaultCacheRegionResolver createDefaultCacheRegionResolver(List<CacheRegion> regions)
public void testSingleRegionForAllTypeCodes()
public void testSingleRegionForSpecificTypeCodes()
public void testRegionsMixed()
public void testMultipleAllTypesRegions()
Copyright © 2017 SAP SE. All Rights Reserved.