@IntegrationTest public class GeocodingTest extends AbstractGeocodingTest
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
GeocodingTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetDistanceAndRoute1()
Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and Address
|
void |
testGetDistanceAndRoute2()
Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and Address
|
void |
testGetMapFromManagerPOIs()
Test - getMap(IGPS, radius, addresses) returns a map centered on the point given and covering the radius
specified, and listing the addresses given
|
void |
testGetMapFromManagerRoute()
Test - getMap(..) return a map with the route shown between the two points
|
void |
testLocationDTO()
Tests instantiation of
Location by means of LocationDTO object. |
void |
testLocationModel()
Tests instantiation of
Location by means of PointOfServiceModel object. |
void |
testRouteInstantiation()
Test comunication with Google API - getting route between 2 point and distance info.
|
createAndStoreTestLocation, createTestCronJob, createTestCronJob, createTestLocation, createTestPosEntries, getCommonI18NService, getCronJobService, getGeocodeAddressesJob, getGeoServiceWrapper, getI18nService, getLocationService, getMapService, getModelService, getPointOfServiceDao, getRouteService, setCommonI18NService, setCronJobService, setGeocodeAddressesJob, setGeoServiceWrapper, setI18nService, setLocationService, setMapService, setModelService, setPointOfServiceDao, setRouteServicegetFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEndcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testLocationDTO()
throws java.lang.Exception
Location by means of LocationDTO object. Verifies location service
operation against this location as well as proper geocoding of it's address data.java.lang.Exceptionpublic void testLocationModel()
throws java.lang.Exception
Location by means of PointOfServiceModel object. Verifies location service
operation against this location as well as proper geocoding of it's address data.java.lang.Exceptionpublic void testGetMapFromManagerPOIs()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetMapFromManagerRoute()
throws java.lang.Exception
java.lang.Exceptionpublic void testRouteInstantiation()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetDistanceAndRoute1()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetDistanceAndRoute2()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.