mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 08:19:51 +00:00
shared code for printing autocompletes
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@907 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
b0ffef2a58
commit
d739a14199
66 changed files with 110 additions and 619 deletions
|
@ -17,6 +17,9 @@
|
|||
|
||||
package de.schildbach.pte.live;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.dto.QueryDeparturesResult;
|
||||
import de.schildbach.pte.dto.QueryDeparturesResult.Status;
|
||||
|
||||
|
@ -33,4 +36,12 @@ public abstract class AbstractProviderLiveTest
|
|||
// for (final Departure departures : stationDepartures.departures)
|
||||
// System.out.println(departures.line);
|
||||
}
|
||||
|
||||
protected final void print(final List<Location> autocompletes)
|
||||
{
|
||||
System.out.print(autocompletes.size() + " ");
|
||||
for (final Location autocomplete : autocompletes)
|
||||
System.out.print(autocomplete.toDebugString() + " ");
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue