Changeset 33428 in osm for applications/editors/josm/plugins
- Timestamp:
- 2017-07-06T13:11:15+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssistantValidatorTest.java
r33425 r33428 406 406 * route relation 407 407 */ 408 p rivatevoid storeCorrectRouteSegments(Relation r,408 public void storeCorrectRouteSegments(Relation r, 409 409 PTRouteDataManager manager, StopToWayAssigner assigner) { 410 410 if (manager.getPTStops().size() > 1) { -
applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentCheckerTest.java
r33414 r33428 34 34 SegmentChecker segmentChecker = new SegmentChecker(route, test); 35 35 segmentChecker.performStopByStopTest(); 36 assertEquals(SegmentChecker.getCorrectSegmentCount(), 27); 37 assertEquals(segmentChecker.getErrors().size(), 0); 38 39 40 41 36 //since 33425 storing correct segments only of continuous routes 37 test.storeCorrectRouteSegments(route, 38 segmentChecker.getManager(), segmentChecker.getAssigner()); 39 assertEquals(27, SegmentChecker.getCorrectSegmentCount()); 40 assertEquals(0, segmentChecker.getErrors().size()); 42 41 } 43 42 }
Note:
See TracChangeset
for help on using the changeset viewer.