Changeset 8926 in josm for trunk/test/unit/org/openstreetmap/josm/data
- Timestamp:
- 2015-10-22T02:01:00+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/UnconnectedWaysTest.java
r7937 r8926 6 6 7 7 import java.io.FileInputStream; 8 import java.io.FileNotFoundException; 9 import java.io.IOException; 8 10 import java.io.InputStream; 9 11 … … 13 15 import org.openstreetmap.josm.data.osm.DataSet; 14 16 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 17 import org.openstreetmap.josm.io.IllegalDataException; 15 18 import org.openstreetmap.josm.io.OsmReader; 16 19 20 /** 21 * Unit tests of {@code UnconnectedWays} class. 22 */ 17 23 public class UnconnectedWaysTest { 18 24 19 UnconnectedWays bib;25 private UnconnectedWays bib; 20 26 21 27 /** 22 28 * Setup test. 29 * @throws Exception if the test cannot be initialized 23 30 */ 24 31 @Before … … 30 37 } 31 38 39 /** 40 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/6313">Bug #6313</a>. 41 * @throws IOException if any I/O error occurs 42 * @throws IllegalDataException if the OSM data cannot be parsed 43 * @throws FileNotFoundException if the data file cannot be found 44 */ 32 45 @Test 33 public void testTicket6313() throws Exception {46 public void testTicket6313() throws IOException, IllegalDataException, FileNotFoundException { 34 47 try (InputStream fis = new FileInputStream("data_nodist/UnconnectedWaysTest.osm")) { 35 48 final DataSet ds = OsmReader.parseDataSet(fis, NullProgressMonitor.INSTANCE);
Note: See TracChangeset
for help on using the changeset viewer.