Changeset 12630 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/OsmDataLayerTest.java
- Timestamp:
- 2017-08-24T00:15:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/OsmDataLayerTest.java
r12159 r12630 22 22 import org.openstreetmap.josm.data.osm.Relation; 23 23 import org.openstreetmap.josm.data.osm.Way; 24 import org.openstreetmap.josm.gui.MainApplication; 24 25 25 26 /** … … 136 137 Main.getLayerManager().addLayer(layer); 137 138 assertTrue(layer.getMenuEntries().length > 0); 138 layer.paint(TestUtils.newGraphics(), Main .map.mapView, new Bounds(LatLon.ZERO));139 layer.paint(TestUtils.newGraphics(), MainApplication.getMap().mapView, new Bounds(LatLon.ZERO)); 139 140 } finally { 140 141 Main.getLayerManager().removeLayer(layer);
Note:
See TracChangeset
for help on using the changeset viewer.