@IntegrationTest public class GeocodingTest extends AbstractGeocodingTest
flexibleSearchServicedefaultLanguage, jaloSession| 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 |
testGetMapFromManagerCentered()
Test - getMap(IGPS, radius) returns a map centered on the point given and covering the radius specified
|
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, getCronJobService, getGeocodeAddressesJob, getGeoServiceWrapper, getI18nService, getLocationService, getMapService, getModelService, getPointOfServiceDao, getRouteService, setCronJobService, setGeocodeAddressesJob, setGeoServiceWrapper, setI18nService, setLocationService, setMapService, setModelService, setPointOfServiceDao, setRouteServicegetFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEndcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testLocationDTO()
throws Exception
Location by means of LocationDTO object. Verifies location service
operation against this location as well as proper geocoding of it's address data.Exceptionpublic void testLocationModel()
throws Exception
Location by means of PointOfServiceModel object. Verifies location service
operation against this location as well as proper geocoding of it's address data.Exceptionpublic void testGetMapFromManagerCentered()
throws Exception
Exceptionpublic void testGetMapFromManagerPOIs()
throws Exception
Exceptionpublic void testGetMapFromManagerRoute()
throws Exception
Exceptionpublic void testRouteInstantiation()
throws Exception
Exceptionpublic void testGetDistanceAndRoute1()
throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.