Changeset 18189 in josm for trunk


Ignore:
Timestamp:
2021-09-01T22:31:33+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21260 - fix unit test (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/imagery/MVTLayerTest.java

    r18187 r18189  
    8888            // Needed to initialize mapView
    8989            MainApplication.getLayerManager().addLayer(this.testLayer);
    90             final BBox tileBBox = new MVTTile(this.testLayer.getTileSource(), 3251, 6258, 14).getBBox();
     90            final BBox tileBBox = new MVTTile(this.testLayer.getTileSource(), 3248, 6258, 14).getBBox();
    9191            MainApplication.getMap().mapView.zoomTo(new Bounds(tileBBox.getMinLat(), tileBBox.getMinLon(),
    9292                    tileBBox.getMaxLat(), tileBBox.getMaxLon()));
     
    129129    @Test
    130130    void finishedLoading() throws ReflectiveOperationException {
    131         final MVTTile mvtTile = (MVTTile) this.testLayer.createTile(this.testLayer.getTileSource(), 3251, 6258, 14);
     131        final MVTTile mvtTile = (MVTTile) this.testLayer.createTile(this.testLayer.getTileSource(), 3248, 6258, 14);
    132132        final FinishedLoading finishedLoading = new FinishedLoading();
    133133        mvtTile.addTileLoaderFinisher(finishedLoading);
Note: See TracChangeset for help on using the changeset viewer.