- Timestamp:
- 2016-10-29T08:57:21+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/AddImageryLayerActionTest.java
r11181 r11185 3 3 4 4 import static org.junit.Assert.assertEquals; 5 import static org.junit.Assert.assertFalse;6 5 import static org.junit.Assert.assertTrue; 7 6 … … 36 35 @Test 37 36 public void testEnabledState() { 38 assert False(new AddImageryLayerAction(new ImageryInfo()).isEnabled());37 assertTrue(new AddImageryLayerAction(new ImageryInfo()).isEnabled()); 39 38 assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_tms", "http://bar", "tms", null, null)).isEnabled()); 40 39 assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_bing", "http://bar", "bing", null, null)).isEnabled()); 41 40 assertTrue(new AddImageryLayerAction(new ImageryInfo("foo_scanex", "http://bar", "scanex", null, null)).isEnabled()); 42 assert False(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()); 43 42 } 44 43
Note:
See TracChangeset
for help on using the changeset viewer.