Changeset 10436 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/TMSLayerTest.java
- Timestamp:
- 2016-06-20T02:47:43+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/TMSLayerTest.java
r9680 r10436 50 50 private static void test(ImageryType expected, TMSLayer layer) { 51 51 try { 52 Main. main.addLayer(layer);52 Main.getLayerManager().addLayer(layer); 53 53 assertEquals(expected, layer.getInfo().getImageryType()); 54 54 } finally { 55 55 // Ensure we clean the place before leaving, even if test fails. 56 Main. main.removeLayer(layer);56 Main.getLayerManager().removeLayer(layer); 57 57 } 58 58 }
Note:
See TracChangeset
for help on using the changeset viewer.