mocks

package
v3.0.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBot

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

Mock of Bot interface

func NewMockBot

func NewMockBot(ctrl *gomock.Controller) *MockBot

func (*MockBot) EXPECT

func (_m *MockBot) EXPECT() *_MockBotRecorder

func (*MockBot) Excuse

func (_m *MockBot) Excuse(_param0 interfaces.Message, _param1 error)

func (*MockBot) GetConfig

func (_m *MockBot) GetConfig() *confer.Config

func (*MockBot) GetGonduit

func (_m *MockBot) GetGonduit() (*gonduit.Conn, error)

func (*MockBot) GetHandlers

func (_m *MockBot) GetHandlers() []interfaces.HandlerTuple

func (*MockBot) GetIMHandlers

func (_m *MockBot) GetIMHandlers() []interfaces.HandlerTuple

func (*MockBot) GetModules

func (_m *MockBot) GetModules() []interfaces.Module

func (*MockBot) GetUsageHandler

func (_m *MockBot) GetUsageHandler() interfaces.Handler

func (*MockBot) GetUsername

func (_m *MockBot) GetUsername(_param0 string) (string, error)

func (*MockBot) Post

func (_m *MockBot) Post(_param0 string, _param1 string, _param2 messages.Icon, _param3 bool)

func (*MockBot) PostImage

func (_m *MockBot) PostImage(_param0 string, _param1 string, _param2 string, _param3 messages.Icon, _param4 bool)

func (*MockBot) PostOnFeed

func (_m *MockBot) PostOnFeed(_param0 string) error

func (*MockBot) StartTyping

func (_m *MockBot) StartTyping(_param0 string)

type MockHandlerTuple

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

Mock of HandlerTuple interface

func NewMockHandlerTuple

func NewMockHandlerTuple(ctrl *gomock.Controller) *MockHandlerTuple

func (*MockHandlerTuple) EXPECT

func (_m *MockHandlerTuple) EXPECT() *_MockHandlerTupleRecorder

func (*MockHandlerTuple) GetHandler

func (_m *MockHandlerTuple) GetHandler() interfaces.Handler

func (*MockHandlerTuple) GetPattern

func (_m *MockHandlerTuple) GetPattern() *regexp.Regexp

type MockMessage

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

Mock of Message interface

func NewMockMessage

func NewMockMessage(ctrl *gomock.Controller) *MockMessage

func (*MockMessage) EXPECT

func (_m *MockMessage) EXPECT() *_MockMessageRecorder

func (*MockMessage) GetChannel

func (_m *MockMessage) GetChannel() string

func (*MockMessage) GetContent

func (_m *MockMessage) GetContent() string

func (*MockMessage) GetProviderName

func (_m *MockMessage) GetProviderName() string

func (*MockMessage) GetUserID

func (_m *MockMessage) GetUserID() string

func (*MockMessage) IsIM

func (_m *MockMessage) IsIM() bool

func (*MockMessage) IsSelf

func (_m *MockMessage) IsSelf() bool

type MockModule

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

Mock of Module interface

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

func (*MockModule) EXPECT

func (_m *MockModule) EXPECT() *_MockModuleRecorder

func (*MockModule) GetCommands

func (_m *MockModule) GetCommands() []interfaces.Command

func (*MockModule) GetName

func (_m *MockModule) GetName() string

Jump to

Keyboard shortcuts

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