mock_note

package
v0.0.0-...-5213859 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_note is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommandExecutor

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

MockCommandExecutor is a mock of CommandExecutor interface

func NewMockCommandExecutor

func NewMockCommandExecutor(ctrl *gomock.Controller) *MockCommandExecutor

NewMockCommandExecutor creates a new mock instance

func (*MockCommandExecutor) EXPECT

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

func (*MockCommandExecutor) Execute

func (m *MockCommandExecutor) Execute(cmd *models.Command) error

Execute mocks base method

type MockCommandExecutorMockRecorder

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

MockCommandExecutorMockRecorder is the mock recorder for MockCommandExecutor

func (*MockCommandExecutorMockRecorder) Execute

func (mr *MockCommandExecutorMockRecorder) Execute(cmd interface{}) *gomock.Call

Execute indicates an expected call of Execute

type MockDisplay

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

MockDisplay is a mock of Display interface

func NewMockDisplay

func NewMockDisplay(ctrl *gomock.Controller) *MockDisplay

NewMockDisplay creates a new mock instance

func (*MockDisplay) EXPECT

func (m *MockDisplay) EXPECT() *MockDisplayMockRecorder

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

func (*MockDisplay) Render

func (m *MockDisplay) Render(id int16, message string) error

Render mocks base method

type MockDisplayMockRecorder

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

MockDisplayMockRecorder is the mock recorder for MockDisplay

func (*MockDisplayMockRecorder) Render

func (mr *MockDisplayMockRecorder) Render(id, message interface{}) *gomock.Call

Render indicates an expected call of Render

type MockEditor

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

MockEditor is a mock of Editor interface

func NewMockEditor

func NewMockEditor(ctrl *gomock.Controller) *MockEditor

NewMockEditor creates a new mock instance

func (*MockEditor) EXPECT

func (m *MockEditor) EXPECT() *MockEditorMockRecorder

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

func (*MockEditor) Edit

func (m *MockEditor) Edit(id int16, title, category string) error

Edit mocks base method

type MockEditorMockRecorder

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

MockEditorMockRecorder is the mock recorder for MockEditor

func (*MockEditorMockRecorder) Edit

func (mr *MockEditorMockRecorder) Edit(id, title, category interface{}) *gomock.Call

Edit indicates an expected call of Edit

type MockInventory

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

MockInventory is a mock of Inventory interface

func NewMockInventory

func NewMockInventory(ctrl *gomock.Controller) *MockInventory

NewMockInventory creates a new mock instance

func (*MockInventory) All

func (m *MockInventory) All() ([]int16, []string, []string, error)

All mocks base method

func (*MockInventory) Delete

func (m *MockInventory) Delete(id int16) error

Delete mocks base method

func (*MockInventory) EXPECT

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

func (*MockInventory) Get

func (m *MockInventory) Get(id int16) (string, string, error)

Get mocks base method

func (*MockInventory) LastId

func (m *MockInventory) LastId() (int16, error)

LastId mocks base method

func (*MockInventory) Track

func (m *MockInventory) Track(id int16, title, category string) error

Track mocks base method

type MockInventoryMockRecorder

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

MockInventoryMockRecorder is the mock recorder for MockInventory

func (*MockInventoryMockRecorder) All

All indicates an expected call of All

func (*MockInventoryMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockInventoryMockRecorder) Get

func (mr *MockInventoryMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockInventoryMockRecorder) LastId

func (mr *MockInventoryMockRecorder) LastId() *gomock.Call

LastId indicates an expected call of LastId

func (*MockInventoryMockRecorder) Track

func (mr *MockInventoryMockRecorder) Track(id, title, category interface{}) *gomock.Call

Track indicates an expected call of Track

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) Create

func (m *MockRepository) Create(id int16, title, category string, tags []string) error

Create mocks base method

func (*MockRepository) Delete

func (m *MockRepository) Delete(id int16, title, category string) error

Delete mocks base method

func (*MockRepository) EXPECT

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

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(id, title, category, tags interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(id, title, category interface{}) *gomock.Call

Delete indicates an expected call of Delete

Jump to

Keyboard shortcuts

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