Changeset 36115 in osm for applications/editors/josm/plugins/pmtiles/src/test/java
- Timestamp:
- 2023-08-10T22:53:52+02:00 (2 years ago)
- Location:
- applications/editors/josm/plugins/pmtiles/src/test/java/org/openstreetmap/josm/plugins/pmtiles
- Files:
-
- 6 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pmtiles/src/test/java/org/openstreetmap/josm/plugins/pmtiles/lib/PMTilesTest.java
r36112 r36115 7 7 import static org.junit.jupiter.api.Assertions.assertSame; 8 8 import static org.junit.jupiter.api.Assertions.assertTrue; 9 import static org.openstreetmap.josm.plugins.pmtiles.PMTestUtils.ODBL_RASTER_STAMEN; 10 import static org.openstreetmap.josm.plugins.pmtiles.PMTestUtils.ODBL_VECTOR_FIRENZE; 9 11 10 import java.io.File;11 12 import java.io.IOException; 12 import java.net.URI;13 13 14 14 import org.junit.jupiter.api.Test; … … 18 18 */ 19 19 class PMTilesTest { 20 private static final URI ODBL_VECTOR_FIRENZE = new File("protomaps(vector)ODbL_firenze.pmtiles").exists() ?21 new File("protomaps(vector)ODbL_firenze.pmtiles").toURI() :22 URI.create("https://github.com/protomaps/PMTiles/raw/main/spec/v3/protomaps(vector)ODbL_firenze.pmtiles");23 24 private static final URI ODBL_RASTER_STAMEN = new File("stamen_toner(raster)CC-BY%2BODbL_z3.pmtiles").exists() ?25 new File("stamen_toner(raster)CC-BY%2BODbL_z3.pmtiles").toURI() :26 URI.create("https://github.com/protomaps/PMTiles/raw/main/spec/v3/stamen_toner(raster)CC-BY%2BODbL_z3.pmtiles");27 28 20 @Test 29 21 void testHeader() {
Note:
See TracChangeset
for help on using the changeset viewer.