Changeset 17094 in josm


Ignore:
Timestamp:
2020-10-07T19:44:53+02:00 (4 years ago)
Author:
simon04
Message:

see #19892 - Extend TemplatedWMSTileSourceTest.testGetTileUrl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java

    r16636 r17094  
    193193                + "TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG:4326&"
    194194                + "BBOX=0.0000000,-90.0000000,90.0000000,-0.0000000&WIDTH=512&HEIGHT=512", ts.getTileUrl(3, 2, 1));
     195        testImageryWMS.setTileSize(256);
     196        ts = new TemplatedWMSTileSource(testImageryWMS, projection);
     197        assertEquals("https://services.slip.wa.gov.au/public/services/SLIP_Public_Services/Transport/MapServer/WMSServer?LAYERS=8&"
     198                        + "TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG:4326&"
     199                        + "BBOX=540.0000000,-1350.0000000,900.0000000,-990.0000000&WIDTH=256&HEIGHT=256",
     200                ts.getTileUrl(1, 2, 3));
    195201    }
    196202
Note: See TracChangeset for help on using the changeset viewer.