mock

package
v0.0.0-...-c33e8bb Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIComic

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

MockIComic is a mock of IComic interface

func NewMockIComic

func NewMockIComic(ctrl *gomock.Controller) *MockIComic

NewMockIComic creates a new mock instance

func (*MockIComic) CreateIndex

func (m *MockIComic) CreateIndex(arg0 context.Context) error

CreateIndex mocks base method

func (*MockIComic) EXPECT

func (m *MockIComic) EXPECT() *MockIComicMockRecorder

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

func (*MockIComic) Find

func (m *MockIComic) Find(name string) (model.Comic, error)

Find mocks base method

func (*MockIComic) FindAll

func (m *MockIComic) FindAll(ctx context.Context, name string, first, offset int) ([]model.Comic, error)

FindAll mocks base method

func (*MockIComic) FindByID

func (m *MockIComic) FindByID(id primitive.ObjectID) (model.Comic, error)

FindByID mocks base method

func (*MockIComic) FindByName

func (m *MockIComic) FindByName(arg0 context.Context, arg1 string) (model.Comic, error)

FindByName mocks base method

func (*MockIComic) Insert

func (m *MockIComic) Insert(arg0 *model.Comic) error

Insert mocks base method

type MockIComicMockRecorder

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

MockIComicMockRecorder is the mock recorder for MockIComic

func (*MockIComicMockRecorder) CreateIndex

func (mr *MockIComicMockRecorder) CreateIndex(arg0 interface{}) *gomock.Call

CreateIndex indicates an expected call of CreateIndex

func (*MockIComicMockRecorder) Find

func (mr *MockIComicMockRecorder) Find(name interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockIComicMockRecorder) FindAll

func (mr *MockIComicMockRecorder) FindAll(ctx, name, first, offset interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockIComicMockRecorder) FindByID

func (mr *MockIComicMockRecorder) FindByID(id interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockIComicMockRecorder) FindByName

func (mr *MockIComicMockRecorder) FindByName(arg0, arg1 interface{}) *gomock.Call

FindByName indicates an expected call of FindByName

func (*MockIComicMockRecorder) Insert

func (mr *MockIComicMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert

type MockIEpisode

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

MockIEpisode is a mock of IEpisode interface

func NewMockIEpisode

func NewMockIEpisode(ctrl *gomock.Controller) *MockIEpisode

NewMockIEpisode creates a new mock instance

func (*MockIEpisode) CreateIndex

func (m *MockIEpisode) CreateIndex(arg0 context.Context) error

CreateIndex mocks base method

func (*MockIEpisode) EXPECT

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

func (*MockIEpisode) FindAll

func (m *MockIEpisode) FindAll(ctx context.Context, comicID primitive.ObjectID, first, offset int) ([]model.Episode, error)

FindAll mocks base method

func (*MockIEpisode) FindByNo

func (m *MockIEpisode) FindByNo(comicID primitive.ObjectID, no int) (*model.Episode, error)

FindByNo mocks base method

func (*MockIEpisode) Insert

func (m *MockIEpisode) Insert(arg0 *model.Episode) error

Insert mocks base method

type MockIEpisodeMockRecorder

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

MockIEpisodeMockRecorder is the mock recorder for MockIEpisode

func (*MockIEpisodeMockRecorder) CreateIndex

func (mr *MockIEpisodeMockRecorder) CreateIndex(arg0 interface{}) *gomock.Call

CreateIndex indicates an expected call of CreateIndex

func (*MockIEpisodeMockRecorder) FindAll

func (mr *MockIEpisodeMockRecorder) FindAll(ctx, comicID, first, offset interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockIEpisodeMockRecorder) FindByNo

func (mr *MockIEpisodeMockRecorder) FindByNo(comicID, no interface{}) *gomock.Call

FindByNo indicates an expected call of FindByNo

func (*MockIEpisodeMockRecorder) Insert

func (mr *MockIEpisodeMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert

type MockIPage

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

MockIPage is a mock of IPage interface

func NewMockIPage

func NewMockIPage(ctrl *gomock.Controller) *MockIPage

NewMockIPage creates a new mock instance

func (*MockIPage) CreateIndex

func (m *MockIPage) CreateIndex(arg0 context.Context) error

CreateIndex mocks base method

func (*MockIPage) EXPECT

func (m *MockIPage) EXPECT() *MockIPageMockRecorder

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

func (*MockIPage) FindByEpisode

func (m *MockIPage) FindByEpisode(ctx context.Context, episodeID primitive.ObjectID, first, offset int) ([]model.Page, error)

FindByEpisode mocks base method

func (*MockIPage) FindByEpisodeSource

func (m *MockIPage) FindByEpisodeSource(episodeID, sourceID primitive.ObjectID) (model.Page, error)

FindByEpisodeSource mocks base method

func (*MockIPage) Insert

func (m *MockIPage) Insert(arg0 *model.Page) error

Insert mocks base method

type MockIPageMockRecorder

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

MockIPageMockRecorder is the mock recorder for MockIPage

func (*MockIPageMockRecorder) CreateIndex

func (mr *MockIPageMockRecorder) CreateIndex(arg0 interface{}) *gomock.Call

CreateIndex indicates an expected call of CreateIndex

func (*MockIPageMockRecorder) FindByEpisode

func (mr *MockIPageMockRecorder) FindByEpisode(ctx, episodeID, first, offset interface{}) *gomock.Call

FindByEpisode indicates an expected call of FindByEpisode

func (*MockIPageMockRecorder) FindByEpisodeSource

func (mr *MockIPageMockRecorder) FindByEpisodeSource(episodeID, sourceID interface{}) *gomock.Call

FindByEpisodeSource indicates an expected call of FindByEpisodeSource

func (*MockIPageMockRecorder) Insert

func (mr *MockIPageMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert

Jump to

Keyboard shortcuts

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