Changeset 7497 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy
- Timestamp:
- 2014-09-05T01:50:02+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy
r7357 r7497 1 1 package org.openstreetmap.josm.data.validation.tests 2 2 3 import org.openstreetmap.josm.JOSMFixture 3 4 import org.openstreetmap.josm.data.osm.OsmUtils 4 5 … … 9 10 @Override 10 11 void setUp() { 12 JOSMFixture.createUnitTestFixture().init() 11 13 lanes.initialize() 12 14 lanes.startTest(null) … … 60 62 assert lanes.errors.isEmpty() 61 63 } 64 65 void test9() { 66 lanes.check(OsmUtils.createPrimitive("way highway=secondary lanes=2 source:lanes=survey")) 67 assert lanes.errors.isEmpty() 68 } 62 69 }
Note:
See TracChangeset
for help on using the changeset viewer.