mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) Configure

func (m *MockAPI) Configure(message types.ClientMessage) error

Configure mocks base method

func (*MockAPI) Data

func (m *MockAPI) Data() interface{}

Data mocks base method

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPI) GetName

func (m *MockAPI) GetName() string

GetName mocks base method

func (*MockAPI) Run

func (m *MockAPI) Run(w types.Socket)

Run mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) Configure

func (mr *MockAPIMockRecorder) Configure(message interface{}) *gomock.Call

Configure indicates an expected call of Configure

func (*MockAPIMockRecorder) Data

func (mr *MockAPIMockRecorder) Data() *gomock.Call

Data indicates an expected call of Data

func (*MockAPIMockRecorder) GetName

func (mr *MockAPIMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockAPIMockRecorder) Run

func (mr *MockAPIMockRecorder) Run(w interface{}) *gomock.Call

Run indicates an expected call of Run

type MockDataObject

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

MockDataObject is a mock of DataObject interface

func NewMockDataObject

func NewMockDataObject(ctrl *gomock.Controller) *MockDataObject

NewMockDataObject creates a new mock instance

func (*MockDataObject) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDataObject) Transform

func (m *MockDataObject) Transform() interface{}

Transform mocks base method

func (*MockDataObject) Update

func (m *MockDataObject) Update(arg0 interface{}) error

Update mocks base method

type MockDataObjectMockRecorder

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

MockDataObjectMockRecorder is the mock recorder for MockDataObject

func (*MockDataObjectMockRecorder) Transform

func (mr *MockDataObjectMockRecorder) Transform() *gomock.Call

Transform indicates an expected call of Transform

func (*MockDataObjectMockRecorder) Update

func (mr *MockDataObjectMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPool

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

MockPool is a mock of Pool interface

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPool) Register

func (m *MockPool) Register(arg0 types.API)

Register mocks base method

func (*MockPool) Save

func (m *MockPool) Save()

Save mocks base method

func (*MockPool) Start

func (m *MockPool) Start()

Start mocks base method

func (*MockPool) Unregister

func (m *MockPool) Unregister(arg0 types.API)

Unregister mocks base method

type MockPoolMockRecorder

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

MockPoolMockRecorder is the mock recorder for MockPool

func (*MockPoolMockRecorder) Register

func (mr *MockPoolMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockPoolMockRecorder) Save

func (mr *MockPoolMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save

func (*MockPoolMockRecorder) Start

func (mr *MockPoolMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockPoolMockRecorder) Unregister

func (mr *MockPoolMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister

type MockSocket

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

MockSocket is a mock of Socket interface

func NewMockSocket

func NewMockSocket(ctrl *gomock.Controller) *MockSocket

NewMockSocket creates a new mock instance

func (*MockSocket) Close

func (m *MockSocket) Close() chan bool

Close mocks base method

func (*MockSocket) EXPECT

func (m *MockSocket) EXPECT() *MockSocketMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSocket) Read

func (m *MockSocket) Read()

Read mocks base method

func (*MockSocket) Send

func (m *MockSocket) Send(arg0 interface{})

Send mocks base method

func (*MockSocket) SendErrorMessage

func (m *MockSocket) SendErrorMessage(arg0 string)

SendErrorMessage mocks base method

type MockSocketMockRecorder

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

MockSocketMockRecorder is the mock recorder for MockSocket

func (*MockSocketMockRecorder) Close

func (mr *MockSocketMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockSocketMockRecorder) Read

func (mr *MockSocketMockRecorder) Read() *gomock.Call

Read indicates an expected call of Read

func (*MockSocketMockRecorder) Send

func (mr *MockSocketMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockSocketMockRecorder) SendErrorMessage

func (mr *MockSocketMockRecorder) SendErrorMessage(arg0 interface{}) *gomock.Call

SendErrorMessage indicates an expected call of SendErrorMessage

Jump to

Keyboard shortcuts

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