mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +00:00
rename Part to Leg, Part.Trip to Leg.Public and Part.Footway to Leg.Individual
This commit is contained in:
parent
c4939388a4
commit
fde90f7b87
5 changed files with 105 additions and 107 deletions
|
@ -28,7 +28,7 @@ import java.util.List;
|
|||
import org.junit.Test;
|
||||
|
||||
import de.schildbach.pte.SadProvider;
|
||||
import de.schildbach.pte.dto.Connection.Footway;
|
||||
import de.schildbach.pte.dto.Connection.Individual;
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.dto.LocationType;
|
||||
import de.schildbach.pte.dto.QueryConnectionsResult;
|
||||
|
@ -92,7 +92,7 @@ public class SadProviderLiveTest extends AbstractProviderLiveTest {
|
|||
|
||||
assertFalse(result.connections.isEmpty());
|
||||
|
||||
assertTrue(result.connections.get(0).parts.get(0) instanceof Footway);
|
||||
assertTrue(result.connections.get(0).legs.get(0) instanceof Individual);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue