Changeset 32608 in osm for applications/editors/josm/plugins/wikipedia/test
- Timestamp:
- 2016-07-08T19:58:16+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/WikipediaAppTest.java
r32114 r32608 168 168 // not found -> null 169 169 assertThat(WikipediaApp.getLabelForWikidata("Q" + Long.MAX_VALUE, Locale.ENGLISH), nullValue()); 170 final Map<String, String> twoLabels = WikipediaApp.getLabelForWikidata(Arrays.asList("Q84", "Q1741"), Locale.GERMAN); 171 assertThat(twoLabels.get("Q84"), is("London")); 172 assertThat(twoLabels.get("Q1741"), is("Wien")); 170 173 } 171 174
Note:
See TracChangeset
for help on using the changeset viewer.