Ignore:
Timestamp:
2016-10-29T08:57:21+02:00 (7 years ago)
Author:
wiktorn
Message:

WMS tile service is enabled by default

Closes: #13857

File:
1 edited

Legend:

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

    r11181 r11185  
    33
    44import static org.junit.Assert.assertEquals;
    5 import static org.junit.Assert.assertFalse;
    65import static org.junit.Assert.assertTrue;
    76
     
    3635    @Test
    3736    public void testEnabledState() {
    38         assertFalse(new AddImageryLayerAction(new ImageryInfo()).isEnabled());
     37        assertTrue(new AddImageryLayerAction(new ImageryInfo()).isEnabled());
    3938        assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_tms", "http://bar", "tms", null, null)).isEnabled());
    4039        assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_bing", "http://bar", "bing", null, null)).isEnabled());
    4140        assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_scanex", "http://bar", "scanex", null, null)).isEnabled());
    42         assertFalse(new AddImageryLayerAction(new ImageryInfo("foo_wms_endpoint", "http://bar", "wms_endpoint", null, null)).isEnabled());
     41        assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_wms_endpoint", "http://bar", "wms_endpoint", null, null)).isEnabled());
    4342    }
    4443
Note: See TracChangeset for help on using the changeset viewer.