-
Notifications
You must be signed in to change notification settings - Fork 1.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
Allow NeTEx ServiceJourneyPatterns with stopUse=passthrough #6037
Allow NeTEx ServiceJourneyPatterns with stopUse=passthrough #6037
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6037 +/- ##
==========================================
Coverage 69.73% 69.74%
- Complexity 17317 17319 +2
==========================================
Files 1960 1960
Lines 74268 74273 +5
Branches 7603 7605 +2
==========================================
+ Hits 51793 51799 +6
+ Misses 19832 19831 -1
Partials 2643 2643 ☔ View full report in Codecov by Sentry. |
Ah, this is the reason why it's only the validation that fails, not the import itself because these pass-through points also have forBoarding/alighting=false. |
Related ticket: #3640 |
Summary
As described in #6036 OTP doesn't consider pass-trough stops in
ServiceJourneyPattern
s. This modifies the validation slightly so that these are removed before comparing the number of links with the passing times.Issue
Closes #6036
Unit tests
Added.
I also added some builder classes which might also become useful for other tests.
Documentation
Javadoc