Class DefaultStoreFinderServiceTest
- java.lang.Object
-
- de.hybris.platform.commerceservices.storefinder.impl.DefaultStoreFinderServiceTest
-
@UnitTest public class DefaultStoreFinderServiceTest extends java.lang.Object
Test suite forDefaultStoreFinderService
-
-
Constructor Summary
Constructors Constructor Description DefaultStoreFinderServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PointOfServiceModelcreatePos(double lat, double lon)voidprepare()protected PageableDatapreparePageMetaData(int start, int size)voidtestCalculateBoundsMixed()voidtestCalculateBoundsMixedCenterOutSideBounds()voidtestCalculateBoundsNegative()voidtestCalculateBoundsNegativeCenterOutSide()voidtestCalculateBoundsPositive()voidtestCalculateBoundsSendai()voidtestGetAllPosForCountrySuccess()voidtestGetAllPosForRegionSuccess()voidtestRangedSearchWhenPageSizeGreaterThanPointOfService()voidtestRangedSearchWhenPageSizeLessThanPointOfService()voidtestRangedSearchWhenPageSizeStartExceedsSizeThanPointOfService()
-
-
-
Method Detail
-
prepare
public void prepare()
-
testCalculateBoundsPositive
public void testCalculateBoundsPositive()
-
testCalculateBoundsNegative
public void testCalculateBoundsNegative()
-
testCalculateBoundsNegativeCenterOutSide
public void testCalculateBoundsNegativeCenterOutSide()
-
testCalculateBoundsMixed
public void testCalculateBoundsMixed()
-
testCalculateBoundsMixedCenterOutSideBounds
public void testCalculateBoundsMixedCenterOutSideBounds()
-
testCalculateBoundsSendai
public void testCalculateBoundsSendai()
-
testRangedSearchWhenPageSizeGreaterThanPointOfService
public void testRangedSearchWhenPageSizeGreaterThanPointOfService()
-
testRangedSearchWhenPageSizeLessThanPointOfService
public void testRangedSearchWhenPageSizeLessThanPointOfService()
-
testRangedSearchWhenPageSizeStartExceedsSizeThanPointOfService
public void testRangedSearchWhenPageSizeStartExceedsSizeThanPointOfService()
-
testGetAllPosForCountrySuccess
public void testGetAllPosForCountrySuccess()
-
testGetAllPosForRegionSuccess
public void testGetAllPosForRegionSuccess()
-
createPos
protected PointOfServiceModel createPos(double lat, double lon)
-
preparePageMetaData
protected PageableData preparePageMetaData(int start, int size)
-
-