Changeset 33098 in osm for applications/editors/josm/plugins/wikipedia/test/unit
- Timestamp:
- 2016-12-09T09:23:47+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/WikipediaAppTest.java
r33075 r33098 119 119 120 120 @Test 121 public void testGetWikidataForArticlesResolveRedirects() throws Exception { 122 final Map<String, String> map = WikipediaApp.forLanguage("en") 123 .getWikidataForArticles(Arrays.asList("einstein", "USA")); 124 assertThat(map.get("einstein"), is("Q937")); 125 assertThat(map.get("USA"), is("Q30")); 126 assertThat(map.size(), is(2)); 127 } 128 129 @Test 121 130 public void testTicket13991() throws Exception { 122 131 final Map<String, String> map = WikipediaApp.forLanguage("en")
Note:
See TracChangeset
for help on using the changeset viewer.