Documentation ¶
Overview ¶
Package dbtesting is a testing util package for running unit tests against a running database.
Index ¶
- type Feed
- type Querier
- type Route
- type StopTime
- type System
- func (s *System) NewAgency(id string) db.Agency
- func (s *System) NewFeed(id string) Feed
- func (s *System) NewRoute(id string) Route
- func (s *System) NewScheduledService(id string, params ...db.InsertScheduledServiceParams) db.ScheduledService
- func (s *System) NewScheduledTrip(id string, serviceID string, routeID string, ...) db.ScheduledTrip
- func (s *System) NewStop(id string, params ...db.InsertStopParams) db.Stop
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct { Data *db.System DefaultFeed *Feed DefaultAgency *db.Agency // contains filtered or unexported fields }
func (*System) NewScheduledService ¶ added in v0.6.1
func (s *System) NewScheduledService(id string, params ...db.InsertScheduledServiceParams) db.ScheduledService
func (*System) NewScheduledTrip ¶ added in v0.6.1
func (s *System) NewScheduledTrip(id string, serviceID string, routeID string, params ...db.InsertScheduledTripParams) db.ScheduledTrip
Click to show internal directories.
Click to hide internal directories.