Package de.hybris.platform.storelocator
Class GeocodingTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
flexibleSearchServiceFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and AddressvoidTests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and AddressvoidTest - getMap(IGPS, radius, addresses) returns a map centered on the point given and covering the radius specified, and listing the addresses givenvoidTest - getMap(..) return a map with the route shown between the two pointsvoidTests instantiation ofLocationby means ofLocationDTOobject.voidTests instantiation ofLocationby means ofPointOfServiceModelobject.voidTest 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, setRouteServiceMethods inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
getFlexibleSearchService, getOrderForCode, getProcesses, setFlexibleSearchService, waitForProcessToEndMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
GeocodingTest
public GeocodingTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testLocationDTO
Tests instantiation ofLocationby means ofLocationDTOobject. Verifies location service operation against this location as well as proper geocoding of it's address data.- Throws:
Exception
-
testLocationModel
Tests instantiation ofLocationby means ofPointOfServiceModelobject. Verifies location service operation against this location as well as proper geocoding of it's address data.- Throws:
Exception
-
testGetMapFromManagerPOIs
Test - getMap(IGPS, radius, addresses) returns a map centered on the point given and covering the radius specified, and listing the addresses given- Throws:
Exception
-
testGetMapFromManagerRoute
Test - getMap(..) return a map with the route shown between the two points- Throws:
Exception
-
testRouteInstantiation
Test comunication with Google API - getting route between 2 point and distance info.- Throws:
Exception
-
testGetDistanceAndRoute1
Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and Address- Throws:
Exception
-
testGetDistanceAndRoute2
Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and Address- Throws:
Exception
-