Changeset 16736 in josm for trunk/test/unit/org
- Timestamp:
- 2020-07-06T22:24:08+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java
r16734 r16736 116 116 "connectId%3D0123456789"; 117 117 ImageryInfo imageryInfo = newHandler(url).buildImageryInfo(); 118 assertEquals(ImageryInfo.ImageryType.TMS, imageryInfo.getImageryType()); 119 assertEquals("https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService" + 118 assertEquals(ImageryInfo.ImageryType.WMS, imageryInfo.getImageryType()); 119 /* do not interpret the URL, take it as is and error later */ 120 assertEquals("tms[3,7]:https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService" + 120 121 "@EPSG:3857@jpg/{z}/{x}/{-y}.jpg?connectId=0123456789", imageryInfo.getUrl()); 121 assertEquals("tms[3,7]:https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService" +122 "@EPSG:3857@jpg/{z}/{x}/{-y}.jpg?connectId=0123456789", imageryInfo.getExtendedUrl());123 assertEquals(3, imageryInfo.getMinZoom());124 assertEquals(7, imageryInfo.getMaxZoom());125 122 } 126 123 }
Note:
See TracChangeset
for help on using the changeset viewer.