Changeset 17023 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2020-09-12T21:00:17+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/corrector/ReverseWayNoTagCorrectorTest.java
r14256 r17023 7 7 import org.junit.Test; 8 8 import org.openstreetmap.josm.data.osm.Tag; 9 import org.openstreetmap.josm.data.osm.Tagged; 10 import org.openstreetmap.josm.data.osm.Way; 9 11 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 12 … … 34 36 assertEquals(0, ReverseWayNoTagCorrector.getDirectionalTags(new Tag("incline", "up")).size()); 35 37 assertEquals(0, ReverseWayNoTagCorrector.getDirectionalTags(new Tag("oneway", "yes")).size()); 38 assertEquals(1, ReverseWayNoTagCorrector.getDirectionalTags(new Tag("barrier", "kerb")).size()); 39 assertEquals(1, ReverseWayNoTagCorrector.getDirectionalTags(new Tag("barrier", "city_wall")).size()); 40 41 final Tagged twoSidedCityWall = new Way(); 42 twoSidedCityWall.put("barrier", "city_wall"); 43 twoSidedCityWall.put("two_sided", "yes"); 44 assertEquals(0, ReverseWayNoTagCorrector.getDirectionalTags(twoSidedCityWall).size()); 36 45 } 37 46 }
Note:
See TracChangeset
for help on using the changeset viewer.