Documentation ¶
Overview ¶
Package mock_engine is a generated GoMock package.
Index ¶
- type MockEngine
- func (m *MockEngine) AcceptEvent(arg0 *engine.User, arg1 string) error
- func (m *MockEngine) AfterDisconnect(arg0 string) error
- func (m *MockEngine) AfterSuccessfullyConnect(arg0, arg1 string) error
- func (m *MockEngine) ClearSettingsPosts(arg0 string)
- func (m *MockEngine) CreateCalendar(arg0 *engine.User, arg1 *remote.Calendar) (*remote.Calendar, error)
- func (m *MockEngine) CreateEvent(arg0 *engine.User, arg1 *remote.Event, arg2 []string) (*remote.Event, error)
- func (m *MockEngine) CreateMyEventSubscription() (*store.Subscription, error)
- func (m *MockEngine) DeclineEvent(arg0 *engine.User, arg1 string) error
- func (m *MockEngine) DeleteCalendar(arg0 *engine.User, arg1 string) error
- func (m *MockEngine) DeleteMyEventSubscription() error
- func (m *MockEngine) DeleteOrphanedSubscription(arg0 *store.Subscription) error
- func (m *MockEngine) DisconnectUser(arg0 string) error
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) FindMeetingTimes(arg0 *engine.User, arg1 *remote.FindMeetingTimesParameters) (*remote.MeetingTimeSuggestionResults, error)
- func (m *MockEngine) GetActingUser() *engine.User
- func (m *MockEngine) GetCalendarViews(arg0 []*store.User) ([]*remote.ViewCalendarResponse, error)
- func (m *MockEngine) GetCalendars(arg0 *engine.User) ([]*remote.Calendar, error)
- func (m *MockEngine) GetDailySummarySettingsForUser(arg0 *engine.User) (*store.DailySummaryUserSettings, error)
- func (m *MockEngine) GetDaySummaryForUser(arg0 time.Time, arg1 *engine.User) (string, error)
- func (m *MockEngine) GetRemoteUser(arg0 string) (*remote.User, error)
- func (m *MockEngine) GetTimezone(arg0 *engine.User) (string, error)
- func (m *MockEngine) GetUserSettings(arg0 *engine.User) (*store.Settings, error)
- func (m *MockEngine) IsAuthorizedAdmin(arg0 string) (bool, error)
- func (m *MockEngine) ListRemoteSubscriptions() ([]*remote.Subscription, error)
- func (m *MockEngine) LoadMyEventSubscription() (*store.Subscription, error)
- func (m *MockEngine) PrintSettings(arg0 string)
- func (m *MockEngine) ProcessAllDailySummary(arg0 time.Time) error
- func (m *MockEngine) RenewMyEventSubscription() (*store.Subscription, error)
- func (m *MockEngine) RespondToEvent(arg0 *engine.User, arg1, arg2 string) error
- func (m *MockEngine) SetDailySummaryEnabled(arg0 *engine.User, arg1 bool) (*store.DailySummaryUserSettings, error)
- func (m *MockEngine) SetDailySummaryPostTime(arg0 *engine.User, arg1 string) (*store.DailySummaryUserSettings, error)
- func (m *MockEngine) Sync(arg0 string) (string, *engine.StatusSyncJobSummary, error)
- func (m *MockEngine) SyncAll() (string, *engine.StatusSyncJobSummary, error)
- func (m *MockEngine) TentativelyAcceptEvent(arg0 *engine.User, arg1 string) error
- func (m *MockEngine) ViewCalendar(arg0 *engine.User, arg1, arg2 time.Time) ([]*remote.Event, error)
- func (m *MockEngine) Welcome(arg0 string) error
- func (m *MockEngine) WelcomeFlowEnd(arg0 string)
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) AcceptEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) AfterDisconnect(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) AfterSuccessfullyConnect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ClearSettingsPosts(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) CreateCalendar(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) CreateEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) CreateMyEventSubscription() *gomock.Call
- func (mr *MockEngineMockRecorder) DeclineEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeleteCalendar(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeleteMyEventSubscription() *gomock.Call
- func (mr *MockEngineMockRecorder) DeleteOrphanedSubscription(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DisconnectUser(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) FindMeetingTimes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetActingUser() *gomock.Call
- func (mr *MockEngineMockRecorder) GetCalendarViews(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetCalendars(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetDailySummarySettingsForUser(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetDaySummaryForUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetRemoteUser(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetTimezone(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetUserSettings(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) IsAuthorizedAdmin(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ListRemoteSubscriptions() *gomock.Call
- func (mr *MockEngineMockRecorder) LoadMyEventSubscription() *gomock.Call
- func (mr *MockEngineMockRecorder) PrintSettings(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ProcessAllDailySummary(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) RenewMyEventSubscription() *gomock.Call
- func (mr *MockEngineMockRecorder) RespondToEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetDailySummaryEnabled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetDailySummaryPostTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Sync(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SyncAll() *gomock.Call
- func (mr *MockEngineMockRecorder) TentativelyAcceptEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ViewCalendar(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Welcome(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) WelcomeFlowEnd(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEngine ¶
type MockEngine struct {
// contains filtered or unexported fields
}
MockEngine is a mock of Engine interface.
func NewMockEngine ¶
func NewMockEngine(ctrl *gomock.Controller) *MockEngine
NewMockEngine creates a new mock instance.
func (*MockEngine) AcceptEvent ¶
func (m *MockEngine) AcceptEvent(arg0 *engine.User, arg1 string) error
AcceptEvent mocks base method.
func (*MockEngine) AfterDisconnect ¶
func (m *MockEngine) AfterDisconnect(arg0 string) error
AfterDisconnect mocks base method.
func (*MockEngine) AfterSuccessfullyConnect ¶
func (m *MockEngine) AfterSuccessfullyConnect(arg0, arg1 string) error
AfterSuccessfullyConnect mocks base method.
func (*MockEngine) ClearSettingsPosts ¶
func (m *MockEngine) ClearSettingsPosts(arg0 string)
ClearSettingsPosts mocks base method.
func (*MockEngine) CreateCalendar ¶
func (m *MockEngine) CreateCalendar(arg0 *engine.User, arg1 *remote.Calendar) (*remote.Calendar, error)
CreateCalendar mocks base method.
func (*MockEngine) CreateEvent ¶
func (m *MockEngine) CreateEvent(arg0 *engine.User, arg1 *remote.Event, arg2 []string) (*remote.Event, error)
CreateEvent mocks base method.
func (*MockEngine) CreateMyEventSubscription ¶
func (m *MockEngine) CreateMyEventSubscription() (*store.Subscription, error)
CreateMyEventSubscription mocks base method.
func (*MockEngine) DeclineEvent ¶
func (m *MockEngine) DeclineEvent(arg0 *engine.User, arg1 string) error
DeclineEvent mocks base method.
func (*MockEngine) DeleteCalendar ¶
func (m *MockEngine) DeleteCalendar(arg0 *engine.User, arg1 string) error
DeleteCalendar mocks base method.
func (*MockEngine) DeleteMyEventSubscription ¶
func (m *MockEngine) DeleteMyEventSubscription() error
DeleteMyEventSubscription mocks base method.
func (*MockEngine) DeleteOrphanedSubscription ¶
func (m *MockEngine) DeleteOrphanedSubscription(arg0 *store.Subscription) error
DeleteOrphanedSubscription mocks base method.
func (*MockEngine) DisconnectUser ¶
func (m *MockEngine) DisconnectUser(arg0 string) error
DisconnectUser mocks base method.
func (*MockEngine) EXPECT ¶
func (m *MockEngine) EXPECT() *MockEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEngine) FindMeetingTimes ¶
func (m *MockEngine) FindMeetingTimes(arg0 *engine.User, arg1 *remote.FindMeetingTimesParameters) (*remote.MeetingTimeSuggestionResults, error)
FindMeetingTimes mocks base method.
func (*MockEngine) GetActingUser ¶
func (m *MockEngine) GetActingUser() *engine.User
GetActingUser mocks base method.
func (*MockEngine) GetCalendarViews ¶
func (m *MockEngine) GetCalendarViews(arg0 []*store.User) ([]*remote.ViewCalendarResponse, error)
GetCalendarViews mocks base method.
func (*MockEngine) GetCalendars ¶
GetCalendars mocks base method.
func (*MockEngine) GetDailySummarySettingsForUser ¶
func (m *MockEngine) GetDailySummarySettingsForUser(arg0 *engine.User) (*store.DailySummaryUserSettings, error)
GetDailySummarySettingsForUser mocks base method.
func (*MockEngine) GetDaySummaryForUser ¶
GetDaySummaryForUser mocks base method.
func (*MockEngine) GetRemoteUser ¶
func (m *MockEngine) GetRemoteUser(arg0 string) (*remote.User, error)
GetRemoteUser mocks base method.
func (*MockEngine) GetTimezone ¶
func (m *MockEngine) GetTimezone(arg0 *engine.User) (string, error)
GetTimezone mocks base method.
func (*MockEngine) GetUserSettings ¶
GetUserSettings mocks base method.
func (*MockEngine) IsAuthorizedAdmin ¶
func (m *MockEngine) IsAuthorizedAdmin(arg0 string) (bool, error)
IsAuthorizedAdmin mocks base method.
func (*MockEngine) ListRemoteSubscriptions ¶
func (m *MockEngine) ListRemoteSubscriptions() ([]*remote.Subscription, error)
ListRemoteSubscriptions mocks base method.
func (*MockEngine) LoadMyEventSubscription ¶
func (m *MockEngine) LoadMyEventSubscription() (*store.Subscription, error)
LoadMyEventSubscription mocks base method.
func (*MockEngine) PrintSettings ¶
func (m *MockEngine) PrintSettings(arg0 string)
PrintSettings mocks base method.
func (*MockEngine) ProcessAllDailySummary ¶
func (m *MockEngine) ProcessAllDailySummary(arg0 time.Time) error
ProcessAllDailySummary mocks base method.
func (*MockEngine) RenewMyEventSubscription ¶
func (m *MockEngine) RenewMyEventSubscription() (*store.Subscription, error)
RenewMyEventSubscription mocks base method.
func (*MockEngine) RespondToEvent ¶
func (m *MockEngine) RespondToEvent(arg0 *engine.User, arg1, arg2 string) error
RespondToEvent mocks base method.
func (*MockEngine) SetDailySummaryEnabled ¶
func (m *MockEngine) SetDailySummaryEnabled(arg0 *engine.User, arg1 bool) (*store.DailySummaryUserSettings, error)
SetDailySummaryEnabled mocks base method.
func (*MockEngine) SetDailySummaryPostTime ¶
func (m *MockEngine) SetDailySummaryPostTime(arg0 *engine.User, arg1 string) (*store.DailySummaryUserSettings, error)
SetDailySummaryPostTime mocks base method.
func (*MockEngine) Sync ¶
func (m *MockEngine) Sync(arg0 string) (string, *engine.StatusSyncJobSummary, error)
Sync mocks base method.
func (*MockEngine) SyncAll ¶
func (m *MockEngine) SyncAll() (string, *engine.StatusSyncJobSummary, error)
SyncAll mocks base method.
func (*MockEngine) TentativelyAcceptEvent ¶
func (m *MockEngine) TentativelyAcceptEvent(arg0 *engine.User, arg1 string) error
TentativelyAcceptEvent mocks base method.
func (*MockEngine) ViewCalendar ¶
ViewCalendar mocks base method.
func (*MockEngine) Welcome ¶
func (m *MockEngine) Welcome(arg0 string) error
Welcome mocks base method.
func (*MockEngine) WelcomeFlowEnd ¶
func (m *MockEngine) WelcomeFlowEnd(arg0 string)
WelcomeFlowEnd mocks base method.
type MockEngineMockRecorder ¶
type MockEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEngineMockRecorder is the mock recorder for MockEngine.
func (*MockEngineMockRecorder) AcceptEvent ¶
func (mr *MockEngineMockRecorder) AcceptEvent(arg0, arg1 interface{}) *gomock.Call
AcceptEvent indicates an expected call of AcceptEvent.
func (*MockEngineMockRecorder) AfterDisconnect ¶
func (mr *MockEngineMockRecorder) AfterDisconnect(arg0 interface{}) *gomock.Call
AfterDisconnect indicates an expected call of AfterDisconnect.
func (*MockEngineMockRecorder) AfterSuccessfullyConnect ¶
func (mr *MockEngineMockRecorder) AfterSuccessfullyConnect(arg0, arg1 interface{}) *gomock.Call
AfterSuccessfullyConnect indicates an expected call of AfterSuccessfullyConnect.
func (*MockEngineMockRecorder) ClearSettingsPosts ¶
func (mr *MockEngineMockRecorder) ClearSettingsPosts(arg0 interface{}) *gomock.Call
ClearSettingsPosts indicates an expected call of ClearSettingsPosts.
func (*MockEngineMockRecorder) CreateCalendar ¶
func (mr *MockEngineMockRecorder) CreateCalendar(arg0, arg1 interface{}) *gomock.Call
CreateCalendar indicates an expected call of CreateCalendar.
func (*MockEngineMockRecorder) CreateEvent ¶
func (mr *MockEngineMockRecorder) CreateEvent(arg0, arg1, arg2 interface{}) *gomock.Call
CreateEvent indicates an expected call of CreateEvent.
func (*MockEngineMockRecorder) CreateMyEventSubscription ¶
func (mr *MockEngineMockRecorder) CreateMyEventSubscription() *gomock.Call
CreateMyEventSubscription indicates an expected call of CreateMyEventSubscription.
func (*MockEngineMockRecorder) DeclineEvent ¶
func (mr *MockEngineMockRecorder) DeclineEvent(arg0, arg1 interface{}) *gomock.Call
DeclineEvent indicates an expected call of DeclineEvent.
func (*MockEngineMockRecorder) DeleteCalendar ¶
func (mr *MockEngineMockRecorder) DeleteCalendar(arg0, arg1 interface{}) *gomock.Call
DeleteCalendar indicates an expected call of DeleteCalendar.
func (*MockEngineMockRecorder) DeleteMyEventSubscription ¶
func (mr *MockEngineMockRecorder) DeleteMyEventSubscription() *gomock.Call
DeleteMyEventSubscription indicates an expected call of DeleteMyEventSubscription.
func (*MockEngineMockRecorder) DeleteOrphanedSubscription ¶
func (mr *MockEngineMockRecorder) DeleteOrphanedSubscription(arg0 interface{}) *gomock.Call
DeleteOrphanedSubscription indicates an expected call of DeleteOrphanedSubscription.
func (*MockEngineMockRecorder) DisconnectUser ¶
func (mr *MockEngineMockRecorder) DisconnectUser(arg0 interface{}) *gomock.Call
DisconnectUser indicates an expected call of DisconnectUser.
func (*MockEngineMockRecorder) FindMeetingTimes ¶
func (mr *MockEngineMockRecorder) FindMeetingTimes(arg0, arg1 interface{}) *gomock.Call
FindMeetingTimes indicates an expected call of FindMeetingTimes.
func (*MockEngineMockRecorder) GetActingUser ¶
func (mr *MockEngineMockRecorder) GetActingUser() *gomock.Call
GetActingUser indicates an expected call of GetActingUser.
func (*MockEngineMockRecorder) GetCalendarViews ¶
func (mr *MockEngineMockRecorder) GetCalendarViews(arg0 interface{}) *gomock.Call
GetCalendarViews indicates an expected call of GetCalendarViews.
func (*MockEngineMockRecorder) GetCalendars ¶
func (mr *MockEngineMockRecorder) GetCalendars(arg0 interface{}) *gomock.Call
GetCalendars indicates an expected call of GetCalendars.
func (*MockEngineMockRecorder) GetDailySummarySettingsForUser ¶
func (mr *MockEngineMockRecorder) GetDailySummarySettingsForUser(arg0 interface{}) *gomock.Call
GetDailySummarySettingsForUser indicates an expected call of GetDailySummarySettingsForUser.
func (*MockEngineMockRecorder) GetDaySummaryForUser ¶
func (mr *MockEngineMockRecorder) GetDaySummaryForUser(arg0, arg1 interface{}) *gomock.Call
GetDaySummaryForUser indicates an expected call of GetDaySummaryForUser.
func (*MockEngineMockRecorder) GetRemoteUser ¶
func (mr *MockEngineMockRecorder) GetRemoteUser(arg0 interface{}) *gomock.Call
GetRemoteUser indicates an expected call of GetRemoteUser.
func (*MockEngineMockRecorder) GetTimezone ¶
func (mr *MockEngineMockRecorder) GetTimezone(arg0 interface{}) *gomock.Call
GetTimezone indicates an expected call of GetTimezone.
func (*MockEngineMockRecorder) GetUserSettings ¶
func (mr *MockEngineMockRecorder) GetUserSettings(arg0 interface{}) *gomock.Call
GetUserSettings indicates an expected call of GetUserSettings.
func (*MockEngineMockRecorder) IsAuthorizedAdmin ¶
func (mr *MockEngineMockRecorder) IsAuthorizedAdmin(arg0 interface{}) *gomock.Call
IsAuthorizedAdmin indicates an expected call of IsAuthorizedAdmin.
func (*MockEngineMockRecorder) ListRemoteSubscriptions ¶
func (mr *MockEngineMockRecorder) ListRemoteSubscriptions() *gomock.Call
ListRemoteSubscriptions indicates an expected call of ListRemoteSubscriptions.
func (*MockEngineMockRecorder) LoadMyEventSubscription ¶
func (mr *MockEngineMockRecorder) LoadMyEventSubscription() *gomock.Call
LoadMyEventSubscription indicates an expected call of LoadMyEventSubscription.
func (*MockEngineMockRecorder) PrintSettings ¶
func (mr *MockEngineMockRecorder) PrintSettings(arg0 interface{}) *gomock.Call
PrintSettings indicates an expected call of PrintSettings.
func (*MockEngineMockRecorder) ProcessAllDailySummary ¶
func (mr *MockEngineMockRecorder) ProcessAllDailySummary(arg0 interface{}) *gomock.Call
ProcessAllDailySummary indicates an expected call of ProcessAllDailySummary.
func (*MockEngineMockRecorder) RenewMyEventSubscription ¶
func (mr *MockEngineMockRecorder) RenewMyEventSubscription() *gomock.Call
RenewMyEventSubscription indicates an expected call of RenewMyEventSubscription.
func (*MockEngineMockRecorder) RespondToEvent ¶
func (mr *MockEngineMockRecorder) RespondToEvent(arg0, arg1, arg2 interface{}) *gomock.Call
RespondToEvent indicates an expected call of RespondToEvent.
func (*MockEngineMockRecorder) SetDailySummaryEnabled ¶
func (mr *MockEngineMockRecorder) SetDailySummaryEnabled(arg0, arg1 interface{}) *gomock.Call
SetDailySummaryEnabled indicates an expected call of SetDailySummaryEnabled.
func (*MockEngineMockRecorder) SetDailySummaryPostTime ¶
func (mr *MockEngineMockRecorder) SetDailySummaryPostTime(arg0, arg1 interface{}) *gomock.Call
SetDailySummaryPostTime indicates an expected call of SetDailySummaryPostTime.
func (*MockEngineMockRecorder) Sync ¶
func (mr *MockEngineMockRecorder) Sync(arg0 interface{}) *gomock.Call
Sync indicates an expected call of Sync.
func (*MockEngineMockRecorder) SyncAll ¶
func (mr *MockEngineMockRecorder) SyncAll() *gomock.Call
SyncAll indicates an expected call of SyncAll.
func (*MockEngineMockRecorder) TentativelyAcceptEvent ¶
func (mr *MockEngineMockRecorder) TentativelyAcceptEvent(arg0, arg1 interface{}) *gomock.Call
TentativelyAcceptEvent indicates an expected call of TentativelyAcceptEvent.
func (*MockEngineMockRecorder) ViewCalendar ¶
func (mr *MockEngineMockRecorder) ViewCalendar(arg0, arg1, arg2 interface{}) *gomock.Call
ViewCalendar indicates an expected call of ViewCalendar.
func (*MockEngineMockRecorder) Welcome ¶
func (mr *MockEngineMockRecorder) Welcome(arg0 interface{}) *gomock.Call
Welcome indicates an expected call of Welcome.
func (*MockEngineMockRecorder) WelcomeFlowEnd ¶
func (mr *MockEngineMockRecorder) WelcomeFlowEnd(arg0 interface{}) *gomock.Call
WelcomeFlowEnd indicates an expected call of WelcomeFlowEnd.