Ignore:
Timestamp:
2023-08-10T22:53:52+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fill in source details for OSM changesets

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  
    77import static org.junit.jupiter.api.Assertions.assertSame;
    88import static org.junit.jupiter.api.Assertions.assertTrue;
     9import static org.openstreetmap.josm.plugins.pmtiles.PMTestUtils.ODBL_RASTER_STAMEN;
     10import static org.openstreetmap.josm.plugins.pmtiles.PMTestUtils.ODBL_VECTOR_FIRENZE;
    911
    10 import java.io.File;
    1112import java.io.IOException;
    12 import java.net.URI;
    1313
    1414import org.junit.jupiter.api.Test;
     
    1818 */
    1919class 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 
    2820    @Test
    2921    void testHeader() {
Note: See TracChangeset for help on using the changeset viewer.