Search in sources :

Example 1 with ExtendedCalendarServiceImpl

use of org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl in project onebusaway-application-modules by camsys.

the class BlockCalendarServiceImplTest method before.

@Before
public void before() {
    _service = new BlockCalendarServiceImpl();
    _calendarData = new CalendarServiceData();
    _calendarService = new CalendarServiceImpl();
    _calendarService.setData(_calendarData);
    _extendedCalendarService = new ExtendedCalendarServiceImpl();
    _extendedCalendarService.setCalendarService(_calendarService);
    _service.setCalendarService(_extendedCalendarService);
}
Also used : CalendarServiceData(org.onebusaway.gtfs.model.calendar.CalendarServiceData) ExtendedCalendarServiceImpl(org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl) CalendarServiceImpl(org.onebusaway.gtfs.impl.calendar.CalendarServiceImpl) ExtendedCalendarServiceImpl(org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 CalendarServiceImpl (org.onebusaway.gtfs.impl.calendar.CalendarServiceImpl)1 CalendarServiceData (org.onebusaway.gtfs.model.calendar.CalendarServiceData)1 ExtendedCalendarServiceImpl (org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl)1