Changeset 16371 in josm for trunk/test
- Timestamp:
- 2020-04-20T21:46:22+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/JoinAreasActionTest.java
r16048 r16371 19 19 import org.openstreetmap.josm.TestUtils; 20 20 import org.openstreetmap.josm.actions.search.SearchAction; 21 import org.openstreetmap.josm.data.Bounds; 22 import org.openstreetmap.josm.data.DataSource; 21 23 import org.openstreetmap.josm.data.osm.DataSet; 22 24 import org.openstreetmap.josm.data.osm.IPrimitive; … … 83 85 try (InputStream is = TestUtils.getRegressionDataStream(9599, "three_old.osm")) { 84 86 DataSet ds = OsmReader.parseDataSet(is, null); 87 ds.addDataSource(new DataSource(new Bounds(-90, -180, 90, 180), "Everywhere")); 85 88 Layer layer = new OsmDataLayer(ds, null, null); 86 89 MainApplication.getLayerManager().addLayer(layer); … … 154 157 try (InputStream is = TestUtils.getRegressionDataStream(18744, "18744-sample.osm")) { 155 158 DataSet ds = OsmReader.parseDataSet(is, null); 159 ds.addDataSource(new DataSource(new Bounds(-90, -180, 90, 180), "Everywhere")); 156 160 Layer layer = new OsmDataLayer(ds, null, null); 157 161 MainApplication.getLayerManager().addLayer(layer);
Note:
See TracChangeset
for help on using the changeset viewer.