Class DefaultStoreLocatorFacadeTest
- java.lang.Object
-
- de.hybris.platform.commercefacades.storelocator.impl.DefaultStoreLocatorFacadeTest
-
@UnitTest public class DefaultStoreLocatorFacadeTest extends java.lang.Object
Test suite forDefaultStoreLocatorFacade
-
-
Constructor Summary
Constructors Constructor Description DefaultStoreLocatorFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetLocationsForQuery()voidtestGetNullLocationsForNullTerm()voidtestGetPosForLocation()voidtestGetPosForName()voidtestGetPosForNameForNonExistingName()voidtestThreeBaseStoresMiddleOneHasNoLocation()This test checks 3 things(!!)voidtestThrowGetLocationsForQuery()voidtestTwoBaseStores()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGetNullLocationsForNullTerm
public void testGetNullLocationsForNullTerm() throws MapServiceException- Throws:
MapServiceException
-
testGetLocationsForQuery
public void testGetLocationsForQuery() throws MapServiceException- Throws:
MapServiceException
-
testThrowGetLocationsForQuery
public void testThrowGetLocationsForQuery() throws MapServiceException- Throws:
MapServiceException
-
testGetPosForNameForNonExistingName
public void testGetPosForNameForNonExistingName() throws LocationServiceException- Throws:
LocationServiceException
-
testGetPosForName
public void testGetPosForName() throws LocationServiceException- Throws:
LocationServiceException
-
testGetPosForLocation
public void testGetPosForLocation()
-
testThreeBaseStoresMiddleOneHasNoLocation
public void testThreeBaseStoresMiddleOneHasNoLocation() throws MapServiceException, LocationInstantiationExceptionThis test checks 3 things(!!)- is the locations list concatenated - even when for one store there is an exception thrown
- is the limit of locations respected
- is the order of that locations respected *
-
testTwoBaseStores
public void testTwoBaseStores() throws MapServiceException, LocationInstantiationException
-
-