Changeset 10364 in josm for trunk/test/unit/org/openstreetmap/josm/command/conflict/ConflictAddCommandTest.java
- Timestamp:
- 2016-06-12T20:46:23+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/command/conflict/ConflictAddCommandTest.java
r9943 r10364 51 51 @Test 52 52 public void testExecuteUndoCommand() { 53 OsmDataLayer layer = Main. map.mapView.getEditLayer();53 OsmDataLayer layer = Main.getLayerManager().getEditLayer(); 54 54 Conflict<Node> conflict = new Conflict<>(new Node(), new Node()); 55 55 ConflictAddCommand cmd = new ConflictAddCommand(layer, conflict); … … 67 67 @Test 68 68 public void testGetDescriptionIcon() { 69 OsmDataLayer layer = Main. map.mapView.getEditLayer();69 OsmDataLayer layer = Main.getLayerManager().getEditLayer(); 70 70 Conflict<Node> conflict = new Conflict<>(new Node(), new Node()); 71 71 assertNotNull(new ConflictAddCommand(layer, conflict).getDescriptionIcon());
Note:
See TracChangeset
for help on using the changeset viewer.