Changeset 9095 in josm for trunk/test
- Timestamp:
- 2015-12-09T15:45:35+01:00 (9 years ago)
- Location:
- trunk/test
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
r9081 r9095 30 30 private ImageryInfo testImageryWALLONIE = getImagery("test/data/wmts/WMTSCapabilities-Wallonie.xml"); 31 31 private ImageryInfo testImageryOntario = getImagery("test/data/wmts/WMTSCapabilities-Ontario.xml"); 32 private ImageryInfo testImagery12168 = getImagery("test/data/wmts/bug12168-WMTSCapabilities.xml"); 32 33 private ImageryInfo testLotsOfLayers = getImagery("test/data/wmts/getCapabilities-lots-of-layers.xml"); 33 34 … … 210 211 } 211 212 213 @Test 214 public void test12168() throws IOException { 215 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); 216 WMTSTileSource testSource = new WMTSTileSource(testImagery12168); 217 testSource.initProjection(Main.getProjection()); 218 assertEquals( 219 "http://www.ngi.be/cartoweb/1.0.0/topo/default/3857/7/1/1.png", 220 testSource.getTileUrl(1, 1, 1)); 221 } 222 223 212 224 // XXX: disabled as this needs user action 213 225 //@Test
Note:
See TracChangeset
for help on using the changeset viewer.