Changeset 35329 in osm for applications/viewer/jmapviewer/test/org/openstreetmap
- Timestamp:
- 2020-02-17T15:07:01+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/test/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSourceTest.java
r35320 r35329 111 111 public void testGetTileUrl_apiKey() { 112 112 System.setProperty("id1.api-key", "wololo"); 113 TileSourceInfo testImageryTMS = new TileSourceInfo("test imagery", "http://localhost/{zoom}/{x}/{y}?token={api Key}&foo=bar", "id1");113 TileSourceInfo testImageryTMS = new TileSourceInfo("test imagery", "http://localhost/{zoom}/{x}/{y}?token={apikey}&foo=bar", "id1"); 114 114 TemplatedTMSTileSource ts = new TemplatedTMSTileSource(testImageryTMS); 115 115 assertEquals("http://localhost/1/2/3?token=wololo&foo=bar", ts.getTileUrl(1, 2, 3));
Note:
See TracChangeset
for help on using the changeset viewer.