From 334a52c15e63e0da7719060902d9dfa0f6d9ea91 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:01:32 -0500 Subject: [PATCH] refactor(MobilityProfileRoutingTest): Migrate types. --- .../MobilityProfileRoutingTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/application/src/ext-test/java/org/opentripplanner/ext/mobilityprofile/MobilityProfileRoutingTest.java b/application/src/ext-test/java/org/opentripplanner/ext/mobilityprofile/MobilityProfileRoutingTest.java index c21811ce049..e749352e5cd 100644 --- a/application/src/ext-test/java/org/opentripplanner/ext/mobilityprofile/MobilityProfileRoutingTest.java +++ b/application/src/ext-test/java/org/opentripplanner/ext/mobilityprofile/MobilityProfileRoutingTest.java @@ -7,7 +7,7 @@ import java.util.EnumMap; import java.util.Map; import org.junit.jupiter.api.Test; -import org.opentripplanner.openstreetmap.model.OSMWay; +import org.opentripplanner.osm.model.OsmWay; import org.opentripplanner.street.model.StreetTraversalPermission; import org.opentripplanner.street.model.edge.StreetEdge; import org.opentripplanner.street.model.edge.StreetEdgeBuilder; @@ -33,21 +33,21 @@ void canDetectHighwayFootwayTag() { assertFalse(createServiceWay().isFootway()); } - private static OSMWay createServiceWay() { - OSMWay serviceWay = new OSMWay(); + private static OsmWay createServiceWay() { + OsmWay serviceWay = new OsmWay(); serviceWay.addTag("highway", "service"); return serviceWay; } - private static OSMWay createFootway() { - OSMWay footway = new OSMWay(); + private static OsmWay createFootway() { + OsmWay footway = new OsmWay(); footway.addTag("highway", "footway"); return footway; } @Test void canRemoveWalkPermissionOnNonFootway() { - OSMWay serviceWay = createServiceWay(); + OsmWay serviceWay = createServiceWay(); StreetTraversalPermission permissions = StreetTraversalPermission.ALL; assertEquals( StreetTraversalPermission.BICYCLE_AND_CAR, @@ -57,7 +57,7 @@ void canRemoveWalkPermissionOnNonFootway() { @Test void canPreserveWalkPermissionOnFootway() { - OSMWay footway = createFootway(); + OsmWay footway = createFootway(); StreetTraversalPermission permissions = StreetTraversalPermission.ALL; assertEquals( StreetTraversalPermission.ALL,