Changeset 10436 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongTrackActionTest.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/gpx/DownloadAlongTrackActionTest.java
r9817 r10436 32 32 final OsmDataLayer layer = new OsmDataLayer(new DataSet(), DownloadAlongTrackActionTest.class.getName(), null); 33 33 try { 34 Main. main.addLayer(layer);34 Main.getLayerManager().addLayer(layer); 35 35 // Perform action 36 36 final GpxData gpx = GpxReaderTest.parseGpxData(TestUtils.getTestDataRoot() + file); … … 38 38 } finally { 39 39 // Ensure we clean the place before leaving, even if test fails. 40 Main. main.removeLayer(layer);40 Main.getLayerManager().removeLayer(layer); 41 41 } 42 42 }
Note:
See TracChangeset
for help on using the changeset viewer.