-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix one-way boarding location processing #6388
base: dev-2.x
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6388 +/- ##
==========================================
Coverage 69.73% 69.74%
- Complexity 17957 17960 +3
==========================================
Files 2049 2049
Lines 76756 76757 +1
Branches 7832 7832
==========================================
+ Hits 53529 53533 +4
+ Misses 20493 20491 -2
+ Partials 2734 2733 -1 ☔ View full report in Codecov by Sentry. |
@miklcct I experimented with making OsmModule more testable: leonardehrenfried@a8adf06 I think it's the right way to go. Can you clean this up and add the correct test cases?
|
Here is the complete setup: https://github.com/leonardehrenfried/OpenTripPlanner/tree/testable-osm Can you take it do some clean up? |
What I missed in the previous review: we don't actually need to store a Lines 449 to 474 in a8adf06
|
PR Instructions
Summary
This adds
@Nullable
annotations toStreetEdge
and its users.It also fixes the processing for linear one-way platforms which crashed OSM ( https://www.openstreetmap.org/way/656712860 )
Issue
#6387
Unit tests
The original code can't be unit tested but can only be tested by using OSM data, which I added one test for it.
Documentation
None needed
Changelog
None
Bumping the serialization version id
None