Changeset 15561 in josm


Ignore:
Timestamp:
2019-12-07T21:36:48+01:00 (5 years ago)
Author:
GerdP
Message:

see #18204: add code to initialize mapview to prevent random unit test results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/JoinNodeWayActionTest.java

    r15428 r15561  
    4040    private void setupMapView(DataSet ds) {
    4141        // setup a reasonable screen size
     42        MainApplication.getMap().mapView.addNotify();
     43        MainApplication.getMap().mapView.doLayout();
    4244        MainApplication.getMap().mapView.setBounds(new Rectangle(1920, 1080));
    4345        if (ds.getDataSourceBoundingBox() != null) {
Note: See TracChangeset for help on using the changeset viewer.