Changeset 13734 in josm for trunk/test


Ignore:
Timestamp:
2018-05-12T14:19:28+02:00 (14 months ago)
Author:
wiktorn
Message:

GUI for imagery definitions refactor

Extend preferences panel by:

  • allowing setting default layers for WMS / WMTS
  • allowing setting minimum expires (expert mode)
  • allowing setting custom headers (expert mode)

See: #15981, #7953, #16224, #15940, #16249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/AddWMSLayerPanelTest.java

    r10977 r13734  
    22package org.openstreetmap.josm.gui.preferences.imagery;
    33
    4 import static org.junit.Assert.assertEquals;
    54import static org.junit.Assert.assertFalse;
    65
     
    2120    @Rule
    2221    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    23     public JOSMTestRules test = new JOSMTestRules().preferences();
     22    public JOSMTestRules test = new JOSMTestRules().platform().preferences();
    2423
    2524    /**
     
    2928    public void testAddWMSLayerPanel() {
    3029        AddWMSLayerPanel panel = new AddWMSLayerPanel();
    31         assertEquals("", panel.getImageryInfo().getUrl());
    3230        assertFalse(panel.isImageryValid());
    3331    }
Note: See TracChangeset for help on using the changeset viewer.