Changeset 17736 in josm for trunk/test
- Timestamp:
- 2021-04-09T23:18:01+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/Tag2LinkTest.java
r17735 r17736 87 87 void testImageCommonsImage() { 88 88 Tag2Link.getLinksForTag("image", "File:Witten Brücke Gasstraße.jpg", this::addLink); 89 checkLinks("View image on Wikimedia Commons // https://commons.wikimedia.org/wiki/File:Witten Brücke Gasstraße.jpg");89 checkLinks("View image on Wikimedia Commons // https://commons.wikimedia.org/wiki/File:Witten%20Br%C3%BCcke%20Gasstra%C3%9Fe.jpg"); 90 90 links.clear(); 91 91 // non-regression test for #19754 … … 93 93 checkLinks("View image on Wikimedia Commons // https://commons.wikimedia.org/wiki/File:Foo.jpg", 94 94 "View image on Wikimedia Commons // https://commons.wikimedia.org/wiki/File:Bar.jpg"); 95 links.clear(); 96 // non-regression test for #19771 97 Tag2Link.getLinksForTag("image", "File:Côte de granite rose - Trégastel à Ploumanac'h - 20190723 - 025.jpg", this::addLink); 98 checkLinks("View image on Wikimedia Commons // " + 99 "https://commons.wikimedia.org/wiki/" + 100 "File:C%C3%B4te%20de%20granite%20rose%20-%20Tr%C3%A9gastel%20%C3%A0%20Ploumanac'h%20-%2020190723%20-%20025.jpg"); 95 101 } 96 102
Note:
See TracChangeset
for help on using the changeset viewer.