Changeset 16802 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2020-07-22T09:21:48+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/UnconnectedWaysTest.java
r16618 r16802 119 119 } 120 120 } 121 122 /** 123 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/19568">Bug #19568</a>. 124 * @throws IOException if any I/O error occurs 125 * @throws IllegalDataException if the OSM data cannot be parsed 126 * @throws FileNotFoundException if the data file cannot be found 127 */ 128 @Test 129 public void testTicket19568() throws IOException, IllegalDataException, FileNotFoundException { 130 try (InputStream fis = TestUtils.getRegressionDataStream(19568, "data.osm")) { 131 final DataSet ds = OsmReader.parseDataSet(fis, NullProgressMonitor.INSTANCE); 132 MainApplication.getLayerManager().addLayer(new OsmDataLayer(ds, null, null)); 133 134 bib.startTest(null); 135 bib.setBeforeUpload(false); 136 bib.visit(ds.allPrimitives()); 137 bib.endTest(); 138 assertThat(bib.getErrors(), isEmpty()); 139 } 140 } 121 141 }
Note:
See TracChangeset
for help on using the changeset viewer.
