Changeset 14513 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2018-12-05T20:40:56+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java
r14512 r14513 36 36 import org.openstreetmap.josm.tools.HttpClient.Response; 37 37 import org.openstreetmap.josm.tools.Logging; 38 import org.openstreetmap.josm.tools.Utils; 38 39 39 40 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 122 123 AbstractTileSource tileSource = getTileSource(info); 123 124 checkTileUrl(info, tileSource, center, info.getMinZoom()); 124 checkTileUrl(info, tileSource, center, info.getMaxZoom()); 125 // checking max zoom for real is complex, see https://josm.openstreetmap.de/ticket/16073#comment:27 126 checkTileUrl(info, tileSource, center, Utils.clamp(info.getMinZoom() + 1, 12, info.getMaxZoom())); 125 127 } catch (IOException | WMTSGetCapabilitiesException | IllegalArgumentException e) { 126 128 addError(info, e.toString());
Note:
See TracChangeset
for help on using the changeset viewer.