Package de.hybris.platform.storelocator
Class GeocodingTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class GeocodingTest extends AbstractGeocodingTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
flexibleSearchService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description GeocodingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetDistanceAndRoute1()Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and AddressvoidtestGetDistanceAndRoute2()Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and AddressvoidtestGetMapFromManagerPOIs()Test - getMap(IGPS, radius, addresses) returns a map centered on the point given and covering the radius specified, and listing the addresses givenvoidtestGetMapFromManagerRoute()Test - getMap(..) return a map with the route shown between the two pointsvoidtestLocationDTO()Tests instantiation ofLocationby means ofLocationDTOobject.voidtestLocationModel()Tests instantiation ofLocationby means ofPointOfServiceModelobject.voidtestRouteInstantiation()Test comunication with Google API - getting route between 2 point and distance info.-
Methods inherited from class de.hybris.platform.storelocator.AbstractGeocodingTest
createAndStoreTestLocation, createTestCronJob, createTestCronJob, createTestLocation, createTestPosEntries, getCommonI18NService, getCronJobService, getGeocodeAddressesJob, getGeoServiceWrapper, getLocationService, getMapService, getModelService, getPointOfServiceDao, getRouteService, setCommonI18NService, setCronJobService, setGeocodeAddressesJob, setGeoServiceWrapper, setLocationService, setMapService, setModelService, setPointOfServiceDao, setRouteService
-
Methods inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEnd
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testLocationDTO
public void testLocationDTO() throws java.lang.ExceptionTests instantiation ofLocationby means ofLocationDTOobject. Verifies location service operation against this location as well as proper geocoding of it's address data.- Throws:
java.lang.Exception
-
testLocationModel
public void testLocationModel() throws java.lang.ExceptionTests instantiation ofLocationby means ofPointOfServiceModelobject. Verifies location service operation against this location as well as proper geocoding of it's address data.- Throws:
java.lang.Exception
-
testGetMapFromManagerPOIs
public void testGetMapFromManagerPOIs() throws java.lang.ExceptionTest - getMap(IGPS, radius, addresses) returns a map centered on the point given and covering the radius specified, and listing the addresses given- Throws:
java.lang.Exception
-
testGetMapFromManagerRoute
public void testGetMapFromManagerRoute() throws java.lang.ExceptionTest - getMap(..) return a map with the route shown between the two points- Throws:
java.lang.Exception
-
testRouteInstantiation
public void testRouteInstantiation() throws java.lang.ExceptionTest comunication with Google API - getting route between 2 point and distance info.- Throws:
java.lang.Exception
-
testGetDistanceAndRoute1
public void testGetDistanceAndRoute1() throws java.lang.ExceptionTests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and Address- Throws:
java.lang.Exception
-
testGetDistanceAndRoute2
public void testGetDistanceAndRoute2() throws java.lang.ExceptionTests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and Address- Throws:
java.lang.Exception
-
-