Changeset 10436 in josm for trunk/test/unit/org/openstreetmap/josm/actions/mapmode/PlayHeadDragModeTest.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/actions/mapmode/PlayHeadDragModeTest.java
r9944 r10436 33 33 OsmDataLayer layer = new OsmDataLayer(new DataSet(), "", null); 34 34 try { 35 Main. main.addLayer(layer);35 Main.getLayerManager().addLayer(layer); 36 36 PlayHeadDragMode mapMode = new PlayHeadDragMode(PlayHeadMarker.create()); 37 37 MapMode oldMapMode = Main.map.mapMode; … … 40 40 assertTrue(Main.map.selectMapMode(oldMapMode)); 41 41 } finally { 42 Main. main.removeLayer(layer);42 Main.getLayerManager().removeLayer(layer); 43 43 } 44 44 }
Note:
See TracChangeset
for help on using the changeset viewer.