Class GeocodingTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class GeocodingTest extends AbstractGeocodingTest
  • Constructor Details

    • GeocodingTest

      public GeocodingTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testLocationDTO

      public void testLocationDTO() throws Exception
      Tests instantiation of Location by means of LocationDTO object. Verifies location service operation against this location as well as proper geocoding of it's address data.
      Throws:
      Exception
    • testLocationModel

      public void testLocationModel() throws Exception
      Tests instantiation of Location by means of PointOfServiceModel object. Verifies location service operation against this location as well as proper geocoding of it's address data.
      Throws:
      Exception
    • testGetMapFromManagerPOIs

      public void testGetMapFromManagerPOIs() throws Exception
      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

      public void testGetMapFromManagerRoute() throws Exception
      Test - getMap(..) return a map with the route shown between the two points
      Throws:
      Exception
    • testRouteInstantiation

      public void testRouteInstantiation() throws Exception
      Test comunication with Google API - getting route between 2 point and distance info.
      Throws:
      Exception
    • testGetDistanceAndRoute1

      public void testGetDistanceAndRoute1() throws Exception
      Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: Address and Address
      Throws:
      Exception
    • testGetDistanceAndRoute2

      public void testGetDistanceAndRoute2() throws Exception
      Tests IGeoWebServiceWrapper, which returns a route for a well defined inputs: GPS and Address
      Throws:
      Exception