Changeset 32114 in osm for applications/editors/josm/plugins/wikipedia/test
- Timestamp:
- 2016-03-22T22:54:50+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/WikipediaAppTest.java
r32003 r32114 125 125 126 126 @Test 127 public void testGetCoordinates() throws Exception { 128 assertThat(WikipediaApp.getCoordinateForArticle("de", "Marchreisenspitze"), is(new LatLon(47.1725, 11.30833333))); 129 assertThat(WikipediaApp.getCoordinateForArticle("en", "Austria"), is(new LatLon(47.33333333, 13.33333333))); 130 assertThat(WikipediaApp.getCoordinateForArticle("en", "Foobar2000"), nullValue()); 131 } 132 133 @Test 127 134 public void testGetBrowserUrl() { 128 135 final WikipediaEntry entry = new WikipediaEntry("Sternheim & Emanuel", "de", "Sternheim & Emanuel");
Note:
See TracChangeset
for help on using the changeset viewer.