diff --git a/test/unit/org/openstreetmap/josm/gui/layer/imagery/MVTLayerTest.java b/test/unit/org/openstreetmap/josm/gui/layer/imagery/MVTLayerTest.java
index 1233f9fa32..042abaf79f 100644
|
a
|
b
|
class MVTLayerTest {
|
| 87 | 87 | ProjectionRegistry.setProjection(Projections.getProjectionByCode(projectionCode)); |
| 88 | 88 | // Needed to initialize mapView |
| 89 | 89 | 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(); |
| 91 | 91 | MainApplication.getMap().mapView.zoomTo(new Bounds(tileBBox.getMinLat(), tileBBox.getMinLon(), |
| 92 | 92 | tileBBox.getMaxLat(), tileBBox.getMaxLon())); |
| 93 | 93 | final FakeGraphics graphics2D = new FakeGraphics(); |
| … |
… |
class MVTLayerTest {
|
| 128 | 128 | |
| 129 | 129 | @Test |
| 130 | 130 | 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); |
| 132 | 132 | final FinishedLoading finishedLoading = new FinishedLoading(); |
| 133 | 133 | mvtTile.addTileLoaderFinisher(finishedLoading); |
| 134 | 134 | assertTrue(this.testLayer.getData().allPrimitives().isEmpty()); |