Package org.opentripplanner.geocoder.google

Examples of org.opentripplanner.geocoder.google.GoogleGeocoderResults


  @Test
  public void testDeserialize() throws Exception {
        String json = getJsonString();
       
        GoogleJsonDeserializer googleJsonDeserializer = new GoogleJsonDeserializer();
    GoogleGeocoderResults geocoderResults = googleJsonDeserializer.parseResults(json);
        List<GoogleGeocoderResult> results = geocoderResults.getResults();
       
        assertEquals("unexpected number of results", 1, results.size());
       
        GoogleGeocoderResult googleGeocoderResult = results.get(0);
       
View Full Code Here

TOP

Related Classes of org.opentripplanner.geocoder.google.GoogleGeocoderResults

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.