Changeset 16006 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation
- Timestamp:
- 2020-03-03T02:12:44+01:00 (4 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/CoastlinesTest.java
r15043 r16006 31 31 @Test 32 32 public void testCoastlineFile() throws Exception { 33 ValidatorTestUtils.testSampleFile(" data_nodist/coastlines.osm",33 ValidatorTestUtils.testSampleFile("nodist/data/coastlines.osm", 34 34 ds -> ds.getWays().stream().filter( 35 35 w -> "coastline".equals(w.get("natural"))).collect(Collectors.toList()), -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MultipolygonTestTest.java
r15183 r16006 38 38 final MultipolygonTest MULTIPOLYGON_TEST = new MultipolygonTest(); 39 39 final RelationChecker RELATION_TEST = new RelationChecker(); 40 ValidatorTestUtils.testSampleFile(" data_nodist/multipolygon.osm",40 ValidatorTestUtils.testSampleFile("nodist/data/multipolygon.osm", 41 41 ds -> ds.getRelations().stream().filter(Relation::isMultipolygon).collect(Collectors.toList()), 42 42 name -> name.startsWith("06") || name.startsWith("07") || name.startsWith("08"), MULTIPOLYGON_TEST, RELATION_TEST); -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/TurnRestrictionTestTest.java
r14966 r16006 29 29 @Test 30 30 public void testTurnrestrictionFile() throws Exception { 31 ValidatorTestUtils.testSampleFile(" data_nodist/restriction.osm",31 ValidatorTestUtils.testSampleFile("nodist/data/restriction.osm", 32 32 ds -> ds.getRelations(), 33 33 name -> name.startsWith("E"), TURNRESTRICTION_TEST, RELATION_TEST); -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/UnconnectedWaysTest.java
r15354 r16006 49 49 @Test 50 50 public void testTicket6313() throws IOException, IllegalDataException, FileNotFoundException { 51 try (InputStream fis = Files.newInputStream(Paths.get(" data_nodist/UnconnectedWaysTest.osm"))) {51 try (InputStream fis = Files.newInputStream(Paths.get("nodist/data/UnconnectedWaysTest.osm"))) { 52 52 final DataSet ds = OsmReader.parseDataSet(fis, NullProgressMonitor.INSTANCE); 53 53 MainApplication.getLayerManager().addLayer(new OsmDataLayer(ds, null, null));
Note:
See TracChangeset
for help on using the changeset viewer.