Documentation ¶
Overview ¶
Package mock_note is a generated GoMock package.
Index ¶
- type MockCommandExecutor
- type MockCommandExecutorMockRecorder
- type MockDisplay
- type MockDisplayMockRecorder
- type MockEditor
- type MockEditorMockRecorder
- type MockInventory
- func (m *MockInventory) All() ([]int16, []string, []string, error)
- func (m *MockInventory) Delete(id int16) error
- func (m *MockInventory) EXPECT() *MockInventoryMockRecorder
- func (m *MockInventory) Get(id int16) (string, string, error)
- func (m *MockInventory) LastId() (int16, error)
- func (m *MockInventory) Track(id int16, title, category string) error
- type MockInventoryMockRecorder
- func (mr *MockInventoryMockRecorder) All() *gomock.Call
- func (mr *MockInventoryMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockInventoryMockRecorder) Get(id interface{}) *gomock.Call
- func (mr *MockInventoryMockRecorder) LastId() *gomock.Call
- func (mr *MockInventoryMockRecorder) Track(id, title, category interface{}) *gomock.Call
- type MockRepository
- type MockRepositoryMockRecorder
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 ¶
func (m *MockCommandExecutor) EXPECT() *MockCommandExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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
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 ¶
func (m *MockInventory) EXPECT() *MockInventoryMockRecorder
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
type MockInventoryMockRecorder ¶
type MockInventoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryMockRecorder is the mock recorder for MockInventory
func (*MockInventoryMockRecorder) All ¶
func (mr *MockInventoryMockRecorder) All() *gomock.Call
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 ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
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