mock

package
v0.0.0-...-e337c9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScheduleStorage

type MockScheduleStorage struct {
	// contains filtered or unexported fields
}

Mock of ScheduleStorage interface

func NewMockScheduleStorage

func NewMockScheduleStorage(ctrl *gomock.Controller) *MockScheduleStorage

func (*MockScheduleStorage) AddEvent

func (_m *MockScheduleStorage) AddEvent(_param0 konfurbot.Event)

func (*MockScheduleStorage) EXPECT

func (_m *MockScheduleStorage) EXPECT() *_MockScheduleStorageRecorder

func (*MockScheduleStorage) GetCurrentEventsByType

func (_m *MockScheduleStorage) GetCurrentEventsByType(_param0 string, _param1 time.Time) []konfurbot.Event

func (*MockScheduleStorage) GetDayEventsByType

func (_m *MockScheduleStorage) GetDayEventsByType(_param0 string) []konfurbot.Event

func (*MockScheduleStorage) GetEventsByType

func (_m *MockScheduleStorage) GetEventsByType(_param0 string) []konfurbot.Event

func (*MockScheduleStorage) GetNextEventsByType

func (_m *MockScheduleStorage) GetNextEventsByType(_param0 string, _param1 time.Time, _param2 time.Duration) []konfurbot.Event

func (*MockScheduleStorage) GetNightEventsByType

func (_m *MockScheduleStorage) GetNightEventsByType(_param0 string) []konfurbot.Event

func (*MockScheduleStorage) SetNightCutoff

func (_m *MockScheduleStorage) SetNightCutoff(_param0 time.Time)

type MockTelebotInterface

type MockTelebotInterface struct {
	// contains filtered or unexported fields
}

Mock of TelebotInterface interface

func NewMockTelebotInterface

func NewMockTelebotInterface(ctrl *gomock.Controller) *MockTelebotInterface

func (*MockTelebotInterface) EXPECT

func (_m *MockTelebotInterface) EXPECT() *_MockTelebotInterfaceRecorder

func (*MockTelebotInterface) Listen

func (_m *MockTelebotInterface) Listen(_param0 chan telebot.Message, _param1 time.Duration)

func (*MockTelebotInterface) SendMessage

func (_m *MockTelebotInterface) SendMessage(_param0 telebot.Recipient, _param1 string, _param2 *telebot.SendOptions) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL