Ticket #15630: v1-0001-further-debugging-test-commit.patch

File v1-0001-further-debugging-test-commit.patch, 1.0 KB (added by ris, 15 months ago)
  • test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java

    From be454902f19e265b35647139130e65bfcf1d13d4 Mon Sep 17 00:00:00 2001
    From: Robert Scott <code@humanleg.org.uk>
    Date: Thu, 18 Jan 2018 00:27:18 +0000
    Subject: [PATCH v1] further debugging test commit
    
    ---
     test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java | 2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java b/test/unit/org/openstreetmap/josm/gui/dialogs/MinimapDialogTest.java
    index cc22a6da0..263a0319b 100644
    a b public class MinimapDialogTest { 
    481481        // assert downloaded areas are drawn
    482482        this.paintSlippyMap();
    483483
     484        System.err.println("Reported bbox: " + MainApplication.getMap().mapView.getState().getViewArea().getLatLonBoundsBox().toString());
     485
    484486        ImagePatternMatching.rowMatch(
    485487            paintedSlippyMap,
    486488            paintedSlippyMap.getHeight()/2,