Changeset 18452 in josm for trunk/test/unit
- Timestamp:
- 2022-05-17T00:33:50+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java
r18037 r18452 86 86 String url = "https://localhost/imagery?title=osm" 87 87 + "&type=tms&min_zoom=3&max_zoom=23&category=osmbasedmap&country_code=XA" 88 + "&url=https:// a.tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png";88 + "&url=https://tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png"; 89 89 ImageryInfo imageryInfo = newHandler(url).buildImageryInfo(); 90 90 assertEquals("osm", imageryInfo.getName()); 91 91 assertEquals(ImageryInfo.ImageryType.TMS, imageryInfo.getImageryType()); 92 assertEquals("https:// a.tile.openstreetmap.org/{zoom}/{x}/{y}.png", imageryInfo.getUrl());92 assertEquals("https://tile.openstreetmap.org/{zoom}/{x}/{y}.png", imageryInfo.getUrl()); 93 93 assertEquals(3, imageryInfo.getMinZoom()); 94 94 assertEquals(23, imageryInfo.getMaxZoom());
Note:
See TracChangeset
for help on using the changeset viewer.