Changeset 36223 in osm for applications/viewer/jmapviewer/test
- Timestamp:
- 2024-03-11T21:33:09+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/test/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSourceTest.java
r36140 r36223 8 8 import java.util.Arrays; 9 9 import java.util.Collection; 10 import java.util.Collections; 10 11 import java.util.function.Predicate; 11 12 import java.util.stream.Stream; … … 14 15 15 16 /** 16 * Tests for Templa edTMSTileSource17 * Tests for TemplatedTMSTileSource 17 18 */ 18 19 public class TemplatedTMSTileSourceTest { 19 20 20 private static final Collection<String> TMS_IMAGERIES = Arrays.asList(new String[]{ 21 "http://imagico.de/map/osmim_tiles.php?layer=S2A_R136_N41_20150831T093006&z={zoom}&x={x}&y={-y}", 21 private static final Collection<String> TMS_IMAGERIES = Collections.singleton("http://imagico.de/map/osmim_tiles.php?layer=S2A_R136_N41_20150831T093006&z={zoom}&x={x}&y={-y}" 22 22 /* 23 23 * generate for example with: … … 25 25 * xmlstarlet sel -N 'josm=http://josm.openstreetmap.de/maps-1.0' -t -v "//josm:entry[josm:type='tms']/josm:url" -n | \ 26 26 * sed -e 's/\&/\&/g' -e 's/^/"/' -e 's/$/",/' 27 */ 28 }); 27 */); 29 28 30 29 /**
Note:
See TracChangeset
for help on using the changeset viewer.