Changeset 15563 in josm for trunk/test/unit


Ignore:
Timestamp:
2019-12-08T11:05:37+01:00 (5 years ago)
Author:
GerdP
Message:

see #18204: revert r15561 which didn't help, add .projection() instead.
If this also doesn't help I'll disable the tests as I really don't know how to find out what's wrong here.

File:
1 edited

Legend:

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

    r15561 r15563  
    3636    @Rule
    3737    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    38     public JOSMTestRules test = new JOSMTestRules().projection().main().preferences();
     38    public JOSMTestRules test = new JOSMTestRules().projection().main().preferences().projection();
    3939
    4040    private void setupMapView(DataSet ds) {
    4141        // setup a reasonable screen size
    42         MainApplication.getMap().mapView.addNotify();
    43         MainApplication.getMap().mapView.doLayout();
    4442        MainApplication.getMap().mapView.setBounds(new Rectangle(1920, 1080));
    4543        if (ds.getDataSourceBoundingBox() != null) {
Note: See TracChangeset for help on using the changeset viewer.