mock_ports

package
v0.0.0-...-ba62778 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ports is a generated GoMock package.

Package mock_ports is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIPort

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

MockAPIPort is a mock of APIPort interface.

func NewMockAPIPort

func NewMockAPIPort(ctrl *gomock.Controller) *MockAPIPort

NewMockAPIPort creates a new mock instance.

func (*MockAPIPort) AddItemToList

func (m *MockAPIPort) AddItemToList(id, item string) error

AddItemToList mocks base method.

func (*MockAPIPort) CreateList

func (m *MockAPIPort) CreateList(name string) error

CreateList mocks base method.

func (*MockAPIPort) EXPECT

func (m *MockAPIPort) EXPECT() *MockAPIPortMockRecorder

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

func (*MockAPIPort) GetAllItemsFromAList

func (m *MockAPIPort) GetAllItemsFromAList(id string) ([]todo.Item, error)

GetAllItemsFromAList mocks base method.

func (*MockAPIPort) GetList

func (m *MockAPIPort) GetList(id string) (*todo.List, error)

GetList mocks base method.

func (*MockAPIPort) GetLists

func (m *MockAPIPort) GetLists() ([]todo.List, error)

GetLists mocks base method.

type MockAPIPortMockRecorder

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

MockAPIPortMockRecorder is the mock recorder for MockAPIPort.

func (*MockAPIPortMockRecorder) AddItemToList

func (mr *MockAPIPortMockRecorder) AddItemToList(id, item interface{}) *gomock.Call

AddItemToList indicates an expected call of AddItemToList.

func (*MockAPIPortMockRecorder) CreateList

func (mr *MockAPIPortMockRecorder) CreateList(name interface{}) *gomock.Call

CreateList indicates an expected call of CreateList.

func (*MockAPIPortMockRecorder) GetAllItemsFromAList

func (mr *MockAPIPortMockRecorder) GetAllItemsFromAList(id interface{}) *gomock.Call

GetAllItemsFromAList indicates an expected call of GetAllItemsFromAList.

func (*MockAPIPortMockRecorder) GetList

func (mr *MockAPIPortMockRecorder) GetList(id interface{}) *gomock.Call

GetList indicates an expected call of GetList.

func (*MockAPIPortMockRecorder) GetLists

func (mr *MockAPIPortMockRecorder) GetLists() *gomock.Call

GetLists indicates an expected call of GetLists.

type MockEventHandlerPort

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

MockEventHandlerPort is a mock of EventHandlerPort interface.

func NewMockEventHandlerPort

func NewMockEventHandlerPort(ctrl *gomock.Controller) *MockEventHandlerPort

NewMockEventHandlerPort creates a new mock instance.

func (*MockEventHandlerPort) EXPECT

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

func (*MockEventHandlerPort) Notify

func (m *MockEventHandlerPort) Notify(event events.Event) error

Notify mocks base method.

func (*MockEventHandlerPort) Subscribe

func (m *MockEventHandlerPort) Subscribe(handler events.EventHandler, events ...events.Event)

Subscribe mocks base method.

type MockEventHandlerPortMockRecorder

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

MockEventHandlerPortMockRecorder is the mock recorder for MockEventHandlerPort.

func (*MockEventHandlerPortMockRecorder) Notify

func (mr *MockEventHandlerPortMockRecorder) Notify(event interface{}) *gomock.Call

Notify indicates an expected call of Notify.

func (*MockEventHandlerPortMockRecorder) Subscribe

func (mr *MockEventHandlerPortMockRecorder) Subscribe(handler interface{}, events ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

type MockStoragePort

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

MockStoragePort is a mock of StoragePort interface.

func NewMockStoragePort

func NewMockStoragePort(ctrl *gomock.Controller) *MockStoragePort

NewMockStoragePort creates a new mock instance.

func (*MockStoragePort) Add

func (m *MockStoragePort) Add(list todo.List) error

Add mocks base method.

func (*MockStoragePort) AddItem

func (m *MockStoragePort) AddItem(id string, item todo.Item) error

AddItem mocks base method.

func (*MockStoragePort) Delete

func (m *MockStoragePort) Delete(id string)

Delete mocks base method.

func (*MockStoragePort) EXPECT

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

func (*MockStoragePort) GetAll

func (m *MockStoragePort) GetAll() ([]todo.List, error)

GetAll mocks base method.

func (*MockStoragePort) GetByID

func (m *MockStoragePort) GetByID(id string) (todo.List, error)

GetByID mocks base method.

func (*MockStoragePort) ListItem

func (m *MockStoragePort) ListItem(id string) ([]todo.Item, error)

ListItem mocks base method.

func (*MockStoragePort) MarkItemDone

func (m *MockStoragePort) MarkItemDone(id, itemID string)

MarkItemDone mocks base method.

type MockStoragePortMockRecorder

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

MockStoragePortMockRecorder is the mock recorder for MockStoragePort.

func (*MockStoragePortMockRecorder) Add

func (mr *MockStoragePortMockRecorder) Add(list interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockStoragePortMockRecorder) AddItem

func (mr *MockStoragePortMockRecorder) AddItem(id, item interface{}) *gomock.Call

AddItem indicates an expected call of AddItem.

func (*MockStoragePortMockRecorder) Delete

func (mr *MockStoragePortMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoragePortMockRecorder) GetAll

func (mr *MockStoragePortMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockStoragePortMockRecorder) GetByID

func (mr *MockStoragePortMockRecorder) GetByID(id interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockStoragePortMockRecorder) ListItem

func (mr *MockStoragePortMockRecorder) ListItem(id interface{}) *gomock.Call

ListItem indicates an expected call of ListItem.

func (*MockStoragePortMockRecorder) MarkItemDone

func (mr *MockStoragePortMockRecorder) MarkItemDone(id, itemID interface{}) *gomock.Call

MarkItemDone indicates an expected call of MarkItemDone.

Jump to

Keyboard shortcuts

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