aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-18 09:39:06 -0800
committerGitHub <noreply@github.com>2018-12-18 09:39:06 -0800
commitd0798cd3699c7ce5cc25daf65335d0670256eda0 (patch)
tree0593a646a7f6651be02139779ee1cdfefd2add20 /test
parent85cd0f9e023b7c664373ea19418c2ed5675c5025 (diff)
parent0e39aad22c5679f37e5a2ab892c15cf196cd0873 (diff)
downloadtrackermap-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.tar.gz
trackermap-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.tar.bz2
trackermap-server-d0798cd3699c7ce5cc25daf65335d0670256eda0.zip
Merge pull request #4166 from mujeerhashmi/mapmyindia
Implement MapmyIndia Reverse geocoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/geocoder/GeocoderTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/org/traccar/geocoder/GeocoderTest.java b/test/org/traccar/geocoder/GeocoderTest.java
index 42220cde1..85d9bf62f 100644
--- a/test/org/traccar/geocoder/GeocoderTest.java
+++ b/test/org/traccar/geocoder/GeocoderTest.java
@@ -78,4 +78,11 @@ public class GeocoderTest {
assertEquals("6 Avenue Gustave Eiffel, Paris, Île-de-France, FRA", address);
}
+ @Ignore
+ @Test
+ public void testMapmyIndia() {
+ Geocoder geocoder = new MapmyIndiaGeocoder("", "", 0, new AddressFormat("%f"));
+ String address = geocoder.getAddress(28.6129602407977, 77.2294557094574, null);
+ assertEquals("New Delhi, Delhi. 1 m from India Gate pin-110001 (India)", address);
+ }
}