Changeset 12359 in josm
- Timestamp:
- 2017-06-09T11:55:26+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/OrthogonalizeActionTest.java
r11978 r12359 10 10 import org.junit.Rule; 11 11 import org.junit.Test; 12 import org.openstreetmap.josm.Main; 12 13 import org.openstreetmap.josm.TestUtils; 13 14 import org.openstreetmap.josm.actions.OrthogonalizeAction.Direction; … … 17 18 import org.openstreetmap.josm.data.osm.Node; 18 19 import org.openstreetmap.josm.data.osm.Way; 20 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 19 21 import org.openstreetmap.josm.io.OsmReader; 20 22 import org.openstreetmap.josm.testutils.JOSMTestRules; … … 97 99 try (FileInputStream in = new FileInputStream(TestUtils.getTestDataRoot() + "orthogonalize.osm")) { 98 100 final DataSet ds = OsmReader.parseDataSet(in, null); 101 // TODO: Executing commands depends on active edit layer 102 Main.getLayerManager().addLayer(new OsmDataLayer(ds, "ds", null)); 99 103 for (String s : search) { 100 104 ds.addSelected(SubclassFilteredCollection.filter(ds.allPrimitives(), SearchCompiler.compile(s)));
Note:
See TracChangeset
for help on using the changeset viewer.