diff --git a/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleFile.java b/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleFile.java index f4f442ed..13e16130 100644 --- a/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleFile.java +++ b/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleFile.java @@ -8,7 +8,7 @@ */ @RequiredArgsConstructor @Getter -public enum GtfsScheduleFile { +enum GtfsScheduleFile { // FEED_INFO("feed_info.txt", Presence.OPTIONAL), // ATTRIBUTIONS("attributions.txt", Presence.OPTIONAL), AGENCY("agency.txt", Presence.REQUIRED), diff --git a/src/test/java/ch/naviqore/Benchmark.java b/src/test/java/ch/naviqore/Benchmark.java index 585e3ed9..1c0d5add 100644 --- a/src/test/java/ch/naviqore/Benchmark.java +++ b/src/test/java/ch/naviqore/Benchmark.java @@ -45,7 +45,6 @@ public static void main(String[] args) throws IOException, InterruptedException RouteRequest[] requests = sampleRouteRequests(stopIds); RoutingResult[] results = processRequests(raptor, requests); writeResultsToCsv(results); - } private static GtfsSchedule initializeSchedule() throws IOException, InterruptedException { diff --git a/src/test/java/ch/naviqore/gtfs/schedule/GtfsScheduleReaderIT.java b/src/test/java/ch/naviqore/gtfs/schedule/GtfsScheduleReaderIT.java index 59d03da2..e0d92641 100644 --- a/src/test/java/ch/naviqore/gtfs/schedule/GtfsScheduleReaderIT.java +++ b/src/test/java/ch/naviqore/gtfs/schedule/GtfsScheduleReaderIT.java @@ -28,14 +28,14 @@ void setUp() { } @Test - void readFromZipFile(@TempDir Path tempDir) throws IOException { + void shouldReadFromZipFile(@TempDir Path tempDir) throws IOException { File zipFile = GtfsScheduleTestData.prepareZipDataset(tempDir); GtfsSchedule schedule = gtfsScheduleReader.read(zipFile.getAbsolutePath()); assertScheduleSizes(schedule); } @Test - void readFromDirectory(@TempDir Path tempDir) throws IOException { + void shouldReadFromDirectory(@TempDir Path tempDir) throws IOException { File unzippedDir = GtfsScheduleTestData.prepareUnzippedDataset(tempDir); GtfsSchedule schedule = gtfsScheduleReader.read(unzippedDir.getAbsolutePath()); assertScheduleSizes(schedule);