use of org.onebusaway.gtfs_transformer.factory.EntityRetentionGraph in project onebusaway-gtfs-modules by OneBusAway.
the class EntityRetentionGraphTest method setup.
@Before
public void setup() throws IOException {
_dao = new GtfsRelationalDaoImpl();
_graph = new EntityRetentionGraph(_dao);
GtfsReader reader = new GtfsReader();
File path = new File(getClass().getResource("/org/onebusaway/gtfs_transformer/testagency").getPath());
reader.setInputLocation(path);
reader.setEntityStore(_dao);
reader.run();
}
Aggregations