-
Notifications
You must be signed in to change notification settings - Fork 28
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
[feature] NeTEx IDFM - Use VehicleJourneyStopAssignment for TN vehiclejourneys #600
[feature] NeTEx IDFM - Use VehicleJourneyStopAssignment for TN vehiclejourneys #600
Conversation
7740cbd
to
33bfa93
Compare
src/netex_idf/offers.rs
Outdated
let stop_place_ref_opt: Option<String> = psa_element | ||
.only_child("StopPlaceRef") | ||
.and_then(|stop_place_ref_el| stop_place_ref_el.attribute("ref")); |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
9c272fd
to
c19cefd
Compare
5995770
to
8421053
Compare
src/netex_idf/offers.rs
Outdated
use super::*; | ||
use pretty_assertions::assert_eq; | ||
|
||
fn stop_points() -> (CollectionWithId<StopPoint>, CollectionWithId<StopPoint>) { |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
src/netex_idf/offers.rs
Outdated
@@ -432,19 +447,103 @@ where | |||
.collect() | |||
} | |||
|
|||
fn parse_passenger_stop_assignment<'a, I>(psa_elements: I) -> HashMap<String, String> | |||
pub fn get_or_create_stop_point( |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
f730ad9
to
9eb5dad
Compare
src/netex_idf/offers.rs
Outdated
expected_hashmap.insert(String::from("sspr"), String::from("sp1")); | ||
assert_eq!(expected_hashmap, passenger_stop_assignment); |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
9eb5dad
to
fa40e05
Compare
Pull request has been modified.
No description provided.