Search in sources :

Example 16 with GtfsReader

use of org.onebusaway.gtfs.serialization.GtfsReader in project onebusaway-gtfs-modules by OneBusAway.

the class DeferredValueSupportTest method before.

@Before
public void before() {
    _reader = new GtfsReader();
    _reader.setDefaultAgencyId("a0");
    _schemaCache = new EntitySchemaCache();
    _support = new DeferredValueSupport(_reader, _schemaCache);
}
Also used : GtfsReader(org.onebusaway.gtfs.serialization.GtfsReader) Before(org.junit.Before)

Aggregations

GtfsReader (org.onebusaway.gtfs.serialization.GtfsReader)16 File (java.io.File)10 Configuration (org.hibernate.cfg.Configuration)5 GtfsRelationalDaoImpl (org.onebusaway.gtfs.impl.GtfsRelationalDaoImpl)5 AgencyAndId (org.onebusaway.gtfs.model.AgencyAndId)4 GtfsMutableRelationalDao (org.onebusaway.gtfs.services.GtfsMutableRelationalDao)4 ArrayList (java.util.ArrayList)3 Before (org.junit.Before)3 BeforeClass (org.junit.BeforeClass)3 Stop (org.onebusaway.gtfs.model.Stop)3 Test (org.junit.Test)2 DefaultEntitySchemaFactory (org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory)2 GtfsWriter (org.onebusaway.gtfs.serialization.GtfsWriter)2 GtfsWriterTest (org.onebusaway.gtfs.serialization.GtfsWriterTest)2 HibernateGtfsFactory (org.onebusaway.gtfs.services.HibernateGtfsFactory)2 MockGtfs (org.onebusaway.gtfs.services.MockGtfs)2 IOException (java.io.IOException)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1 CommandLine (org.apache.commons.cli.CommandLine)1