Closed habrahamsson-skanetrafiken closed 1 month ago
Attention: Patch coverage is 85.71429%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 68.37%. Comparing base (
5a5fd21
) to head (27c5343
). Report is 70 commits behind head on dev-2.x.
Files | Patch % | Lines |
---|---|---|
...a/org/opentripplanner/ext/siri/EntityResolver.java | 85.71% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I rolled back the fix for feedId comparison after discussions in the developer meeting, and will make a separate PR for that
This PR is part of the realtime refactor work.
It mainly contains tests for SiriTimetableSnapshotSource. The purpose is to: 1) Verify that the transit model is updated correctly given different siri ET messages. 2) Make it easier to refactor the realtime behaviour without breaking functionality. 3) Document existing behaviour.
Currently the tests are on a pretty high level and basically generate Siri ET messages, apply them using SiriTimetableSnapshotSource and then verify the changes to the realtime parts of the transit model.
There are also two minor bugfixes:
Comparison of feedId in timetable.(moved this to a separate PR)EntityResolver.resolveServiceDate()
when the list of calls is empty.