Changeset 10054 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2016-03-27T03:55:36+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/NoteImporterTest.java
r10051 r10054 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.TestUtils; 12 import org.openstreetmap.josm.gui.layer.Layer; 12 13 13 14 /** … … 21 22 @Test 22 23 public void testTicket12531() { 24 if (Main.map != null) { 25 for (Layer l: Main.map.mapView.getAllLayers()) { 26 Main.map.mapView.removeLayer(l); 27 } 28 Main.main.setMapFrame(null); 29 } 23 30 assertNull(Main.map); 24 31 assertTrue(new NoteImporter().importDataHandleExceptions(
Note:
See TracChangeset
for help on using the changeset viewer.